tilores-sdk


Nametilores-sdk JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryThis is the offical SDK to develop with the Tilores entity resolution database.
upload_time2024-08-31 08:47:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2024 Tilo Tech GmbH 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.
keywords entity-resolution tilores graph-rag
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tilores Python SDK

The `tilores-sdk` Python package is a small SDK to develop with the [Tilores entity resolution system](https://docs.tilotech.io/tilores/).

## What is entity resolution?

Entity resolution is the connecting of non-identitcal, related data from disparate sources to "entities".
Entities can be anything from people, to companies to financial transactions.

Tilores is a highly-scalable, “entity-resolution” technology that was originally developed to connect internal data together. The technology was developed because we found that no other technology on the market could deliver the speed, scalability or cost performance we demanded.

Common use cases of entity resolution are:

* Deduplication of records from different sources
* Matching of financial transaction records
* Data cleaning and transformation
* Frequency analysis of individual attributes
* Retrieval Augmented Generation

## Example usage

### Installation

```console
$ pip install tilores-sdk
```

### Usage

* Given you have a Tilores instance setup
* Given you have a set of Tilores instance API credentials.

    Obtain your credentials from your Tilores instance in [Manage Instance > Integration > GraphQL API](https://app.tilores.io/).

* Given you have data loaded, and a schema configured that supports searching for the fields specified in this example.

```python
import os
from tilores import TiloresAPI

# Initialize the TiloresAPI (or use `TiloresAPI.from_environ()`)
tilores = TiloresAPI(
    api_url=os.environ['TILORES_API_URL'],
    token_url=os.environ['TILORES_TOKEN_URL'],
    client_id=os.environ['TILORES_CLIENT_ID'],
    client_secret=os.environ['TILORES_CLIENT_SECRET']
)
tilores.search({'name': 'Müller, Sophia'})
```

## Features

The Tilores SDK supports the following features of the Tilores API:

* Tilores instance authentication
* Tilores database schema and introspection
* Tilores database GraphQL queries
* Tilores entity resolution search
* Tilores golden record retrieval

In addition to that, it provides various convenience helpers to integrate with the Python ecosystem:

* Create pydantic base classes from the Tilores schema


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tilores-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "entity-resolution, tilores, graph-rag",
    "author": null,
    "author_email": "Lukas Rieder <lukas@parlant.co>",
    "download_url": "https://files.pythonhosted.org/packages/dc/a5/328a383221b7a9f12d7cab48c00affb71615cfc91be824b219b2e6613ac8/tilores_sdk-0.1.0.tar.gz",
    "platform": null,
    "description": "# Tilores Python SDK\n\nThe `tilores-sdk` Python package is a small SDK to develop with the [Tilores entity resolution system](https://docs.tilotech.io/tilores/).\n\n## What is entity resolution?\n\nEntity resolution is the connecting of non-identitcal, related data from disparate sources to \"entities\".\nEntities can be anything from people, to companies to financial transactions.\n\nTilores is a highly-scalable, \u201centity-resolution\u201d technology that was originally developed to connect internal data together. The technology was developed because we found that no other technology on the market could deliver the speed, scalability or cost performance we demanded.\n\nCommon use cases of entity resolution are:\n\n* Deduplication of records from different sources\n* Matching of financial transaction records\n* Data cleaning and transformation\n* Frequency analysis of individual attributes\n* Retrieval Augmented Generation\n\n## Example usage\n\n### Installation\n\n```console\n$ pip install tilores-sdk\n```\n\n### Usage\n\n* Given you have a Tilores instance setup\n* Given you have a set of Tilores instance API credentials.\n\n    Obtain your credentials from your Tilores instance in [Manage Instance > Integration > GraphQL API](https://app.tilores.io/).\n\n* Given you have data loaded, and a schema configured that supports searching for the fields specified in this example.\n\n```python\nimport os\nfrom tilores import TiloresAPI\n\n# Initialize the TiloresAPI (or use `TiloresAPI.from_environ()`)\ntilores = TiloresAPI(\n    api_url=os.environ['TILORES_API_URL'],\n    token_url=os.environ['TILORES_TOKEN_URL'],\n    client_id=os.environ['TILORES_CLIENT_ID'],\n    client_secret=os.environ['TILORES_CLIENT_SECRET']\n)\ntilores.search({'name': 'M\u00fcller, Sophia'})\n```\n\n## Features\n\nThe Tilores SDK supports the following features of the Tilores API:\n\n* Tilores instance authentication\n* Tilores database schema and introspection\n* Tilores database GraphQL queries\n* Tilores entity resolution search\n* Tilores golden record retrieval\n\nIn addition to that, it provides various convenience helpers to integrate with the Python ecosystem:\n\n* Create pydantic base classes from the Tilores schema\n\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Tilo Tech GmbH  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.  ",
    "summary": "This is the offical SDK to develop with the Tilores entity resolution database.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/tilotech/python-tilores-sdk",
        "Issues": "https://github.com/tilotech/python-tilores-sdk/issues"
    },
    "split_keywords": [
        "entity-resolution",
        " tilores",
        " graph-rag"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57feeaadf535de8912ca8b8c2e67c224ddb396b2ed54048db417dfe93717ac88",
                "md5": "b197026e13da1ce4cc7b09acc5b04b8c",
                "sha256": "41329f905d2d97ed027a3fc3c9e196ceabeba439fb3d6cd9a2eb86e99d596936"
            },
            "downloads": -1,
            "filename": "tilores_sdk-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b197026e13da1ce4cc7b09acc5b04b8c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7982,
            "upload_time": "2024-08-31T08:47:43",
            "upload_time_iso_8601": "2024-08-31T08:47:43.346994Z",
            "url": "https://files.pythonhosted.org/packages/57/fe/eaadf535de8912ca8b8c2e67c224ddb396b2ed54048db417dfe93717ac88/tilores_sdk-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dca5328a383221b7a9f12d7cab48c00affb71615cfc91be824b219b2e6613ac8",
                "md5": "996e93354f823e0b246baac27e758324",
                "sha256": "6c0c703487995dcc83671fe95c4e8015e08decece64d2f4ada81a5f5d8b719f1"
            },
            "downloads": -1,
            "filename": "tilores_sdk-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "996e93354f823e0b246baac27e758324",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8255,
            "upload_time": "2024-08-31T08:47:45",
            "upload_time_iso_8601": "2024-08-31T08:47:45.282794Z",
            "url": "https://files.pythonhosted.org/packages/dc/a5/328a383221b7a9f12d7cab48c00affb71615cfc91be824b219b2e6613ac8/tilores_sdk-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-31 08:47:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tilotech",
    "github_project": "python-tilores-sdk",
    "github_not_found": true,
    "lcname": "tilores-sdk"
}
        
Elapsed time: 0.36441s