Skip to content

solbrigm/tecton-http-client-python

 
 

Repository files navigation

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 open an Issue or reach out to us on Slack!

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.result.features)

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

License

The project is licensed under Apache License 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%