Skip to content
Back to search

feast

The Open Source Feature Store for AI/ML

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/feast-dev/feast with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/feast-dev/feast'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/feast-dev--feast/badge.svg)](/listings/feast-dev--feast)

HTML

<a href="/listings/feast-dev--feast"><img src="/api/listings/feast-dev--feast/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Install Feast

pip install feast

2. Create a feature repository

feast init my_feature_repo
cd my_feature_repo/feature_repo

3. Register your feature definitions and set up your feature store

feast apply

4. Explore your data in the web UI (experimental)

feast ui

5. Build a training dataset

from feast import FeatureStore
import pandas as pd
from datetime import datetime

entity_df = pd.DataFrame.from_dict({
    "driver_id": [1001, 1002, 1003, 1004],
    "event_timestamp": [
        datetime(2021, 4, 12, 10, 59, 42),
        datetime(2021, 4, 12, 8,  12, 10),
        datetime(2021, 4, 12, 16, 40, 26),
        datetime(2021, 4, 12, 15, 1 , 12)
    ]
})

store = FeatureStore(repo_path=".")

training_df = store.get_historical_features(
    entity_df=entity_df,
    features = [
        'driver_hourly_stats:conv_rate',
        'driver_hourly_stats:acc_rate',
        'driver_hourly_stats:avg_daily_trips'
    ],
).to_df()

print(training_df.head())

# Train model
# model = ml.fit(training_df)
            event_timestamp  driver_id  conv_rate  acc_rate  avg_daily_trips
0 2021-04-12 08:12:10+00:00       1002   0.713465  0.597095              531
1 2021-04-12 10:59:42+00:00       1001   0.072752  0.044344               11
2 2021-04-12 15:01:12+00:00       1004   0.658182  0.079150              220
3 2021-04-12 16:40:26+00:00       1003   0.162092  0.309035              959

6. Load feature values into your online store

**Option 1: Incremental materialization (recommended)**

CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S")
feast materialize-incremental $CURRENT_TIME

**Option 2: Full materialization with timestamps**

CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S")
feast materialize 2021-04-12T00:00:00 $CURRENT_TIME

**Option 3: Simple materialization without timestamps**

feast materialize --disable-event-timestamp

The `--disable-event-timestamp` flag allows you to materialize all available feature data using the current datetime as the event timestamp, without needing to specify start and end timestamps. This is useful when your source data lacks proper event timestamp columns.

Materializing feature view driver_hourly_stats from 2021-04-14 to 2021-04-15 done!

7. Read online features at low latency

from pprint import pprint
from feast import FeatureStore

store = FeatureStore(repo_path=".")

feature_vector = store.get_online_features(
    features=[
        'driver_hourly_stats:conv_rate',
        'driver_hourly_stats:acc_rate',
        'driver_hourly_stats:avg_daily_trips'
    ],
    entity_rows=[{"driver_id": 1001}]
).to_dict()

pprint(feature_vector)

# Make prediction
# model.predict(feature_vector)
{
    "driver_id": [1001],
    "driver_hourly_stats__conv_rate": [0.49274],
    "driver_hourly_stats__acc_rate": [0.92743],
    "driver_hourly_stats__avg_daily_trips": [72]
}

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 305 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <!--Do not modify this file. It is auto-generated from a template (infra/templates/README.md.jinja2)-->
  2. <p align="center">
  3. <a href="https://feast.dev/">
  4. <img src="https://raw.githubusercontent.com/feast-dev/feast/master/docs/assets/feast_logo.png" width="550">
  5. </a>
  6. </p>
  7. <br />
  8. [![PyPI - Downloads](https://img.shields.io/pypi/dm/feast)](https://pypi.org/project/feast/)
  9. [![GitHub contributors](https://img.shields.io/github/contributors/feast-dev/feast)](https://github.com/feast-dev/feast/graphs/contributors)
  10. [![unit-tests](https://github.com/feast-dev/feast/actions/workflows/unit_tests.yml/badge.svg?branch=master&event=pull_request)](https://github.com/feast-dev/feast/actions/workflows/unit_tests.yml)
  11. [![integration-tests-and-build](https://github.com/feast-dev/feast/actions/workflows/master_only.yml/badge.svg?branch=master&event=push)](https://github.com/feast-dev/feast/actions/workflows/master_only.yml)
  12. [![linter](https://github.com/feast-dev/feast/actions/workflows/linter.yml/badge.svg?branch=master&event=push)](https://github.com/feast-dev/feast/actions/workflows/linter.yml)
  13. [![Docs Latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.feast.dev/)
  14. [![Python API](https://img.shields.io/badge/docs-latest-brightgreen.svg)](http://rtd.feast.dev/)
  15. [![License](https://img.shields.io/badge/License-Apache%202.0-blue)](https://github.com/feast-dev/feast/blob/master/LICENSE)
  16. [![GitHub Release](https://img.shields.io/github/v/release/feast-dev/feast.svg?style=flat&sort=semver&color=blue)](https://github.com/feast-dev/feast/releases)
  17. ## Join us on Slack!
  18. 👋👋👋 [Come say hi on Slack!](https://slack.feast.dev/)
  19. [Check out our DeepWiki!](https://deepwiki.com/feast-dev/feast)
  20. ## Overview
  21. <a href="https://trendshift.io/repositories/8046" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8046" alt="feast-dev%2Ffeast | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
  22. Feast (**Fea**ture **St**ore) is an open source feature store for machine learning. Feast is the fastest path to manage existing infrastructure to productionize analytic data for model training and online inference.
  23. Feast allows ML platform teams to:
  24. * **Make features consistently available for training and serving** by managing an _offline store_ (to process historical data for scale-out batch scoring or model training), a low-latency _online store_ (to power real-time prediction)_,_ and a battle-tested _feature server_ (to serve pre-computed features online).
  25. * **Avoid data leakage** by generating point-in-time correct feature sets so data scientists can focus on feature engineering rather than debugging error-prone dataset joining logic. This ensure that future feature values do not leak to models during training.
  26. * **Decouple ML from data infrastructure** by providing a single data access layer that abstracts feature storage from feature retrieval, ensuring models remain portable as you move from training models to serving models, from batch models to realtime models, and from one data infra system to another.
  27. Please see our [documentation](https://docs.feast.dev/) for more information about the project.
  28. ## 📐 Architecture
  29. ![](https://raw.githubusercontent.com/feast-dev/feast/master/docs/assets/feast_marchitecture.png)
  30. The above architecture is the minimal Feast deployment. Want to run the full Feast on Snowflake/GCP/AWS? Click [here](https://docs.feast.dev/how-to-guides/feast-snowflake-gcp-aws).
  31. ## 🐣 Getting Started
  32. ### 1. Install Feast
  33. ```commandline
  34. pip install feast
  35. ```
  36. ### 2. Create a feature repository
  37. ```commandline
  38. feast init my_feature_repo
  39. cd my_feature_repo/feature_repo
  40. ```
  41. ### 3. Register your feature definitions and set up your feature store
  42. ```commandline
  43. feast apply
  44. ```
  45. ### 4. Explore your data in the web UI (experimental)
  46. ![Web UI](https://raw.githubusercontent.com/feast-dev/feast/master/ui/sample.png)
  47. ```commandline
  48. feast ui
  49. ```
  50. ### 5. Build a training dataset
  51. ```python
  52. from feast import FeatureStore
  53. import pandas as pd
  54. from datetime import datetime
  55. entity_df = pd.DataFrame.from_dict({
  56. "driver_id": [1001, 1002, 1003, 1004],
  57. "event_timestamp": [
  58. datetime(2021, 4, 12, 10, 59, 42),
  59. datetime(2021, 4, 12, 8, 12, 10),
  60. datetime(2021, 4, 12, 16, 40, 26),
  61. datetime(2021, 4, 12, 15, 1 , 12)
  62. ]
  63. })
  64. store = FeatureStore(repo_path=".")
  65. training_df = store.get_historical_features(
  66. entity_df=entity_df,
  67. features = [
  68. 'driver_hourly_stats:conv_rate',
  69. 'driver_hourly_stats:acc_rate',
  70. 'driver_hourly_stats:avg_daily_trips'
  71. ],
  72. ).to_df()
  73. print(training_df.head())
  74. # Train model
  75. # model = ml.fit(training_df)
  76. ```
  77. ```commandline
  78. event_timestamp driver_id conv_rate acc_rate avg_daily_trips
  79. 0 2021-04-12 08:12:10+00:00 1002 0.713465 0.597095 531
  80. 1 2021-04-12 10:59:42+00:00 1001 0.072752 0.044344 11
  81. 2 2021-04-12 15:01:12+00:00 1004 0.658182 0.079150 220
  82. 3 2021-04-12 16:40:26+00:00 1003 0.162092 0.309035 959
  83. ```
  84. ### 6. Load feature values into your online store
  85. **Option 1: Incremental materialization (recommended)**
  86. ```commandline
  87. CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S")
  88. feast materialize-incremental $CURRENT_TIME
  89. ```
  90. **Option 2: Full materialization with timestamps**
  91. ```commandline
  92. CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S")
  93. feast materialize 2021-04-12T00:00:00 $CURRENT_TIME
  94. ```
  95. **Option 3: Simple materialization without timestamps**
  96. ```commandline
  97. feast materialize --disable-event-timestamp
  98. ```
  99. The `--disable-event-timestamp` flag allows you to materialize all available data (from 1970-01-01 up to the current UTC time) without specifying start and end timestamps. Rows keep the event timestamps from the source.
  100. ```commandline
  101. Materializing feature view driver_hourly_stats from 2021-04-14 to 2021-04-15 done!
  102. ```
  103. ### 7. Read online features at low latency
  104. ```python
  105. from pprint import pprint
  106. from feast import FeatureStore
  107. store = FeatureStore(repo_path=".")
  108. feature_vector = store.get_online_features(
  109. features=[
  110. 'driver_hourly_stats:conv_rate',
  111. 'driver_hourly_stats:acc_rate',
  112. 'driver_hourly_stats:avg_daily_trips'
  113. ],
  114. entity_rows=[{"driver_id": 1001}]
  115. ).to_dict()
  116. pprint(feature_vector)
  117. # Make prediction
  118. # model.predict(feature_vector)
  119. ```
  120. ```json
  121. {
  122. "driver_id": [1001],
  123. "driver_hourly_stats__conv_rate": [0.49274],
  124. "driver_hourly_stats__acc_rate": [0.92743],
  125. "driver_hourly_stats__avg_daily_trips": [72]
  126. }
  127. ```
  128. ## 📦 Functionality and Roadmap
  129. The list below contains the functionality that contributors are planning to develop for Feast.
  130. * We welcome contribution to all items in the roadmap!
  131. * **Natural Language Processing**
  132. * [x] Vector Search (Alpha release. See [RFC](https://docs.google.com/document/d/18IWzLEA9i2lDWnbfbwXnMCg3StlqaLVI-uRpQjr_Vos/edit#heading=h.9gaqqtox9jg6))
  133. * [ ] [Enhanced Feature Server and SDK for native support for NLP](https://github.com/feast-dev/feast/issues/4964)
  134. * **Data Sources**
  135. * [x] [Chronon source (contrib)](https://docs.feast.dev/reference/data-sources/chronon)
  136. * [x] [Snowflake source](https://docs.feast.dev/reference/data-sources/snowflake)
  137. * [x] [Redshift source](https://docs.feast.dev/reference/data-sources/redshift)
  138. * [x] [BigQuery source](https://docs.feast.dev/reference/data-sources/bigquery)
  139. * [x] [Parquet file source](https://docs.feast.dev/reference/data-sources/file)
  140. * [x] [Azure Synapse + Azure SQL source (contrib plugin)](https://docs.feast.dev/reference/data-sources/mssql)
  141. * [x] [Hive (community plugin)](https://github.com/baineng/feast-hive)
  142. * [x] [Postgres (contrib plugin)](https://docs.feast.dev/reference/data-sources/postgres)
  143. * [x] [Spark (contrib plugin)](https://docs.feast.dev/reference/data-sources/spark)
  144. * [x] [Couchbase (contrib plugin)](https://docs.feast.dev/reference/data-sources/couchbase)
  145. * [x] [Athena (contrib plugin)](https://docs.feast.dev/reference/data-sources/athena)
  146. * [x] [Clickhouse (contrib plugin)](https://docs.feast.dev/reference/data-sources/clickhouse)
  147. * [x] [Oracle (contrib plugin)](https://docs.feast.dev/reference/data-sources/oracle)
  148. * [x] [MongoDB (contrib plugin)](https://docs.feast.dev/reference/data-sources/mongodb)
  149. * [x] [Ray source (contrib plugin)](https://docs.feast.dev/reference/data-sources/ray)
  150. * [x] Kafka / Kinesis sources (via [push support into the online store](https://docs.feast.dev/reference/data-sources/push))
  151. * **Offline Stores**
  152. * [x] [Chronon (contrib)](https://docs.feast.dev/reference/offline-stores/chronon)
  153. * [x] [Snowflake](https://docs.feast.dev/reference/offline-stores/snowflake)
  154. * [x] [Redshift](https://docs.feast.dev/reference/offline-stores/redshift)
  155. * [x] [BigQuery](https://docs.feast.dev/reference/offline-stores/bigquery)
  156. * [x] [DuckDB](https://docs.feast.dev/reference/offline-stores/duckdb)
  157. * [x] [Dask](https://docs.feast.dev/reference/offline-stores/dask)
  158. * [x] [Remote](https://docs.feast.dev/reference/offline-stores/remote-offline-store)
  159. * [x] [Azure Synapse + Azure SQL (contrib plugin)](https://docs.feast.dev/reference/offline-stores/mssql)
  160. * [x] [Hive (community plugin)](https://github.com/baineng/feast-hive)
  161. * [x] [Postgres (contrib plugin)](https://docs.feast.dev/reference/offline-stores/postgres)
  162. * [x] [Trino (contrib plugin)](https://docs.feast.dev/reference/offline-stores/trino)
  163. * [x] [Spark (contrib plugin)](https://docs.feast.dev/reference/offline-stores/spark)
  164. * [x] [Couchbase (contrib plugin)](https://docs.feast.dev/reference/offline-stores/couchbase)
  165. * [x] [Athena (contrib plugin)](https://docs.feast.dev/reference/offline-stores/athena)
  166. * [x] [Clickhouse (contrib plugin)](https://docs.feast.dev/reference/offline-stores/clickhouse)
  167. * [x] [Ray (contrib plugin)](https://docs.feast.dev/reference/offline-stores/ray)
  168. * [x] [Oracle (contrib plugin)](https://docs.feast.dev/reference/offline-stores/oracle)
  169. * [x] [MongoDB (contrib plugin)](https://docs.feast.dev/reference/offline-stores/mongodb)
  170. * [x] [Hybrid](https://docs.feast.dev/reference/offline-stores/hybrid)
  171. * [x] [Custom offline store support](https://docs.feast.dev/how-to-guides/customizing-feast/adding-a-new-offline-store)
  172. * **Online Stores**
  173. * [x] [Chronon](https://docs.feast.dev/reference/online-stores/chronon)
  174. * [x] [Snowflake](https://docs.feast.dev/reference/online-stores/snowflake)
  175. * [x] [DynamoDB](https://docs.feast.dev/reference/online-stores/dynamodb)
  176. * [x] [Redis](https://docs.feast.dev/reference/online-stores/redis)
  177. * [x] [Dragonfly](https://docs.feast.dev/reference/online-stores/dragonfly)
  178. * [x] [Datastore](https://docs.feast.dev/reference/online-stores/datastore)
  179. * [x] [Bigtable](https://docs.feast.dev/reference/online-stores/bigtable)
  180. * [x] [SQLite](https://docs.feast.dev/reference/online-stores/sqlite)
  181. * [x] [Remote](https://docs.feast.dev/reference/online-stores/remote)
  182. * [x] [Postgres](https://docs.feast.dev/reference/online-stores/postgres)
  183. * [x] [HBase](https://docs.feast.dev/reference/online-stores/hbase)
  184. * [x] [Cassandra / AstraDB](https://docs.feast.dev/reference/online-stores/cassandra)
  185. * [x] [ScyllaDB](https://docs.feast.dev/reference/online-stores/scylladb)
  186. * [x] [MySQL](https://docs.feast.dev/reference/online-stores/mysql)
  187. * [x] [Hazelcast](https://docs.feast.dev/reference/online-stores/hazelcast)
  188. * [x] [Elasticsearch](https://docs.feast.dev/reference/online-stores/elasticsearch)
  189. * [x] [SingleStore](https://docs.feast.dev/reference/online-stores/singlestore)
  190. * [x] [Couchbase](https://docs.feast.dev/reference/online-stores/couchbase)
  191. * [x] [MongoDB](https://docs.feast.dev/reference/online-stores/mongodb)
  192. * [x] [Aerospike](https://docs.feast.dev/reference/online-stores/aerospike)
  193. * [x] [Qdrant (vector store)](https://docs.feast.dev/reference/online-stores/qdrant)
  194. * [x] [Milvus (vector store)](https://docs.feast.dev/reference/online-stores/milvus)
  195. * [x] [Faiss (vector store)](https://docs.feast.dev/reference/online-stores/faiss)
  196. * [x] [Hybrid](https://docs.feast.dev/reference/online-stores/hybrid)
  197. * [x] [Azure Cache for Redis (community plugin)](https://github.com/Azure/feast-azure)
  198. * [x] [Custom online store support](https://docs.feast.dev/how-to-guides/customizing-feast/adding-support-for-a-new-online-store)
  199. * **Feature Engineering**
  200. * [x] On-demand Transformations (On Read) (Beta release. See [RFC](https://docs.google.com/document/d/1lgfIw0Drc65LpaxbUu49RCeJgMew547meSJttnUqz7c/edit#))
  201. * [x] Streaming Transformations (Alpha release. See [RFC](https://docs.google.com/document/d/1UzEyETHUaGpn0ap4G82DHluiCj7zEbrQLkJJkKSv4e8/edit))
  202. * [ ] Batch transformation (In progress. See [RFC](https://docs.google.com/document/d/1964OkzuBljifDvkV-0fakp2uaijnVzdwWNGdz7Vz50A/edit))
  203. * [x] On-demand Transformations (On Write) (Beta release. See [GitHub Issue](https://github.com/feast-dev/feast/issues/4376))
  204. * **Streaming**
  205. * [x] [Custom streaming ingestion job support](https://docs.feast.dev/how-to-guides/customizing-feast/creating-a-custom-provider)
  206. * [x] [Push based streaming data ingestion to online store](https://docs.feast.dev/reference/data-sources/push)
  207. * [x] [Push based streaming data ingestion to offline store](https://docs.feast.dev/reference/data-sources/push)
  208. * **Deployments**
  209. * [x] AWS Lambda (Alpha release. See [RFC](https://docs.google.com/document/d/1eZWKWzfBif66LDN32IajpaG-j82LSHCCOzY6R7Ax7MI/edit))
  210. * [x] Kubernetes (See [guide](https://docs.feast.dev/how-to-guides/running-feast-in-production))
  211. * **Feature Serving**
  212. * [x] Python Client
  213. * [x] [Python feature server](https://docs.feast.dev/reference/feature-servers/python-feature-server)
  214. * [x] [Feast Operator (alpha)](https://github.com/feast-dev/feast/blob/master/infra/feast-operator/README.md)
  215. * [x] [Java feature server (alpha)](https://github.com/feast-dev/feast/blob/master/infra/charts/feast/README.md)
  216. * [x] [Go feature server (alpha)](https://docs.feast.dev/reference/feature-servers/go-feature-server)
  217. * [x] [Offline Feature Server (alpha)](https://docs.feast.dev/reference/feature-servers/offline-feature-server)
  218. * [x] [Registry server (alpha)](https://github.com/feast-dev/feast/blob/master/docs/reference/feature-servers/registry-server.md)
  219. * **Data Quality Management (See [RFC](https://docs.google.com/document/d/110F72d4NTv80p35wDSONxhhPBqWRwbZXG4f9mNEMd98/edit))**
  220. * [x] [Feature Quality Monitoring](https://docs.feast.dev/how-to-guides/feature-monitoring) — built-in metrics, drift detection, serving log monitoring, and UI dashboard
  221. * **Feature Discovery and Governance**
  222. * [x] Python SDK for browsing feature registry
  223. * [x] CLI for browsing feature registry
  224. * [x] Model-centric feature tracking (feature services)
  225. * [x] Amundsen integration (see [Feast extractor](https://github.com/amundsen-io/amundsen/blob/main/databuilder/databuilder/extractor/feast_extractor.py))
  226. * [x] DataHub integration (see [DataHub Feast docs](https://datahubproject.io/docs/generated/ingestion/sources/feast/))
  227. * [x] Feast Web UI (Beta release. See [docs](https://docs.feast.dev/reference/alpha-web-ui))
  228. * [ ] Feast Lineage Explorer
  229. ## 🎓 Important Resources
  230. Please refer to the official documentation at [Documentation](https://docs.feast.dev/)
  231. * [Quickstart](https://docs.feast.dev/getting-started/quickstart)
  232. * [Tutorials](https://docs.feast.dev/tutorials/tutorials-overview)
  233. * [Examples](https://github.com/feast-dev/feast/tree/master/examples)
  234. * [Running Feast with Snowflake/GCP/AWS](https://docs.feast.dev/how-to-guides/feast-snowflake-gcp-aws)
  235. * [Change Log](https://github.com/feast-dev/feast/blob/master/CHANGELOG.md)
  236. ## 👋 Contributing
  237. Feast is a community project and is still under active development. Please have a look at our contributing and development guides if you want to contribute to the project:
  238. - [Contribution Process for Feast](https://docs.feast.dev/project/contributing)
  239. - [Development Guide for Feast](https://docs.feast.dev/project/development-guide)
  240. - [Development Guide for the Main Feast Repository](./CONTRIBUTING.md)
  241. ## 🌟 GitHub Star History
  242. <p align="center">
  243. <a href="https://star-history.com/#feast-dev/feast&Date">
  244. <picture>
  245. <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=feast-dev/feast&type=Date&theme=dark" />
  246. <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=feast-dev/feast&type=Date" />
  247. <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=feast-dev/feast&type=Date" />
  248. </picture>
  249. </a>
  250. </p>
  251. ## ✨ Contributors
  252. Thanks goes to these incredible people:
  253. <a href="https://github.com/feast-dev/feast/graphs/contributors">
  254. <img src="https://contrib.rocks/image?repo=feast-dev/feast" />
  255. </a>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.