Skip to main content

kgdata PyPI Documentation

KGData is a library to process dumps of Wikipedia, Wikidata. What it can do:

  • Clean up the dumps to ensure the data is consistent (resolve redirect, remove dangling references)
  • Create embedded key-value databases to access entities from the dumps.
  • Extract Wikidata ontology.
  • Extract Wikipedia tables and convert the hyperlinks to Wikidata entities.
  • Create Pyserini indices to search Wikidata’s entities.
  • and more

For a full documentation, please see the website.

Installation

From PyPI (using pre-built binaries):

pip install kgdata[spark]   # omit spark to manually specify its version if your cluster has different version

Metadata

Release files for kgdata 7.0.12

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

Source distribution (sdist)

Source distribution for kgdata 7.0.12
File Size Uploaded Provenance Actions
kgdata-7.0.12.tar.gz 112.2 kB Without provenance Details for kgdata-7.0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kgdata 7.0.12
File Interpreter ABI Platform Actions
kgdata-7.0.12-py3-none-any.whl Python 3 none any Details for kgdata-7.0.12-py3-none-any.whl

Total release size: 284.3 kB

Release files / kgdata-7.0.12.tar.gz

Download URL kgdata-7.0.12.tar.gz
Size 112.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a0a859e2510f0726b847876fa65d392b40353b0011c317e513c2c898b6b937be
BLAKE2b-256 checksum
How to use checksums
708428cd06534eea1bff1f1555145b9f057426b7bc3bbc457ab489724186ec1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / kgdata-7.0.12-py3-none-any.whl

Download URL kgdata-7.0.12-py3-none-any.whl
Size 172.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05640418a3e9fa5ff72367dfc93bf6703ea77919df840d093a5ec0f9132b3a02
BLAKE2b-256 checksum
How to use checksums
b6c29dead0170ca1f9089d4cf48d53d5ce9e3e104921d6e88fcc580979f9f74d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Security for kgdata 7.0.12

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.0.12 This release

2 release files No provenance

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