Rust-powered, NumPy-compatible array library scaffold.
Project description
Raptors
Rust-powered, NumPy-compatible Python array library scaffolding.
Current release:
0.0.2
Getting Started
This repository contains the initial skeleton for raptors, a Rust-backed
array library exposed to Python. The project is being developed by Odos
Matthews (odosmatthews@gmail.com, GitHub: eddiethedean).
Layout
rust/: Rust crate exposing core functionality viapyo3.python/: Python package wrapper publishing theraptorsmodule.tests/: pytest-based test suite comparing behavior to NumPy.benches/: Benchmark harnesses for performance tracking.ci/: Continuous-integration workflows and scripts.docs/: Documentation sources (overview, guides, references).
Consult docs/overview.md for an expanded project overview and links to the
full plan.
Installation (local development)
# Build and install the Rust extension into your active virtualenv.
maturin develop
# Or build a release wheel.
maturin build --release
Quickstart
import raptors
# Construct arrays from Python iterables or helper constructors.
a = raptors.array([1.0, 2.0, 3.0])
b = raptors.ones(3)
# Run elementwise math and reductions.
c = a.add(b).scale(2.0)
total = c.sum()
average = c.mean()
# Interoperate with NumPy (requires numpy).
import numpy as np
numpy_view = raptors.to_numpy(c)
assert np.allclose(numpy_view, [4.0, 6.0, 8.0])
Continuous Integration
The .github/workflows/build-wheels.yml workflow builds and tests wheels across
Ubuntu, macOS, and Windows for Python 3.9–3.12 using maturin. Successful runs
upload ready-to-use wheel artifacts and exercise the Python bindings via
pytest.
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 Distribution
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 raptors-0.0.2.tar.gz.
File metadata
- Download URL: raptors-0.0.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
611464fe5418dd2cb75898479abbde4d53a3241b0f20bb830f3fd110efba0d1c
|
|
| MD5 |
6652747a9f6bd273285b12d9c76fbf70
|
|
| BLAKE2b-256 |
e8cef7283d92f3692c3935a04af80153cfca574637e21d5ca7e9b5197ec751a0
|
File details
Details for the file raptors-0.0.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: raptors-0.0.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 141.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64ca5b6c5db466fb2d58922384ee4fb2ba7b8738ac79e2ac15f6ae811bb69ffa
|
|
| MD5 |
09ae248b844cb3d5ee3287635d242e4b
|
|
| BLAKE2b-256 |
d8d6e500d182c2d71cacd8ac2fe8d678c99f60c98c1406516f7be781d089c211
|
File details
Details for the file raptors-0.0.2-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: raptors-0.0.2-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 231.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9654fdcaa8347ee6fc9b11d7e102f4ca477838e6e12b2eadab6843cbb2f1b6d5
|
|
| MD5 |
90ae1336890d53cf7e2ce411a5579e36
|
|
| BLAKE2b-256 |
152dfea34ffd28381a71435938a017ec500ec660ce1702be268859dc1a6b591b
|
File details
Details for the file raptors-0.0.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: raptors-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 205.0 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea402122ec3f4c9456b45a47e36a458314ed05e55cf37ba01555dbb6588c2d1b
|
|
| MD5 |
2625d3a32f1d08c681b7bccc26ba9da2
|
|
| BLAKE2b-256 |
ec729165fb38323dc7d5e057e773af926460ce9a2fd8db44f311173d470cffff
|
File details
Details for the file raptors-0.0.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: raptors-0.0.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 141.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d79fa22d05d66c2bfbd5412435fd759a12cac5578add6819459d2f794c643de7
|
|
| MD5 |
63f3b002ab2f56e7180ee473688c2558
|
|
| BLAKE2b-256 |
d718a4d2733b63c5d5316eb4d4b81bcd507ce5edbb58648b512ec83b70dce2fc
|
File details
Details for the file raptors-0.0.2-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: raptors-0.0.2-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 231.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c60209ba4b547b5cb055e5901950c1e22bb4cacf5945ac8aaa9046104d222447
|
|
| MD5 |
c4b7ceb0a7a1fe497327f3e43aaa6258
|
|
| BLAKE2b-256 |
a15325e3d71f356dd9f20eebd5fc555c99408e0b901818ab209d939b11b267d1
|
File details
Details for the file raptors-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: raptors-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 214.7 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869f6c78edc73b05d6fd2ac8a6e0d906102e96c7800cb242614f3b6478a77550
|
|
| MD5 |
5163b2cf8cee81ecf7eebb702c37267e
|
|
| BLAKE2b-256 |
84bd1221701dedd2febf62c272f5f6aeeaf5cc8f0c3b04192f85da394e0bf9a3
|
File details
Details for the file raptors-0.0.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: raptors-0.0.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 141.3 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a21f8d878fd2c48eaede3c0cbffbc31c34c20e9c2c338c998a2090bd9ddd28c
|
|
| MD5 |
8dd699cba78dad9ba7bf2b35db166f3f
|
|
| BLAKE2b-256 |
c958a7c61e3db208c0fa16ceba725f8ff6b8b5aa7f4d258dfa97c3647d04e854
|
File details
Details for the file raptors-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: raptors-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 231.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56225c59d435ebc8d318c7cf5fce111c8aa34d89ccdf6659157d6743c76e274f
|
|
| MD5 |
155c2b043a5f42acacfb5a49bdc23264
|
|
| BLAKE2b-256 |
b282a4b9b389933527a3ed771798ffbf1fda024086e8c68f6222687fcf767170
|
File details
Details for the file raptors-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: raptors-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 205.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f49718a6b336c5cc41ce989d0c8658d638a71c369bc1ba8d0c2bbc396551f9d2
|
|
| MD5 |
6347f0f5222f34cb71be266937b1756f
|
|
| BLAKE2b-256 |
6c8db6cd7f12c5317cc2ca2d64a75b7f0656b4f22ccfcbca09f4bfa703d7b2ce
|
File details
Details for the file raptors-0.0.2-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: raptors-0.0.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 141.6 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71c97fc96cc5511ac98a85c7a6608f53ca710da104430198875b59aa5a741c7f
|
|
| MD5 |
04cdc0599dd53f53c6ad64088b09dad7
|
|
| BLAKE2b-256 |
624e583a554f82f6ddf64c8e95e2ba42eb03d36f31fb6bb8585a79c3dd76e661
|
File details
Details for the file raptors-0.0.2-cp39-cp39-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: raptors-0.0.2-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 231.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee6c4c682c0ba80555eacf76a1147d99630e288dcc7047c0de342a0fc232887
|
|
| MD5 |
65c34598c68c4e694454f60790f14eb3
|
|
| BLAKE2b-256 |
4a0e2ea7d7f53df8ceb8db473c6f904eb43c90a22f7ca7242c3024df649baca7
|
File details
Details for the file raptors-0.0.2-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: raptors-0.0.2-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 205.5 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
880e5e2705e9bf906560c63dd1a17ba5f2e01460174bc3674a8aac1d1fd0a15c
|
|
| MD5 |
de7c3fc399c3bb27c06651e76b5f604c
|
|
| BLAKE2b-256 |
fff1aa0f5ccb2c399c334755641dfbd407d1ff3248e0fd5262c801d87197de4b
|