Skip to main content
Latest PyPI version Documentation Status GitHub Actions

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
<wikidata.entity.Entity Q20145 'IU'>
>>> entity.description
m'South Korean singer and actress'
>>> image_prop = client.get('P18')
>>> image = entity[image_prop]
>>> image
<wikidata.commonsmedia.File 'File:KBS "The Producers" press conference, 11 May 2015 10.jpg'>
>>> 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'

Release files for Wikidata 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Wikidata 0.9.0
File Size Uploaded
wikidata-0.9.0.tar.gz 26.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Wikidata 0.9.0
File Interpreter ABI Platform
wikidata-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.4 kB

Release files / wikidata-0.9.0.tar.gz

Download URL wikidata-0.9.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
059e4e9574aa2a03e4327d28df8c0cc661db2826a75900cda0142bdc01b4bb7f
BLAKE2b-256 checksum
How to use checksums
c6da59fe9524010a37eafd06673f87783a7440a8cf2606ac7b214dae1ba5fa39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / wikidata-0.9.0-py3-none-any.whl

Download URL wikidata-0.9.0-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e908cecf9fab177393034ccac759fbdb79b9389b32b4f1a2cc556fac3a25895
BLAKE2b-256 checksum
How to use checksums
98f4101b2fa3b57641f52a7d83c103d5bb18899122299d456fc2d8783e351148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page