Skip to main content

Wickra Feature Store — turn OHLCV and microstructure event streams into ML-ready feature matrices over 495 streaming indicators, deterministic across ten languages

CI codecov PyPI License: MIT OR Apache-2.0

Wickra Feature Store — Python


Turn OHLCV and microstructure event streams into ML-ready feature matrices over 495 O(1) streaming indicators — for Python. pip install wickra-feature-store — prebuilt wheels for Linux, macOS and Windows, nothing to compile.

Python bindings for wickra-feature-store, the data-driven feature-matrix core. Build a FeatureStore from a spec JSON, drive it with command JSONs, and read back feature matrices — the same command protocol every language binding speaks.

Install

pip install wickra-feature-store

Pre-built wheels ship for Linux, macOS and Windows — there is nothing to compile and no C library to track down.

Building from this repository (contributors)

maturin develop --release
pytest -q

Quick start

import json
from wickra_feature_store import FeatureStore

spec = json.dumps({
    "universe": ["AAA"],
    "features": [
        {"kind": "indicator", "name": "Sma", "params": [2]},
        {"kind": "price", "field": "close"},
    ],
    "labels": [{"kind": "forward_return", "horizon": 1}],
})

store = FeatureStore(spec)

def candle(ts, close):
    return {"ts": ts, "open": close, "high": close,
            "low": close, "close": close, "volume": 1.0}

response = store.command(json.dumps({
    "cmd": "build_batch",
    "data": {"AAA": [candle(0, 100.0), candle(1, 110.0), candle(2, 121.0)]},
}))

matrix = json.loads(response)
print(matrix["columns"])  # ['Sma(2)', 'price.close', 'fwd_return(1)']

# Straight into pandas:
#   import pandas as pd
#   df = pd.DataFrame(matrix["data"], columns=matrix["columns"])

API

Method Description
FeatureStore(spec_json) Build a feature store from a spec JSON (raises ValueError if invalid).
store.command(cmd_json) -> str Apply a command JSON, return the response JSON. Commands: set_spec, push, push_batch, build, build_batch, labels, reset, version.
FeatureStore.version() -> str The library version.

Arrow / Parquet output is a binary file format and is not available over this JSON surface; use the wickra-feature-store CLI for columnar output.

Benchmark

Every binding forwards to the same data-driven Rust core, so what this one adds is the call overhead of PyO3, not a different result. The core's throughput is measured by the repository's benchmark suite and the nightly bench.yml run; the numbers, the machine and how to reproduce them are in the repository BENCHMARKS.md.

Documentation

The full guide, the spec reference and the API documentation live in the main repository and the documentation site:

Wickra Feature Store ships native bindings for Python, Node.js, WASM and Rust, plus a C ABI hub that any C-capable language (C, C++, C#, Go, Java, R) links against — all forwarding to the same data-driven, unsafe-forbidden Rust core.

Security

Found a security issue? Please don't open a public issue. Report it privately via the repository's Security tab ("Report a vulnerability") or email support@wickra.org with a subject line starting [wickra security]. Full policy: https://github.com/wickra-lib/wickra-feature-store/blob/main/SECURITY.md.

Disclaimer

wickra-feature-store is research and engineering tooling, not financial advice. A feature matrix describes historical data under the spec you provide; it makes no claim about the profitability or future performance of any model trained on it. Trading carries risk; you are responsible for your own decisions.

License

Licensed under either of Apache-2.0 or MIT at your option.

Metadata

Release files for wickra-feature-store 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wickra-feature-store 0.2.3
File Size Uploaded Provenance Actions
wickra_feature_store-0.2.3.tar.gz 71.7 kB Without provenance Details for wickra_feature_store-0.2.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wickra-feature-store 0.2.3
File Actions
wickra_feature_store-0.2.3-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for wickra_feature_store-0.2.3-cp39-abi3-win_arm64.whl
wickra_feature_store-0.2.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for wickra_feature_store-0.2.3-cp39-abi3-win_amd64.whl
wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl
wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl
wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
wickra_feature_store-0.2.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for wickra_feature_store-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
wickra_feature_store-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for wickra_feature_store-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 5.9 MB

Release files / wickra_feature_store-0.2.3.tar.gz

Download URL wickra_feature_store-0.2.3.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5a33b73c2a5ae32dd6d5267a504110453a0c6dd4ff6b7007a8b2dc9b25f94bf9
BLAKE2b-256 checksum
How to use checksums
445605b0e942b6c6ba088f00444b6b3b52bc889f2101d22fc95bde6a4aa68e77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-win_arm64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-win_arm64.whl
Size 561.4 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
11f4aa1f3dc421cf72c82949ce33e7beb8cfc9a46aa7aec200941853d7c1fdbc
BLAKE2b-256 checksum
How to use checksums
ca2d3d456604913dfae97d97a4a9ac1e8f9d23ee8df8bb6d1d2d87f2e1821977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-win_amd64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-win_amd64.whl
Size 637.3 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1ac2bc92a23354b13a9bcab7e43041487908b8882cccfca793be3619692d4044
BLAKE2b-256 checksum
How to use checksums
83a84016c8a726616172ead2e8b61743a98de6c127a582156486b8d89e18fb58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl
Size 968.9 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
300c1e75113fd12d77e368dc06eb427cff493e3ada53abfc8b73f5089bf5148f
BLAKE2b-256 checksum
How to use checksums
89a374d811877de394faf5d763a7c7dd50194cbecc17abd28ec793b2575c019f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl
Size 856.5 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
190581eb0a68d89c68ac99811f58ceb308449a606e46c2804793de7e1ec0a972
BLAKE2b-256 checksum
How to use checksums
3f38e6d857c5a00c3b774c112d873270962308d44d40ede1404190627ec72e3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 753.0 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
fad7dd091216ce269bb54fe041f4dac18ba38e04bdb039fc057c935e8e6174dd
BLAKE2b-256 checksum
How to use checksums
26914b64faac29b0d946685f98049409a9e9795af5f929faaef58b51a50c52ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 679.9 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
fd946ce37b80166cebe8cf3db455ff9430810f038cf28a00c3bc58bfa65b59f4
BLAKE2b-256 checksum
How to use checksums
eab8b373ad1e10208cba7663b18fabdffa32aac7e6fb98702db9646eb1255026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
Size 621.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
de67ecd0c895c85d65979675b2bb732e134207f6adaa996c1d5c2b741c7c776e
BLAKE2b-256 checksum
How to use checksums
64690ed09cd570c23baaf67b5342a7985c51173c7f83cac254db40b8d62e7e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wickra_feature_store-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL wickra_feature_store-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl
Size 720.1 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
63d15888660dea8532c061dcc679151e9969460a28e36969bac89f8bc7779b65
BLAKE2b-256 checksum
How to use checksums
cdd099e76527365cdbfd416a06446299200c2a94f6f9b897fd682a8bb73182df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for wickra-feature-store 0.2.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page