Python bindings for RayforceDB
Project description
|
|
High-Performance Lightweight Python ORM designed for
|
Python ORM for RayforceDB, a high-performance columnar database designed for analytics and data operations. Core is written in pure C with minimal overhead - combines columnar storage with SIMD vectorization for lightning-fast analytics on time-series and big data workloads.
Full Documentation: https://py.rayforcedb.com/
Features
- Pythonic API - Chainable, convenient, intuitive and fluent query syntax
- High Performance - One of the fastest solutions available, minimal overhead between Python and RayforceDB runtime via C API
- Lightweight - Core is less than 1 MB footprint
- 0 dependencies - Library operates without dependencies - pure Python and C
- Rapid Development - Continuously expanding functionality
Benchmarks run on: macOS M4 32GB, 100 groups, 20 runs (median), 5 warmup runs. H2OAI
Quick Start
>>> from datetime import time
>>> from rayforce import Table, Column, Vector, Symbol, Time, F64
>>> quotes = Table({
"symbol": Vector(items=["AAPL", "AAPL", "AAPL", "GOOG", "GOOG", "GOOG"], ray_type=Symbol),
"time": Vector(
items=[
time.fromisoformat("09:00:00.095"),
time.fromisoformat("09:00:00.105"),
time.fromisoformat("09:00:00.295"),
time.fromisoformat("09:00:00.145"),
time.fromisoformat("09:00:00.155"),
time.fromisoformat("09:00:00.345"),
],
ray_type=Time,
),
"bid": Vector(items=[100.0, 101.0, 102.0, 200.0, 201.0, 202.0], ray_type=F64),
"ask": Vector(items=[110.0, 111.0, 112.0, 210.0, 211.0, 212.0], ray_type=F64),
})
>>> result = (
quotes
.select(
max_bid=Column("bid").max(),
min_bid=Column("bid").min(),
avg_ask=Column("ask").mean(),
records_count=Column("time").count(),
first_time=Column("time").first(),
)
.where((Column("bid") >= 110) & (Column("ask") > 100))
.by("symbol")
.execute()
)
>>> print(result)
┌────────┬─────────┬─────────┬─────────┬───────────────┬──────────────┐
│ symbol │ max_bid │ min_bid │ avg_ask │ records_count │ first_time │
├────────┼─────────┼─────────┼─────────┼───────────────┼──────────────┤
│ GOOG │ 202.00 │ 200.00 │ 211.00 │ 3 │ 09:00:00.145 │
├────────┴─────────┴─────────┴─────────┴───────────────┴──────────────┤
│ 1 rows (1 shown) 6 columns (6 shown) │
└─────────────────────────────────────────────────────────────────────┘
Installation
Package is available on PyPI:
pip install rayforce-py
This installation also provides a command-line interface to access the native Rayforce runtime:
~ $ rayforce
Launching Rayforce...
RayforceDB: 0.1 Dec 6 2025
Documentation: https://rayforcedb.com/
Github: https://github.com/RayforceDB/rayforce
↪ (+ 1 2)
3
Built with ❤️ for high-performance data processing | MIT Licensed | RayforceDB Team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rayforce_py-0.5.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fb0f97cfadbb4e936eca55822b1d09fd4b8e65b35c921d7ed0fbb813aba1b99
|
|
| MD5 |
7e727973b349921030b49e7a51f243ea
|
|
| BLAKE2b-256 |
dcb06c141607b383eaa53e87359d7b88f7405905501be5700fa34236207a9d14
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
3fb0f97cfadbb4e936eca55822b1d09fd4b8e65b35c921d7ed0fbb813aba1b99 - Sigstore transparency entry: 870250173
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 858.2 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72045ae6ab0fdb753fd7177e5753cd289dd4fc0777bb92a0ec23417feaaf9e17
|
|
| MD5 |
714f228875360f733ea771086c7d95fc
|
|
| BLAKE2b-256 |
f22ee2df6f790d5951c9d841ae81abf04f49c8074eb177ba19d78465da69092b
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp314-cp314-macosx_11_0_arm64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp314-cp314-macosx_11_0_arm64.whl -
Subject digest:
72045ae6ab0fdb753fd7177e5753cd289dd4fc0777bb92a0ec23417feaaf9e17 - Sigstore transparency entry: 870250342
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7c7f4fc0142e3d02b88e4ec6487a6ceb5f97698a91f9fb482882304624284ca
|
|
| MD5 |
a966130658d026546dda3902d3cee3d9
|
|
| BLAKE2b-256 |
afe2c27e6c0ceacd84082b7692dcf136a6176f49b85639f8ce78e337e0312f0a
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
f7c7f4fc0142e3d02b88e4ec6487a6ceb5f97698a91f9fb482882304624284ca - Sigstore transparency entry: 870250294
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 858.1 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d5428246834116a93f08d46b437fc374c9e072fa634bd78b2297e0a8615e75
|
|
| MD5 |
89f8367f54df1b9d4746ab2d1e7b1ef4
|
|
| BLAKE2b-256 |
40c15721ad4c3103d3d990862d68c71f3745d19baa5ac79411c30a655287b028
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp313-cp313-macosx_11_0_arm64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
d7d5428246834116a93f08d46b437fc374c9e072fa634bd78b2297e0a8615e75 - Sigstore transparency entry: 870250253
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6015dc26226719128dae0bbfe35b65fecd811763fa84067b74ad3faf460ef78c
|
|
| MD5 |
84b9c675039d62ffec098f442a7012a9
|
|
| BLAKE2b-256 |
589a4032d566055ae8dbed91090da3865c1079281ea6b7fc25b87fd8a68c983c
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
6015dc26226719128dae0bbfe35b65fecd811763fa84067b74ad3faf460ef78c - Sigstore transparency entry: 870250408
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 857.7 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c76046534aa01d86765b769fcba26a52643fddc34c21e14db98791ff8644772d
|
|
| MD5 |
9b7851475a5f8e49569aab211286b87f
|
|
| BLAKE2b-256 |
acfb42757c43cf775f6586b6a2968e0b2eab018ece745d1a63212abd5d9b319e
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp312-cp312-macosx_11_0_arm64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
c76046534aa01d86765b769fcba26a52643fddc34c21e14db98791ff8644772d - Sigstore transparency entry: 870250216
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e817642de3de0c9e6ba4d9583841defb41c9086f17f77f18c5d2371a21beaf3
|
|
| MD5 |
1e88d4980a84cab31aaf91cc8ee7c164
|
|
| BLAKE2b-256 |
3913590c9ad00d59327e96885a88659b48f564c6777285d506f47cd95e185360
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
7e817642de3de0c9e6ba4d9583841defb41c9086f17f77f18c5d2371a21beaf3 - Sigstore transparency entry: 870250366
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rayforce_py-0.5.6-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: rayforce_py-0.5.6-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 857.7 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
313c962847a7028675bf8eb97b9e83a235311538fd30477ad02ff671920acf63
|
|
| MD5 |
9d43f005861064aaf2b557a907fc1b65
|
|
| BLAKE2b-256 |
97222b6cbc9237bd91863dc70b0df1519bc51c729f75c4f7ed794cb3f8b7e716
|
Provenance
The following attestation bundles were made for rayforce_py-0.5.6-cp311-cp311-macosx_11_0_arm64.whl:
Publisher:
build-wheels.yml on RayforceDB/rayforce-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rayforce_py-0.5.6-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
313c962847a7028675bf8eb97b9e83a235311538fd30477ad02ff671920acf63 - Sigstore transparency entry: 870250146
- Sigstore integration time:
-
Permalink:
RayforceDB/rayforce-py@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Branch / Tag:
refs/tags/0.5.6 - Owner: https://github.com/RayforceDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@8ea289c6dbfec1f61d031338e1b7f6c860c35877 -
Trigger Event:
push
-
Statement type: