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 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:
tecton_client = TectonClient(url, api_key)
get_features_request_data = GetFeaturesRequestData(
join_key_map={"user_id": "123", "merchant": "xyz"},
request_context_map={"amt": 500.00},
)
get_features_request = GetFeaturesRequest(
workspace_name="<Your-workspace>",
feature_service_name="fraud_detection_feature_service",
request_data=get_features_request_data,
)
get_features_response = tecton_client.get_features(get_features_request)
print(
[feature.feature_value for feature in get_features_response.feature_values.values()]
)
For more information, please refer to Tecton documentation on the Python Client Library.
License
The project is licensed under Apache License 2.0
Project details
Release history Release notifications | RSS feed
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.1.0b4.tar.gz
(39.8 kB
view hashes)
Built Distribution
Close
Hashes for tecton_client-0.1.0b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60702dad34ac808dea0f50e7a5d3e4b23d0b51205ce8c6389ac3151e068d70b2 |
|
MD5 | 5160a93dd992dc835ad7183eb8d18fa6 |
|
BLAKE2b-256 | 3a52e24c694f29ae3e8bfdd9852a79609fc251533dba0b15c328b0678529fce2 |