New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tecton-client

Package Overview
Dependencies
Maintainers
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tecton-client

A Python Client for the Tecton FeatureService API

  • 0.3.0
  • Source
  • PyPI
  • Socket score

Maintainers
6

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

  • Tecton Python Client API Reference

  • Tecton Python Client Example Code

  • FeatureServer API Reference

  • Fetching Online Features

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc