Yummy rust addons
This repository contains Yummy addons written in Rust.
Feature server
Rust feature server have been implemented using Actix server.
The server is fully compatible with Feast.
Thus you can use it with the features materialized with Feast to online store.
Currently Redis/RedisCluster online store implementation is available.
Additionaly only http protocol is supported.
The payload is fully compatible with Feast server:
Example request/response:
Request with features list:
{
"features": [
"driver_hourly_stats:conv_rate",
"driver_hourly_stats:acc_rate",
"driver_hourly_stats:avg_daily_trips",
],
"entities": {"driver_id": [1001,1002,1003,1004,1005]},
"full_feature_names": true,
}
Request with feature service:
{
"feature_service": "driver_activity_basic",
"entities": {"driver_id": [1001,1002,1003,1004,1005]},
"full_feature_names": true,
}
Example response:
{"metadata": {"feature_names": ["driver_id",
"driver_hourly_stats__conv_rate",
"driver_hourly_stats__acc_rate",
"driver_hourly_stats__avg_daily_trips"]},
"results": [{"values": [1001, 1002, 1003, 1004, 1005],
"statuses": ["PRESENT", "PRESENT", "PRESENT", "PRESENT", "PRESENT"],
"event_timestamps": ["2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16"]},
{"values": [0.44467267, null, 0.775576, 0.719485, null],
"statuses": ["PRESENT", "PRESENT", "PRESENT", "PRESENT", "PRESENT"],
"event_timestamps": ["2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16"]},
{"values": [0.36920926, null, 0.8855987, 0.09924329, null],
"statuses": ["PRESENT", "PRESENT", "PRESENT", "PRESENT", "PRESENT"],
"event_timestamps": ["2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16"]},
{"values": [821, null, 381, 587, null],
"statuses": ["PRESENT", "PRESENT", "PRESENT", "PRESENT", "PRESENT"],
"event_timestamps": ["2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16",
"2022-10-04T22:46:16"]}]}
Protos
Feast protobuf definitions (License) have been used in the project.
Protobuf rust implementation have been used to generate rust code:
protoc --rust_out . $(find . -iname "*.proto")
Metadata
Release files for yummy-features 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yummy_features-0.0.9-cp39-cp39-manylinux_2_28_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.28+ x86-64 | Details for yummy_features-0.0.9-cp39-cp39-manylinux_2_28_x86_64.whl |
Release files / yummy_features-0.0.9-cp39-cp39-manylinux_2_28_x86_64.whl
| Download URL | yummy_features-0.0.9-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.4 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
956428588a217604093c031fbeeaf23f61e6161f723ea4622a6a1ce214494fa4
|
|
BLAKE2b-256 checksum How to use checksums |
42b854c567f3ea150035d46f98baab49c4c179784ac4618e6da43685a9b19c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Security for yummy-features 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.