--- id: chalkpy version: "2.154.36" license: unclear license_treatment: unclear maintenance: active --- # chalkpy — Python SDK for Chalk License: unclear · Maintenance: active · Downloads: 621.4K/mo ## What it is and what it does Chalk is a feature engineering framework that lets you define machine learning features as Python functions and automatically orchestrates them into pipelines. You write resolvers—decorated functions that compute features from SQL, REST APIs, data warehouses, or other sources—and Chalk handles the orchestration, caching, scheduling, and deployment. It supports both online serving (low-latency feature queries for inference) and offline training (temporally-consistent historical feature sets for model development). The package integrates with standard Python libraries (pydantic for schemas, requests for HTTP, SQL connectors for databases) and uses a Rust-based execution engine underneath for performance. It provides declarative caching policies, scheduled batch ingestion, reverse ETL to bring slow data sources online, and a REST API for querying features in production. The core idea is that the same source code serves both training and inference, ensuring feature consistency and reducing development overhead. Use it for: - Define and deploy feature pipelines that compute user credit scores, fraud signals, or recommendation features from multiple databases and APIs. - Build training datasets with temporal consistency—retrieve historical feature values as they existed at specific past timestamps for model training. - Serve low-latency features to production models via REST API with declarative caching and staleness policies to balance freshness and cost. - Ingest batch data from data warehouses on a schedule and automatically make it available for both offline analysis and online serving. - Integrate vendor APIs and expensive external data sources with caching to reduce latency and per-call costs in online inference. - Track model provenance and dataset lineage by storing and versioning feature computations alongside training data. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Chalk is a Python SDK for building and deploying machine learning feature pipelines that compute features from multiple data sources and serve them for both online inference and offline training. Yes, with conditions. Chalk is actively maintained and has low install friction. It solves a real problem—coordinating feature computation across multiple data sources for both training and serving—and integrates well with standard Python ML tools. However, the license is unclear, so verify terms before production use. Also confirm whether your use case aligns with Chalk's architecture. If you need a feature store with unified online/offline semantics and don't have license concerns, it's worth evaluating. ## Install pip install chalkpy uv add chalkpy poetry add chalkpy ## Installing chalkpy Before you install: Low install friction with a pure-Python wheel. Active maintenance as of 2026-08-13. Depends on 16 runtime packages including grpcio, pydantic, and a Rust-backed chalkpy-rs component, which are all standard ML/data stack libraries. License in practice: License treatment is unclear—no SPDX identifier or raw license text is available. Verify the license terms before using in proprietary or commercial projects. Quickstart: pip install chalkpy from chalkpy import features, online @features class User: id: int name: str @online def get_user(uid: User.id) -> User: return User(id=uid, name="example") from chalkpy import ChalkClient result = ChalkClient().query(input={User.id: 1}, output=[User.name]) Requires Python >=3.10,<3.15. Depends on chalkpy-rs, a compiled Rust component. Verify before relying: - Whether the Chalk platform requires a hosted backend or if local/self-hosted execution is supported. - Exact terms of the license and any restrictions on commercial use. - Performance characteristics and latency guarantees for online feature serving. - Whether the package can be used standalone or requires integration with Chalk's managed platform. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 621.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags feature engineering pipelines, ml feature store, online feature serving, batch feature computation, feature resolver framework, ml data infrastructure, feature caching and orchestration, feature-store, ml-infrastructure, data-pipeline [View on SkillFed](https://skillfed.io/packages/chalkpy) · [View on PyPI](https://pypi.org/project/chalkpy/)