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

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.1
File Size Uploaded Provenance Actions
wickra_feature_store-0.2.1.tar.gz 70.8 kB Without provenance Details for wickra_feature_store-0.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 5.8 MB

Release files / wickra_feature_store-0.2.1.tar.gz

Download URL wickra_feature_store-0.2.1.tar.gz
Size 70.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b088cb3ab7a589694e4a7e3c6328c4940650d15f065ce3ad80af9ea8967b9ff2
BLAKE2b-256 checksum
How to use checksums
cb27945eb87a211524ebc2149b6e3043ccc60fec2dc6d90b5da934018af3d2b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-win_arm64.whl
Size 549.1 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
ef2385693958b1063487ab6eac56b1b6719b11f46b8db5ccd0133ecfbfdb7313
BLAKE2b-256 checksum
How to use checksums
a7a6de418316f6efdfa9d31b6ada5e1fa6709cf0dd45980244558b1a7d7c72b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-win_amd64.whl
Size 632.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6241c94532377a81d82276e868742d435c5c1c92e412724b4830f0470a6ecf2e
BLAKE2b-256 checksum
How to use checksums
e54b005f0e454e7ea09643578bc99ead303441917be0890ec63349161ec620d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 965.6 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
51021eb118edbf55962bfcf42b15a1f6746d1f5e0621b6ac31121fb6fc91eb27
BLAKE2b-256 checksum
How to use checksums
04c4d32f745e936a49822331a766f9a003eafb477acff82a4db0070f33d57eae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 848.7 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
48cfb5158f98602c1fe11b9205ba34ec09f7bbbf83e2e05051b45ef3ef18623d
BLAKE2b-256 checksum
How to use checksums
99d061801d05df36b21347021d22cb722a0ee14f109a1f739c71b68a7141457f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 749.7 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
4f6f6285e62364b3de7d918cf6308360b3228b0417347c765c5fda9faece978b
BLAKE2b-256 checksum
How to use checksums
282ba30deb7e6797d9ec35557e5761485d740230e70da723ed5711307f9b5d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 670.3 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
518e831bcfb842e15cd7295f431c2162ea86929796424cbfd2925bdf206e8474
BLAKE2b-256 checksum
How to use checksums
309cfad6dac55b4b0c45b300473fca8b2a0c7ff8e43c646497f2e1c100488bf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-macosx_11_0_arm64.whl
Size 611.8 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
930d0234eac2a8359c3c875eaf507ace6e559dda8e77549664b7807fc3125b37
BLAKE2b-256 checksum
How to use checksums
4a2bac16d2f4b5f79f4d6920bb4c03885b538bc56759cf2260749d6f2c228699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 717.0 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
bfb80702abb2330c5012e6ee0474597709fc945d5845099f5be524574dbe4f2c
BLAKE2b-256 checksum
How to use checksums
cec3e48a8ec3ae370f406c42b960ee438a11df5ea1054bf1255c8d604bcd5f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Security for wickra-feature-store 0.2.1

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