Python package to reconcile GND, GeoNames IDs via WikiData
Project description
acdh-id-reconciler
python package to reconcile GND and GeoNames IDs via WikiData.
install
pip install acdh-id-reconciler
use
from GND to WikiData and GeoNames ID
from acdh_id_reconciler import gnd_to_geonames
test = "https://d-nb.info/gnd/4010858-2"
results = gnd_to_geonames(test)
print(results)
# {'wikidata': 'http://www.wikidata.org/entity/Q261664', 'gnd': '4010858-2', 'geonames': '2781124'}
from GND to WikiData
from acdh_id_reconciler import gnd_to_wikidata
test = "https://d-nb.info/gnd/4074255-6"
results = gnd_to_wikidata(test)
print(results)
# {'wikidata': 'http://www.wikidata.org/entity/Q41329', 'gnd': '4074255-6'}
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
Built Distribution
Close
Hashes for acdh_id_reconciler-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84a131b163a4f86abe7da3fc8bb7221a251e0a4d84559fc8ee09956d43258eb |
|
MD5 | 60896486542b9b7b0fdd442bbc8e4395 |
|
BLAKE2b-256 | b37f52e0d0c8d1aa14a67a20894386bdf67d3493b41d89e7119af3075e3c48f0 |