Skip to main content

carefree-pyo3

cfpyo3 is a collection of performant utilities.

Installation

carefree-pyo3 requires:

  • Python 3.12 or higher.
  • numpy < 2.x, because currently rust numpy doesn't support numpy 2.x.
pip install carefree-pyo3

carefree-pyo3 supports Python 3.8 at version 0.1.x, but it is no longer maintained.

Test

pytest

Benchmark (Rust)

cargo bench -F criterion -p cfpyo3_rs_core -- --verbose

Architecture

This project is divided into four parts - looks clumsy, but I'll introduce them and explain their necessity.

cfpyo3_rs_core

This is the Rust core of the project, and is meant to be responsible for the heavy lifting. Its necessity is almost self-explanatory.

cfpyo3_rs_bindings

This one looks redundant at first glance, as we already have cfpyo3_rs_py. Initially this member did not exist, until I find some bindings in cfpyo3_rs_py very useful, want to reuse them, and failed because:

  • It is not an rlib.
  • Even I managed to make it an rlib, it's just not good to import the whole package because cfpyo3_rs_py itself is exposing lots of APIs to Python.

Another choice is to put these useful bindings in cfpyo3_rs_core, but then GitHub CI cannot build it for whatever reason.

So at last, this member is born.

cfpyo3_rs_py

This is the 'direct' Python bindings of this project. It is just a REALLY thin wrapper around cfpyo3_rs_core and cfpyo3_rs_bindings, and is responsible for exposing the APIs to Python.

cfpyo3

This is the Python package that users will interact with. It is a relatively thin wrapper that dispatches the calls to cfpyo3_rs_py.

A typical use case is the f32 & f64 dispatch.

Metadata

Release files for carefree-pyo3 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carefree-pyo3 0.2.2
File Size Uploaded Provenance
carefree_pyo3-0.2.2.tar.gz 55.9 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for carefree-pyo3 0.2.2
File
carefree_pyo3-0.2.2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_24_aarch64.whl CPython 3.12 abi3 Linux glibc 2.24+ ARM64 Details
carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details
carefree_pyo3-0.2.2-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
carefree_pyo3-0.2.2-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 2.6 MB

Release files / carefree_pyo3-0.2.2.tar.gz

Download URL carefree_pyo3-0.2.2.tar.gz
Size 55.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a0808fc3e9a3487007c0b163404732931d5ad608382e3d4da880706d31edeca
BLAKE2b-256 checksum
How to use checksums
04db869a7a8cd83db1a29e52792264cd01838946cb329795e559ef9cb96427a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / carefree_pyo3-0.2.2-cp312-abi3-win_amd64.whl

Download URL carefree_pyo3-0.2.2-cp312-abi3-win_amd64.whl
Size 406.8 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
cc51b95d8725519657bfb5c1b8497c93279cc39b9048a9472edc89f1a9f431dc
BLAKE2b-256 checksum
How to use checksums
2fdb6b8d1e3cd722e29aca15187084f6f35fcaab014a6cc6083128aaee8b3102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_24_aarch64.whl

Download URL carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_24_aarch64.whl
Size 543.0 kB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
ee6742f96a7953f934b201f68ab413f4a80499ea8c631012590a740c6d934c87
BLAKE2b-256 checksum
How to use checksums
2d61c9f5aa4ff8ca1fb988e2a40a2f3f730205b02f6cb3dbdb161e9e1d135751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL carefree_pyo3-0.2.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 578.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
710ef0e0e5b5deb95c8600abac2ac067acd1572eea558bc2621b78fef36fd5ad
BLAKE2b-256 checksum
How to use checksums
4b68f4440bf34d8c7bc2d98b5108cc52da5b727515154dd3b7227108913fb0b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / carefree_pyo3-0.2.2-cp312-abi3-macosx_11_0_arm64.whl

Download URL carefree_pyo3-0.2.2-cp312-abi3-macosx_11_0_arm64.whl
Size 493.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3cdb0ddfac4b7b82ee15081e28c467e6903c74c612763899a38ac0954f72b195
BLAKE2b-256 checksum
How to use checksums
5dc05d7d5585ab2fbe40f0a346de8a30d56e67119f504c9662fbb3f3509bff88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / carefree_pyo3-0.2.2-cp312-abi3-macosx_10_12_x86_64.whl

Download URL carefree_pyo3-0.2.2-cp312-abi3-macosx_10_12_x86_64.whl
Size 534.9 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c70004b64b425550efc052e0dbfeecd215ec76b695df61a153dfec401ab8bc69
BLAKE2b-256 checksum
How to use checksums
e40049a0f527fe17989f971dd0ddaa5795755df8210cd746d19538c2bd415391
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Security for carefree-pyo3 0.2.2

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