Skip to main content

Wikidata for humans

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: # Wikidata for humans

wkdfh is a Python module for humans who want to work with Wikidata.

It’s a wrapper around [pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot) that adds a couple shortcuts to ease data exploration.

Note: This is really experimental at this point.

## Example

`pycon >>> import wkdfh >>> p = wkdfh.Item("Q6756362") >>> p.label 'Marcella Hazan' >>> p.populate_attributes() >>> p.given_name.label 'Marcella' >>> p.family_name.label 'Hazan' >>> p.sex_or_gender.label 'female' >>> p.viaf_id '79375768' `

## Install

pip install wkdfh

Requirement: Python 3.

Platform: UNKNOWN Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development :: Libraries :: Python Modules

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wkdfh-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

wkdfh-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file wkdfh-0.0.1.tar.gz.

File metadata

  • Download URL: wkdfh-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.3

File hashes

Hashes for wkdfh-0.0.1.tar.gz
Algorithm Hash digest
SHA256 049a273d60c6a365bfd32c6c0b4db306355cf0bf73d7ba9b255c8525b4d54cc2
MD5 0c7ac9b3f65040600a32744598eca078
BLAKE2b-256 f9e3023e9c45e940c4cd8c20e0e38951cd3ffe85b47f538da5eb8e947876076a

See more details on using hashes here.

File details

Details for the file wkdfh-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: wkdfh-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.3

File hashes

Hashes for wkdfh-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e8f589d938b33d4178aa15482d246115df4b59249646fd3b215a9195bd86f6
MD5 a0363ce3076b1169e8acd52c62eb5880
BLAKE2b-256 a9081b2ae8b9ba177cf0dbf882ff702c238213e05aca77aa80f28a0f0b1e4c7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page