Skip to main content

Package for the Featureform Enterprise Feature Store

Project description

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

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

featureform_enterprise-0.22.8rc1.tar.gz (245.5 kB view details)

Uploaded Source

Built Distribution

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

featureform_enterprise-0.22.8rc1-py3-none-any.whl (285.4 kB view details)

Uploaded Python 3

File details

Details for the file featureform_enterprise-0.22.8rc1.tar.gz.

File metadata

File hashes

Hashes for featureform_enterprise-0.22.8rc1.tar.gz
Algorithm Hash digest
SHA256 938ddb864f8e57863f44c56ab17ef5982a0702c775f52b7e277ed4096229fd0f
MD5 ddd778d38e969ffef34a0e5d55187d6b
BLAKE2b-256 4dcccf84162828c16909279629adefb447f75b6e3c6cc016b976d9cbca4f9516

See more details on using hashes here.

File details

Details for the file featureform_enterprise-0.22.8rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for featureform_enterprise-0.22.8rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 194a505750c89a454345545e38b5c3c79934637ecedb0205f7db173aca3a4072
MD5 c073f57a27423c37df474b9600ab2de8
BLAKE2b-256 5c84c3a6cf46b38d55e4e078565e92a032d22e24b32d3401c8c845ea4f50afea

See more details on using hashes here.

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