Skip to main content

py_ez_wikidata

Mapping for Wikidata allows simplified / easy creation of wikidata entries from dicts

Join the discussion at https://github.com/WolfgangFahl/py_ez_wikidata/discussions pypi Github Actions Build PyPI Status GitHub issues GitHub closed issues API Docs License

Docs

Wiki

CLI (ezwd)

ezwd creates Wikidata items from a simple YAML/JSON record via a named property mapping. It is dry-run by default — add -w to actually write.

ezwd -s "Robert David"

Inspect a mapping

ezwd -m scholar --list-mappings

Create from a record

robert_david.yaml:

label: Robert David
description: knowledge graph researcher
instanceof: Q5
orcid: "0000-0002-3244-5341"
dblp: "173/3493-1"
linkedInId: "robert-david-39b47692"
# dry-run (nothing written)
ezwd -m scholar -r robert_david.yaml
# write to production Wikidata
ezwd -m scholar -r robert_david.yaml -w

The example above created Q140424194 (instance of human, with ORCID, DBLP and LinkedIn). Only add an identifier once you have verified it belongs to this exact person — do not bulk-copy IDs from an author record that may aggregate homonyms.

Endpoint selection

ezwd -m scholar -r robert_david.yaml --test    # target test.wikidata.org
ezwd -m scholar -r robert_david.yaml --baseurl https://www.wikidata.org

Note: test.wikidata.org uses different property / item IDs than production, so a production-PID mapping (like scholar) will not validate there without a test-specific mapping.

Metadata

Release files for py-ez-wikidata 0.4.5

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

Source distribution (sdist)

Source distribution for py-ez-wikidata 0.4.5
File Size Uploaded
py_ez_wikidata-0.4.5.tar.gz 177.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-ez-wikidata 0.4.5
File Interpreter ABI Platform
py_ez_wikidata-0.4.5-py3-none-any.whl Python 3 none any Details

Total release size: 340.0 kB

Release files / py_ez_wikidata-0.4.5.tar.gz

Download URL py_ez_wikidata-0.4.5.tar.gz
Size 177.2 kB
Tags Source
SHA-256 checksum
How to use checksums
471b703b1128bb2e7ec9f3c22155bba38f26e42a453b26958658122b979bf96f
BLAKE2b-256 checksum
How to use checksums
9fee443e85e2984772fcfad685af6ba6dc73f98d9137460dc454e2771e35a85b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / py_ez_wikidata-0.4.5-py3-none-any.whl

Download URL py_ez_wikidata-0.4.5-py3-none-any.whl
Size 162.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98c7373a24d6999a0e674172e2a10295e6fe0923c36585787b3cc9f53ef919c9
BLAKE2b-256 checksum
How to use checksums
06d18f967acfd78e2f4609b489b1fe32b82df45234aab9423b2ff2caabe775a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.5 This release

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.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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