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.2

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.2
File Size Uploaded Provenance Actions
wickra_feature_store-0.2.2.tar.gz 71.7 kB Without provenance Details for wickra_feature_store-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wickra-feature-store 0.2.2
File Actions
wickra_feature_store-0.2.2-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for wickra_feature_store-0.2.2-cp39-abi3-win_arm64.whl
wickra_feature_store-0.2.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for wickra_feature_store-0.2.2-cp39-abi3-win_amd64.whl
wickra_feature_store-0.2.2-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.2-cp39-abi3-musllinux_1_2_x86_64.whl
wickra_feature_store-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for wickra_feature_store-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
wickra_feature_store-0.2.2-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.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
wickra_feature_store-0.2.2-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.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
wickra_feature_store-0.2.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for wickra_feature_store-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
wickra_feature_store-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for wickra_feature_store-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 5.9 MB

Release files / wickra_feature_store-0.2.2.tar.gz

Download URL wickra_feature_store-0.2.2.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e907a20368c73993312a452c4a5fa78aed0d8c404b89e7b6b0a82ae0fa400b49
BLAKE2b-256 checksum
How to use checksums
bb7316550c80e400108564e693b2d72615f3689842e507b61a7704f26dffb7c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-win_arm64.whl
Size 561.4 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
fe40b91c110b2e75dce2b701ee8c0370512b334278fb46ca17b79fa4ab30adb1
BLAKE2b-256 checksum
How to use checksums
61755d0260b8bd9bc38c976e075d0cea214118f782457dc650f6f946aece86e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-win_amd64.whl
Size 637.2 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1b2a442f4619b99b0a7cca093fa09822b4225f5380d8e563ac5ce4a56a6a36d0
BLAKE2b-256 checksum
How to use checksums
1ad494d45e50dcefd978f67d14b5ed2f7c46ec4215f3ca6f97b72b8a2cb3ee71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 968.8 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
53901ea117e280ac335298fc47fee3256d7dcbbfb71534994105a59062ab5bab
BLAKE2b-256 checksum
How to use checksums
8fd263f8147dc4a9cbc9ef8776cd1c6e6a26491a6be4ef3e10c8d16b78213212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 856.7 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
7b92fca57641e1bc65212a3c80207a46b5222207c2885095157074ac1b17c267
BLAKE2b-256 checksum
How to use checksums
34d8bc86e93f21147998fd000dcffc410f85c239e0a0c7a8185c227f586bbb94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 753.2 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
bacf4a83940bcd6e33a69ebb31a8f57757c22f52a930573b899d3b83b70b702e
BLAKE2b-256 checksum
How to use checksums
72eced7f23f229c16c763da7275a57c33937e17a06e596af3502bc4589ae3026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-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
08ab2faa3bf75aaf7a57280ac6c2d6660f599211f720c83b57b8f9d1dc97ea98
BLAKE2b-256 checksum
How to use checksums
9755a1d0a2cc21753c58011cd6fb9f4d1bd06ba446854fa917e166e7ecbe0766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-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
b0d85f476375461fd7921dfa92577a91599b688fb9fbe8da91944b1cea94ec61
BLAKE2b-256 checksum
How to use checksums
19e8ba27bd1019ef26314c5382ff3feb583c7be5777f7ec680f67085d19395db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

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

Download URL wickra_feature_store-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 720.0 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9179ff939aa8ee418250b89afdfb81b5680ed7e112d377c6beb5f91e253ace00
BLAKE2b-256 checksum
How to use checksums
e19aa82a70fbb89632b695f8d9045b8f13d4e3539a4df961a63f496645a58118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for wickra-feature-store 0.2.2

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