Featureform Python Client
Overview
Featureform’s Python client is a SDK for defining, managing and serving resources (e.g. infrastructure providers, data sources, transformations, etc.). At a high level, the API is divided into two parts:
- Registration: register data stores (e.g. PostgreSQL), data sources (e.g. tables or CSV files) as resources or get and/or list previously registered resources
- Serving: retrieve training sets and features for offline training or online inference
Requirements
- Python 3.9-3.12
Setting Up Your Local Development Environment
Step 1: Install gRPC and Protocol Buffer Tooling
See grpc.io for instructions on installing the protocol buffer compiler for your OS and language-specific plugins for Golang (NOTE: the Golang dependencies can also be installed via Homebrew.)
Step 2: Install uv and Sync Dependencies
Install uv if you haven't already. Then sync the project dependencies:
> uv sync --group dev
This creates a virtual environment and installs all required dependencies, including the featureform client in editable mode.
Step 3: Compile API Protocol Buffers and Python Stub
The shell script gen_grpc.sh has been provided for convenience. Change the file access permissions to make it executable and run it:
> chmod +x gen_grpc.sh
> ./gen_grpc.sh
Step 4: Optionally Run Client Test Suite
To ensure your changes haven’t broken the client, run the test suite with the following make target:
> make pytest
Outcome
With the steps above successfully completed, you should have the featureform CLI command accessible via uv run:
> uv run featureform -h
To further verify that your setup is complete and correct, you may optionally walk through the Quickstart tutorial. You may put the definitions.py file at the root of the project, which won’t be ignored by Git, or use a URL to a file (e.g. hosted on GitHub).
Metadata
Release files for featureform-enterprise 0.22.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| featureform_enterprise-0.22.8.tar.gz | 245.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| featureform_enterprise-0.22.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 530.9 kB
Release files / featureform_enterprise-0.22.8.tar.gz
| Download URL | featureform_enterprise-0.22.8.tar.gz |
|---|---|
| Size | 245.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d005071e9312c94a40ffddd439f1db1187441cb482df1fe9681a39270ad2c5e1
|
|
BLAKE2b-256 checksum How to use checksums |
7b02734cb3dca07a6ba866f9830ab649099b4b2f71e02ce42ae840b4ffea76a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / featureform_enterprise-0.22.8-py3-none-any.whl
| Download URL | featureform_enterprise-0.22.8-py3-none-any.whl |
|---|---|
| Size | 285.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69dba2f7fb452b627cee2d66a8f3531687a61cd58caf5948c7b2762edfb3cc98
|
|
BLAKE2b-256 checksum How to use checksums |
123678c63ec581cd660bf5c2d822cd0dbb5d26330ba053662e34b27151aab5ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|