py-reconciliation-service-api


Namepy-reconciliation-service-api JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummaryPython client for the Reconciliation Service API
upload_time2024-04-13 03:58:56
maintainerNone
docs_urlNone
authorDaniel Erenrich
requires_python<4.0,>=3.8
licenseGPL-3.0-or-later
keywords reconciliation api client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Python Reconciliation Service API
=================================

This is a python implementation of the [Reconciliation Service API v0.2](https://w3c.github.io/cg-reports/reconciliation/CG-FINAL-specs-0.2-20230410/). It is [available on pypi](https://pypi.org/project/py-reconciliation-service-api/).

It does not support all methods or utilities of the API including authentication. 


![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py-reconciliation-service-api)
![PyPI - Format](https://img.shields.io/pypi/format/py-reconciliation-service-api)
[![PyPI - License](https://img.shields.io/pypi/l/py-reconciliation-service-api.svg)](https://pypi.python.org/pypi/py-reconciliation-service-api/)

Usage
-----

Here is a basic usage example

```python
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"

```
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "py-reconciliation-service-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "reconciliation, api, client",
    "author": "Daniel Erenrich",
    "author_email": "daniel@erenrich.net",
    "download_url": "https://files.pythonhosted.org/packages/73/3e/9c417985114dc240ebbbf3c8c8ddbd8e24eba1eeba5be51f8d86f5c50ee8/py_reconciliation_service_api-0.2.1.tar.gz",
    "platform": null,
    "description": "Python Reconciliation Service API\n=================================\n\nThis is a python implementation of the [Reconciliation Service API v0.2](https://w3c.github.io/cg-reports/reconciliation/CG-FINAL-specs-0.2-20230410/). It is [available on pypi](https://pypi.org/project/py-reconciliation-service-api/).\n\nIt does not support all methods or utilities of the API including authentication. \n\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py-reconciliation-service-api)\n![PyPI - Format](https://img.shields.io/pypi/format/py-reconciliation-service-api)\n[![PyPI - License](https://img.shields.io/pypi/l/py-reconciliation-service-api.svg)](https://pypi.python.org/pypi/py-reconciliation-service-api/)\n\nUsage\n-----\n\nHere is a basic usage example\n\n```python\nfrom py_reconciliation_service_api import build_reconciliation_service\n\n# the standard location of the wikidata implementation of this API\nSERVICE_URL = \"https://wikidata.reconci.link/en/api\"\nservice = build_reconciliation_service(SERVICE_URL)\n\n# get 6 candidates for the string \"sf\"\ncandidates = service.reconcile({\"query\": \"sf\", \"limit\": 6})\nassert len(candidates.result) == 6\n# the top result should be called San Francisco\nassert candidates.result[0].name == \"San Francisco\"\n\n```",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Python client for the Reconciliation Service API",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/derenrich/py-reconciliation-service-api",
        "Issues": "https://github.com/derenrich/py-reconciliation-service-api/issues",
        "Repository": "https://github.com/derenrich/py-reconciliation-service-api.git"
    },
    "split_keywords": [
        "reconciliation",
        " api",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32a35035b07802f6946b4961fd1f5b0dd6f5664ae4a08b69b2326039ce65587c",
                "md5": "db087894d4cbbcb29d1139f120e4eb69",
                "sha256": "05df1b5840177937e0bf48d6a0bc585d78715776215360e855bc7889da7d40f3"
            },
            "downloads": -1,
            "filename": "py_reconciliation_service_api-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "db087894d4cbbcb29d1139f120e4eb69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 4735,
            "upload_time": "2024-04-13T03:58:54",
            "upload_time_iso_8601": "2024-04-13T03:58:54.902337Z",
            "url": "https://files.pythonhosted.org/packages/32/a3/5035b07802f6946b4961fd1f5b0dd6f5664ae4a08b69b2326039ce65587c/py_reconciliation_service_api-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "733e9c417985114dc240ebbbf3c8c8ddbd8e24eba1eeba5be51f8d86f5c50ee8",
                "md5": "53808a2b6831e6a1664b28be6487402f",
                "sha256": "590e786749567f52d6ae35edf9d3c07419f870d508eeaa18d9bbac93004e8299"
            },
            "downloads": -1,
            "filename": "py_reconciliation_service_api-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "53808a2b6831e6a1664b28be6487402f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 3453,
            "upload_time": "2024-04-13T03:58:56",
            "upload_time_iso_8601": "2024-04-13T03:58:56.450317Z",
            "url": "https://files.pythonhosted.org/packages/73/3e/9c417985114dc240ebbbf3c8c8ddbd8e24eba1eeba5be51f8d86f5c50ee8/py_reconciliation_service_api-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-13 03:58:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "derenrich",
    "github_project": "py-reconciliation-service-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "py-reconciliation-service-api"
}
        
Elapsed time: 0.29019s