Tilores Python SDK
The tilores-sdk Python package is a small SDK to develop with the Tilores entity resolution system.
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
$ 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.
-
Given you have data loaded, and a schema configured that supports searching for the fields specified in this example.
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
Metadata
Release files for tilores-sdk 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tilores_sdk-0.4.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tilores_sdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / tilores_sdk-0.4.0.tar.gz
| Download URL | tilores_sdk-0.4.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
873f69026dd69d7e3294c4465b9c344c671e248a96d748435ef7a561bac83213
|
|
BLAKE2b-256 checksum How to use checksums |
0d4f8827bf41a0dc9f4f3be2633faf3ab74adfdd878fdee6b2d01826f4329758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2024.
Transparency logRelease files / tilores_sdk-0.4.0-py3-none-any.whl
| Download URL | tilores_sdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c62828814e5c4f8d8b8e8631d5c9edb12d667dc222611a5a3bb43c5b2849a22
|
|
BLAKE2b-256 checksum How to use checksums |
d4f2fc64e848fa77451e5bdbb27da92a6affe25b3c8c63f3770ecd0e435d2f12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2024.
Transparency log