Skip to main content

Python bindings for RayforceDB

Project description

High-Performance Lightweight Python ORM designed for RayforceDB

Documentation Coverage Release Python Version

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

RayforcePy Benchmarks

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rayforce_py-0.5.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

rayforce_py-0.5.11-cp314-cp314-macosx_11_0_arm64.whl (942.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

rayforce_py-0.5.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

rayforce_py-0.5.11-cp313-cp313-macosx_11_0_arm64.whl (942.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rayforce_py-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

rayforce_py-0.5.11-cp312-cp312-macosx_11_0_arm64.whl (942.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rayforce_py-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

rayforce_py-0.5.11-cp311-cp311-macosx_11_0_arm64.whl (942.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file rayforce_py-0.5.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ac18b9977e7c1eb0625e7e73df43dc9e805c9ccb2b42b2756e0c52b9c268615
MD5 6d73798120a5b48fc2cda12378b0fe57
BLAKE2b-256 87c396706b3ce7e8e2fb12de52e3390dcbd11d144875157f81696cf97f8f97e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d63dc3ef69c85307cfb9848c341214ea145585f631582e755b7fd151407aac06
MD5 d4b8634237d175004692d71f003412b9
BLAKE2b-256 2d532e1aa4f83cff29b2573d0605e0411af49d63cc9a634211ee2ec3b33b2d7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c48b20074cc7783d454f444e653306e031b26315492fcd4cbe2ba64b40b60b3
MD5 d52330ae872f929ccfc60ffa2201f186
BLAKE2b-256 54e0cff8cac9745d6bf9a4f89d5033d97e01f004d8af8670dddd9a9de94de9ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b7dd41c8f90f3f13be5919d8fabd6d4c1208fd5143a9d72006277d42493475c4
MD5 157a24cb9eb1b1883a64856d3f5143e0
BLAKE2b-256 aa90ce8f198826c51c1c484bf292f4a3a135aad3f61c6b7640263ff40f6fc325

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a7238a0c699323292f213a88c4ac98593161a499a594a044280ea6c80c449e7
MD5 653284515d51f789150b4edaf24d2c89
BLAKE2b-256 983f3873eaae90e4acfd0cd1b729ddbc0048d78a3a1fc5dfbd3a1eb45c257652

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 16245b99b52c1908c2904d41ada728be19f7085fb8b734396639bf0a4b42cd3c
MD5 addcdb37a5b952b86acb1733f478b825
BLAKE2b-256 2cd48ef31403e25430521b57a7a878b4ba036954584a89976338ce0032d985c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c16a73fbfc085afd7ab699d64bec9bc3ed9ea8be4d505b0c6085c1e284e9d09
MD5 53aa7d706cc8b6979873e16b76295b97
BLAKE2b-256 8f2329e3cffa1647cfbeb600fe872d55f541dcd3a89be0585adf9cfc35d76aea

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rayforce_py-0.5.11-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rayforce_py-0.5.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f1bf9e16d99b5157c1ae644315b5ad4b9e8eea245ae3af9a1533ee872d1fa8e
MD5 28eeae6b21691ebf78637aaa566ead6c
BLAKE2b-256 b6aedbd9936f473e41165ce63223891bfcfa29f1c68c9192c6fd48f502a8888d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rayforce_py-0.5.11-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on RayforceDB/rayforce-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page