Python client for the Reconciliation Service API
Project description
Python Reconciliation Service API
This is a python implementation of the Reconciliation Service API v0.2. It is available on pypi.
It does not support all methods or utilities of the API including authentication.
Usage
Here is a basic usage example
from py_reconciliation_service_api import build_reconciliation_service
# the standard location of the wikidata implementation of this API
SERVICE_URL = "https://wikidata.reconci.link/en/api"
service = build_reconciliation_service(SERVICE_URL)
# get 6 candidates for the string "sf"
candidates = service.reconcile({"query": "sf", "limit": 6})
assert len(candidates.result) == 6
# the top result should be called San Francisco
assert candidates.result[0].name == "San Francisco"
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_reconciliation_service_api-0.2.1.tar.gz.
File metadata
- Download URL: py_reconciliation_service_api-0.2.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
590e786749567f52d6ae35edf9d3c07419f870d508eeaa18d9bbac93004e8299
|
|
| MD5 |
53808a2b6831e6a1664b28be6487402f
|
|
| BLAKE2b-256 |
733e9c417985114dc240ebbbf3c8c8ddbd8e24eba1eeba5be51f8d86f5c50ee8
|
File details
Details for the file py_reconciliation_service_api-0.2.1-py3-none-any.whl.
File metadata
- Download URL: py_reconciliation_service_api-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05df1b5840177937e0bf48d6a0bc585d78715776215360e855bc7889da7d40f3
|
|
| MD5 |
db087894d4cbbcb29d1139f120e4eb69
|
|
| BLAKE2b-256 |
32a35035b07802f6946b4961fd1f5b0dd6f5664ae4a08b69b2326039ce65587c
|