dashu-rs
What is dashu?
dashu is an arbitrary-precision number library
written in pure Rust, aiming to be a Rust-native alternative to GNU GMP + MPFR. It
provides unlimited-precision integers, rationals, floats, and complex numbers with
correct rounding, split across a set of Rust crates (dashu-int, dashu-float,
dashu-ratio, dashu-cmplx, …).
What is dashu-rs?
dashu-rs is a standalone Python package that brings dashu's number types to
Python. It is a native extension built with PyO3, distributed as
a prebuilt wheel on PyPI, and installs
anywhere with pip — no Rust toolchain, no compiler, and no knowledge of the
dashu Rust crates required:
pip install dashu-rs
from dashu import UBig, IBig, RBig, FBig, DBig, CBig
The exposed types — arbitrary-precision integers (UBig/IBig), rationals
(RBig), binary/decimal floats (FBig/DBig), and complex numbers (CBig) —
are Send + Sync (free-threaded-Python compatible), accept native Python
numbers in their constructors, and interoperate with int/float/Fraction in
arithmetic.
Usage
See USAGE.md for the full guide — installation, constructors,
operations, formatting, transcendentals, and the module-level math API.
It is also rendered in the dashu user guide at https://zyxin.xyz/dashu/python.html.
Release files for dashu-rs 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dashu_rs-0.6.1.tar.gz | 789.8 kB | Details |
Built distributions (wheels)
Total release size: 21.4 MB
Release files / dashu_rs-0.6.1.tar.gz
| Download URL | dashu_rs-0.6.1.tar.gz |
|---|---|
| Size | 789.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
597418f1b37c33ce07898c4d9f64f1e693b8bfe0af9790c6477887385fdff375
|
|
BLAKE2b-256 checksum How to use checksums |
b0ec79b4061efefc7051caccfe2256279a10b25dc4571a28b32f640660e23d4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp314-cp314-win_amd64.whl
| Download URL | dashu_rs-0.6.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b5a27211100b4a968b5d87b70dd401ad3a26c1b77ca11876fb4cd8d3df1ad3c3
|
|
BLAKE2b-256 checksum How to use checksums |
6adf9658eb97c8afc925eb5ce7f45c5563501f1f7af338b99458f47561c3cb98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dashu_rs-0.6.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fe6b3326925eaab26e5f3e7f5f4d0bcabd00b38f36b0373f5f15055417fec695
|
|
BLAKE2b-256 checksum How to use checksums |
5f6a2fb9c4e8fca4dcc10e3de25611b665cc92bf9799a54017275aec5f4264cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | dashu_rs-0.6.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
06e97dd45b0e318b915b6cc912f114f68d7f536732c9e846cb06647aeba942f1
|
|
BLAKE2b-256 checksum How to use checksums |
2bb0b7619fd77f36bd2838900d19aa0b636286c66f23f4e1788866e223e4e148
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | dashu_rs-0.6.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
5aea9b8c003f04f53d33523cae51fa3c44bb47dc9976788f17ba375dc950cf2d
|
|
BLAKE2b-256 checksum How to use checksums |
e79a37bb14e0e1288edc93b170f82220f5a18c592031b0393db22338d01839ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | dashu_rs-0.6.1-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.14 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c6323f76603cddaaa70ba12a3e20837ce339d2d1515cd18b13c1f04a363a0ba2
|
|
BLAKE2b-256 checksum How to use checksums |
cb53e097be3da99e35b2937ba6290315e474758adb3faf8084082372e5fdb303
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp312-cp312-win_amd64.whl
| Download URL | dashu_rs-0.6.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc250867e8267933732d3dc84450fe50e5fbd009aaa5b7d3f26dcef7c6c05e50
|
|
BLAKE2b-256 checksum How to use checksums |
5f118db399dd166903ca3935d2541d8028eeb0f6e2e87e37614a42703ef3bd21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dashu_rs-0.6.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8572c25bb8067c70c57fe9374a09f814693ca2c910990cca0eebfa3c919c3fe8
|
|
BLAKE2b-256 checksum How to use checksums |
02dd73e3ba7e28fb5b79e942f14bd719af0359278a24cecaee6f94a3a693675d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | dashu_rs-0.6.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
d585211288ba17ec41a84c89e230402f7e60c4ef37777569725f746b1322f004
|
|
BLAKE2b-256 checksum How to use checksums |
146616182ba15fc24756cd2a0f6c201ea3574c459c275b6d661bc998e90e5e60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | dashu_rs-0.6.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
7bb5e8e7dd93b532b2863fc8e4ac8fe5f9d43162839fce5d35d2fd18e1936207
|
|
BLAKE2b-256 checksum How to use checksums |
361f431fff4ca9679820d214478ef056d40d40d4426b28eb67ff7759cbc76038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | dashu_rs-0.6.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
20e6241d6f3f4e395443179558d4742e08b40217a0d867b18c55e7ce02de341e
|
|
BLAKE2b-256 checksum How to use checksums |
8acac9830a39beb2698a5ad80ee9718d1d1c38343c656e0b63e4b6e8c1cf9b16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp310-cp310-win_amd64.whl
| Download URL | dashu_rs-0.6.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5124393789ad77db1d9d595e1d823659d01ff45508d7a59ced098e9bb149feef
|
|
BLAKE2b-256 checksum How to use checksums |
adadc1b7841c79f0dcdd03fe0341673e297504a9248fa65062e5036a03570e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dashu_rs-0.6.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
314d40ecc83aa1e52dbdce14310c3ee3256a1a139e297c20c5c4ea1f37cc750f
|
|
BLAKE2b-256 checksum How to use checksums |
1375e569f8cc2498d5e2a5c134ca465a3ff734e2811be9acac01b196eb51a038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | dashu_rs-0.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
daa214187dbabfddf306bf4805c7629b25ab15af8e4d2c88f3597ec1580620fa
|
|
BLAKE2b-256 checksum How to use checksums |
e08c1fd8299660730713cac68f765cd2ab9aa3d668a4f28ad202c039483d6b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | dashu_rs-0.6.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
9ba8c2465b2cda8150b2b2cb8b369b3117be571b47f1bfb8742921f4c4074c51
|
|
BLAKE2b-256 checksum How to use checksums |
900b463c3aa94c98c3bb3aa7c93c3d164e25d367a009d459ce29cb41323844a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / dashu_rs-0.6.1-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | dashu_rs-0.6.1-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.9 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0f9dd70bfc3bb3546e6f406770cf4b140e75e6de59969b18d219fad48ae735f8
|
|
BLAKE2b-256 checksum How to use checksums |
7d7408bfaa0e8b2b39cc8b3088efbfc6bfa180daad0653e8ad919c60ce4a2665
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|