wikidata

Wikidata client library for Python

https://github.com/dahlia/wikidata

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.0%) to scientific vocabulary

Keywords

ontology python3 wikidata
Last synced: 6 months ago · JSON representation

Repository

Wikidata client library for Python

Basic Info
Statistics
  • Stars: 355
  • Watchers: 9
  • Forks: 31
  • Open Issues: 16
  • Releases: 0
Topics
ontology python3 wikidata
Created about 9 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License

README.rst

Wikidata_ client library for Python
===================================

.. image:: https://badge.fury.io/py/Wikidata.svg
   :target: https://pypi.org/project/Wikidata/
   :alt: Latest PyPI version

.. image:: https://readthedocs.org/projects/wikidata/badge/?version=latest
   :target: https://wikidata.readthedocs.io/
   :alt: Documentation Status

.. image:: https://github.com/dahlia/wikidata/actions/workflows/main.yaml/badge.svg?branch=main
   :alt: GitHub Actions
   :target: https://github.com/dahlia/wikidata/actions/workflows/main.yaml

This package provides easy APIs to use Wikidata_ for Python.

>>> from wikidata.client import Client
>>> client = Client()  # doctest: +SKIP
>>> entity = client.get('Q20145', load=True)
>>> entity

>>> entity.description
m'South Korean singer and actress'
>>> image_prop = client.get('P18')
>>> image = entity[image_prop]
>>> image

>>> image.image_resolution
(820, 1122)
>>> image.image_url
'https://upload.wikimedia.org/wikipedia/commons/6/60/KBS_%22The_Producers%22_press_conference%2C_11_May_2015_10.jpg'

.. _Wikidata: https://www.wikidata.org/

Owner

  • Name: Hong Minhee (洪 民憙)
  • Login: dahlia
  • Kind: user
  • Location: Seoul, Republic of Korea
  • Company: @fedify-dev

A software engineer from Seoul. An advocate of F/OSS, fediverse, and cypherpunk. Hack into East Asian languages.

GitHub Events

Total
  • Watch event: 17
  • Issue comment event: 7
Last Year
  • Watch event: 17
  • Issue comment event: 7

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 132
  • Total Committers: 9
  • Avg Commits per committer: 14.667
  • Development Distribution Score (DDS): 0.227
Past Year
  • Commits: 11
  • Committers: 3
  • Avg Commits per committer: 3.667
  • Development Distribution Score (DDS): 0.545
Top Committers
Name Email Commits
Hong Minhee h****e@g****m 102
Nelson Liu n****u@n****e 15
David Doukhan d****n@g****m 5
baptiste bayche b****e@i****m 3
Yorwba y****4@g****m 2
Johannes Visintini g****b@j****e 2
k----n k****n 1
Héctor Cordobés h****e@t****m 1
Adomas hi@a****s 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 36
  • Total pull requests: 18
  • Average time to close issues: 9 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 31
  • Total pull request authors: 13
  • Average comments per issue: 1.94
  • Average comments per pull request: 1.61
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 4
  • Average time to close issues: 11 days
  • Average time to close pull requests: about 23 hours
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 1.0
  • Average comments per pull request: 2.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ryan0802 (2)
  • dahlia (2)
  • az0 (2)
  • matkoniecz (2)
  • nelson-liu (2)
  • swedebugia (1)
  • Code4SAFrankie (1)
  • sumit-158 (1)
  • DaiZack (1)
  • youssefavx (1)
  • aGGre55or (1)
  • BMaxV (1)
  • GuysBarash (1)
  • mynameisguy (1)
  • tbright17 (1)
Pull Request Authors
  • nelson-liu (5)
  • DavidDoukhan (3)
  • webysther (2)
  • BaptisteBayche (2)
  • Yorwba (1)
  • dahlia (1)
  • marccarre (1)
  • Andyloris (1)
  • k----n (1)
  • cknoll (1)
  • admp (1)
  • joker234 (1)
  • hcordobest (1)
Top Labels
Issue Labels
bug (5) enhancement (4) question (3) help wanted (2)
Pull Request Labels
bug (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 22,251 last-month
  • Total docker downloads: 32
  • Total dependent packages: 5
  • Total dependent repositories: 43
  • Total versions: 17
  • Total maintainers: 1
pypi.org: wikidata

Wikidata client library

  • Versions: 17
  • Dependent Packages: 5
  • Dependent Repositories: 43
  • Downloads: 22,251 Last month
  • Docker Downloads: 32
Rankings
Dependent packages count: 1.6%
Dependent repos count: 2.2%
Stargazers count: 3.5%
Docker downloads count: 3.5%
Downloads: 3.6%
Average: 3.6%
Forks count: 7.2%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/main.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.devcontainer/Dockerfile docker
  • mcr.microsoft.com/devcontainers/base ubuntu build
setup.py pypi