Skip to main content

No project description provided

Project description

Fast Unit - Rust Unit Management for Python

Originally created as a faster version of Unum for use in Python-based FRC robot code.

Building and Installing for Local Machine

maturin build --release  # This will generate wheels and put a native library in ./fast_unit/
pip install .  # Installs to your python interpreter

Cross Compilation for RoboRIO (WIP)

# Add RIO's target triple
rustup target add arm-unknown-linux-gnueabi

# Set cross-compilation environment variables
export PYO3_CROSS_PYTHON_VERSION=3.10
export PYO3_CROSS_LIB_DIR="RIO_ROOT/usr/lib"  # NEED TO FIND THIS

# Build wheels for RIO
maturin build --release --target=arm-unknown-linux-gnueabi 

Project details


Download files

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

Source Distribution

fast_unit-0.4.0.tar.gz (61.1 MB view hashes)

Uploaded Source

Built Distributions

fast_unit-0.4.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (224.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

fast_unit-0.4.0-cp310-cp310-manylinux_2_24_x86_64.whl (223.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

fast_unit-0.4.0-cp39-cp39-manylinux_2_24_x86_64.whl (223.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

fast_unit-0.4.0-cp38-cp38-manylinux_2_24_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

fast_unit-0.4.0-cp37-cp37m-manylinux_2_24_x86_64.whl (223.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.24+ x86-64

fast_unit-0.4.0-cp36-cp36m-manylinux_2_24_x86_64.whl (220.2 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.24+ x86-64

Supported by

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