{"id":26831,"library":"chronon-ai","title":"Chronon AI","description":"Chronon is a platform for defining, managing and executing feature engineering pipelines in production. The Python client library provides APIs to interact with the Chronon backend, define feature tables, and run jobs. Current version: 0.0.111. Release cadence: active development.","status":"active","version":"0.0.111","language":"python","source_language":"en","source_url":"https://github.com/chronon-ai/chronon","tags":["feature engineering","ml platform","spark","thrift"],"install":[{"cmd":"pip install chronon-ai","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"Required for Spark-based feature computation","package":"pyspark","optional":true},{"reason":"Used for Thrift serialization","package":"thrift","optional":true}],"imports":[{"note":"The correct import path uses the 'chronon' package; direct imports like 'from chronon.feature_table import ...' should be avoided due to internal restructuring.","symbol":"FeatureTable","correct":"from chronon import feature_table as ft\nft.FeatureTable(...)"}],"quickstart":{"code":"from chronon import feature_table as ft\nfrom chronon import utils\n\n# Define a simple feature table\ntable = ft.FeatureTable(\n    name=\"user_features\",\n    source=\"events\",\n    keys=[\"user_id\"],\n    features=[\n        ft.Feature(name=\"total_purchase\", expression=\"SUM(purchase_amount)\"),\n    ]\n)\nprint(table.name)","lang":"python","description":"Define a basic feature table using Chronon Python API."},"warnings":[{"fix":"Install with 'pip install chronon-ai' but import using 'import chronon'.","message":"The package name on PyPI is 'chronon-ai', but the import statement uses 'chronon'. This mismatch can cause confusion.","severity":"breaking","affected_versions":"all"},{"fix":"Install with extras: 'pip install chronon-ai[spark,thrift]' or ensure compatible versions of PySpark and Thrift are available.","message":"Chronon heavily relies on PySpark and Thrift. If these are not installed, imports may fail silently or at runtime.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace 'from chronon.api import ...' with 'from chronon.feature_table import ...'.","message":"The 'chronon.api' module is being deprecated in favor of 'chronon.feature_table' and 'chronon.utils'.","severity":"deprecated","affected_versions":">=0.0.100"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Ensure you installed 'chronon-ai' (pip install chronon-ai) and import using 'import chronon'.","cause":"Installed package name is 'chronon-ai', but code tries to import 'chronon'.","error":"ModuleNotFoundError: No module named 'chronon'"},{"fix":"Explicitly cast columns to supported types (e.g., using .cast() in your feature expressions).","cause":"Chronon may expect specific Spark SQL types that are not automatically converted.","error":"pyspark.sql.utils.IllegalArgumentException: 'Unsupported data type'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}