Skip to main content

Wickra Feature Store — turn OHLCV and microstructure event streams into ML-ready feature matrices over 497 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 497 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.1.4

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.1.4
File Size Uploaded
wickra_feature_store-0.1.4.tar.gz 70.7 kB Details

Built distributions (wheels)

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

Total release size: 5.9 MB

Release files / wickra_feature_store-0.1.4.tar.gz

Download URL wickra_feature_store-0.1.4.tar.gz
Size 70.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b3e3d1bf676bdbd72fa316b3d63cdcb42c79edb101616a81f872b3be2cc5b642
BLAKE2b-256 checksum
How to use checksums
140dc8e200a33d4b68d0b20fd7f5da4f34bceeac478eef460ddb0cb27186f150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

Download URL wickra_feature_store-0.1.4-cp39-abi3-musllinux_1_2_x86_64.whl
Size 976.5 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
327ec05575266140854c7b61039f86d27beb48a374c24b41433b563533beca83
BLAKE2b-256 checksum
How to use checksums
000b774ab450a029e14ebe5910ac470b5c4cc253d86abcaacee84f360c73c575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_feature_store-0.1.4-cp39-abi3-musllinux_1_2_aarch64.whl
Size 859.2 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
4702503b61df84ee94bafee6cab68ce9332e0542396d869891a228098ac48311
BLAKE2b-256 checksum
How to use checksums
7755b11c1eb506dc8deb73d439f45df892716c6970bf677d74e8db9d0544c79b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

Download URL wickra_feature_store-0.1.4-cp39-abi3-macosx_11_0_arm64.whl
Size 624.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bb8ddd36d0b955d40ce753315338a7dd9a727555abc6a0dd85cce2e736f86937
BLAKE2b-256 checksum
How to use checksums
725cfe63b9771e32cd0706dae217eaa9938ac85479a16fdf8e14c2266c9ddf06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

Release history Release notifications | RSS feed

0.2.0

9 release files

This release

0.1.4 This release

9 release files

0.1.3

9 release files

0.1.2

9 release files

0.1.1

9 release files

0.1.0

9 release files

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