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.5.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 py-ez-wikidata 0.5.0
File Size Uploaded
py_ez_wikidata-0.5.0.tar.gz 178.7 kB Details

Built distribution (wheel)

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

Total release size: 342.5 kB

Release files / py_ez_wikidata-0.5.0.tar.gz

Download URL py_ez_wikidata-0.5.0.tar.gz
Size 178.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8ff7df753c8aaf8e94c965de4c86a09084a46b68067d4d2dd4cbcd2dcdbf9896
BLAKE2b-256 checksum
How to use checksums
4f8ec34cabf49dddebcd159502570d301ad6bff0fb97fb23c9d3356b913a9eba
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 Oct 5, 2026.

Transparency log

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

Download URL py_ez_wikidata-0.5.0-py3-none-any.whl
Size 163.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d46fb66bf9542ad5d6b35a7eca1fc1138791034e83a3c2d664e8902445da645e
BLAKE2b-256 checksum
How to use checksums
ac7e8d9da908e8e53609cdff0a4dc614863338ac39548a942261b43dacbea172
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 Oct 5, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

This release

0.5.0 This release

2 release files

0.4.5

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