Skip to main content

A Python Client for the Tecton FeatureService API

Project description

Python Client Library for Tecton Online Feature Store

A simple Python client for the Feature Server HTTP API that helps customers integrate with Tecton easily.

Documentation

Troubleshooting

If you have any questions or need help, please contact us using the instructions in the Tecton Docs.

Installing the client

The client can be installed using pip.

pip install tecton-client

The client can then be used as below:

from tecton_client import TectonClient

url = "https://explore.tecton.ai/"
workspace = "prod"
api_key = "my-secret-key"

client = TectonClient(url=url, default_workspace_name=workspace, api_key=api_key)

resp = client.get_features(
    feature_service_name="fraud_detection_feature_service:v2",
    join_key_map={"user_id": "user_4407104885"},
    request_context_map={"amount": 500.00},
)

print(resp.get_features_dict())

For more information, please refer to Tecton documentation on the Python Client Library.

Filing Issues and Feature Requests

Python Client Issues

If you encounter a problem specifically related to the Python client, please file a but using the instructions in the Tecton Docs. Please include the following information:

  • Description of the problem.
  • Steps to reproduce the issue.
  • Any relevant error messages or stack traces.
  • Versions of Python and the Python client you are using.

Please provide as much detail as possible when filing a support ticket to help us understand and resolve the issue efficiently.

Thank you for helping us improve our platform!

Contributing

If you would like to contribute to the client, see CONTRIBUTING.md

License

The project is licensed under Apache License 2.0

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

tecton_client-0.4.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tecton_client-0.4.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file tecton_client-0.4.0.tar.gz.

File metadata

  • Download URL: tecton_client-0.4.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for tecton_client-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ea066097b272b527d972423377bac939de21e84fd1255eca920882afff6b1f08
MD5 bcf0a92b7ef0f94cb89a125a4165a5eb
BLAKE2b-256 13630954607ae2e794133d83fd6514f0077269ce89afe0ba2d5700e7b40cbd3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tecton_client-0.4.0.tar.gz:

Publisher: release.yml on tecton-ai/tecton-http-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tecton_client-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tecton_client-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for tecton_client-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b07fd86ecdb2618151a610d30bbf901566bfd3c16e85b404f0eaeb8067bbb5
MD5 17a9c75d50776ebf6a91e565fd05a721
BLAKE2b-256 e1e9504d8592c1f12c911d65b08d9bcdafcd1a30a596df2be7b08ceb9ca60803

See more details on using hashes here.

Provenance

The following attestation bundles were made for tecton_client-0.4.0-py3-none-any.whl:

Publisher: release.yml on tecton-ai/tecton-http-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page