Arbitrary precision arithmetics.
Project description
rithm
In what follows python
is an alias for python3.5
or pypy3.5
or any later version (python3.6
, pypy3.6
and so on).
Installation
Install the latest pip
& setuptools
packages versions
python -m pip install --upgrade pip setuptools
User
Download and install the latest stable version from PyPI
repository
python -m pip install --upgrade rithm
Developer
Download the latest version from GitHub
repository
git clone https://github.com/lycantropos/rithm.git
cd rithm
Install dependencies
python -m pip install -r requirements.txt
Install
python setup.py install
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
bump2version --dry-run --verbose $CATEGORY
where $CATEGORY
is the target version number category name, possible
values are patch
/minor
/major
.
Bump version
bump2version --verbose $CATEGORY
This will set version to major.minor.patch-alpha
.
Release
Test bumping version
bump2version --dry-run --verbose release
Bump version
bump2version --verbose release
This will set version to major.minor.patch
.
Running tests
Install dependencies
python -m pip install -r requirements-tests.txt
Plain
pytest
Inside Docker
container:
- with
CPython
docker-compose --file docker-compose.cpython.yml up
- with
PyPy
docker-compose --file docker-compose.pypy.yml up
Bash
script:
-
with
CPython
./run-tests.sh
or
./run-tests.sh cpython
-
with
PyPy
./run-tests.sh pypy
PowerShell
script:
- with
CPython
.\run-tests.ps1
or.\run-tests.ps1 cpython
- with
PyPy
.\run-tests.ps1 pypy
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
Hashes for rithm-0.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a460f3e0375becb35f3df08b327511c7032de7daaa5972a507b0c61011bf24 |
|
MD5 | e5459c7dea99935b2e4709a8c7eac3f3 |
|
BLAKE2b-256 | 575192ce4f793e9f3071e7946c57c1411b05d0b379950f46d2e0e034ec095fb8 |
Hashes for rithm-0.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c287fa1d5694ce1c83edb25d8fc73a0c427f68dcd719f3446fda1ce7de0b69 |
|
MD5 | 3fd2ff63b6b88b962b2f89f01d78ffcd |
|
BLAKE2b-256 | 6ab307912803ec1a3bbe60281eb1f8ddd7898ed779b67079c1794b30dfda989b |
Hashes for rithm-0.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404fef60117c2ae6c91315c7bdd88ec3c25ebd3e8cddb11483214e67d3f93d12 |
|
MD5 | 454fa315850baa5b260cd93f84869ec1 |
|
BLAKE2b-256 | 905048059a50645d81d1bfbf42a99211a39750391db49cd5fdefd332fc356d6c |
Hashes for rithm-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65532156bbf4e079033397be483678d8f84e1a393e96ee0ff08f162db4eee5d |
|
MD5 | 1c5cd0010b0e207b9de2b373ecfac808 |
|
BLAKE2b-256 | c75ff0cdac67c5cc4c6de74bb04a4652126c8f0c965b5c49797c3879991b5f4c |
Hashes for rithm-0.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b1c7b668cf4f735f132c565df058f17ab32a11ea95969d5e2542d9171c4d4c |
|
MD5 | 61f2ca5992dcdba48785a6e2edb1d516 |
|
BLAKE2b-256 | 36f75ca4ca93dc77662a6c56dadd672138197975adba1f745adafad929fd18f8 |
Hashes for rithm-0.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f59a23ad435459d731e15900e3c856722b919c31240539099e69eac2cd8862 |
|
MD5 | 25248c23cc0061571b4f47c07c496443 |
|
BLAKE2b-256 | d22d9f33e0af204a46119c1c28c90dde3a6bacd403fdcc54224f3b26a60e5e6b |
Hashes for rithm-0.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3dfabf574e80c8f9916f602e338a6767138c561103d1ba0b0fa92fa986d4ed |
|
MD5 | 96a3ec8d4de3ddf63f2aaa1a3cc12e70 |
|
BLAKE2b-256 | 272f5c33f6f26b6064c780379ed446e8d8b9164406a4fdc996afb950ab3be8db |
Hashes for rithm-0.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29550b3691390fc2f5b7a1563b85eada27a1fe764becced61574aa0737cbb8be |
|
MD5 | 959d1a2051ffd7195c7f46686df63350 |
|
BLAKE2b-256 | 221d36f58cf0b5740f739b365587003c6068adb422f2c2f3d24067badff4c4d9 |
Hashes for rithm-0.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31719fe1e7355e832ad48c6c7a7c785d7ef7293740338c18e74856ce6058c2ef |
|
MD5 | 3b8348c39e778fea74e699a45e39de97 |
|
BLAKE2b-256 | 6d809e01e67637631d602a51e5244d81e1a115bf1ead6f75b5f039d410b9d170 |
Hashes for rithm-0.0.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ad93069a82a41ad1be69fdc2b39dd452ff229c1461b6fa18a3f5437647bd91 |
|
MD5 | 9e74edeffe7895d3506959fc79cf9c03 |
|
BLAKE2b-256 | 52c4ad1c04e28b6b37fc001e7e30f45d6470f2cc906f5ea9b17edaef52c65251 |
Hashes for rithm-0.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed02cb004cdecdd59e2c69060702ae356dad3c065d287424289c762dda369aa |
|
MD5 | 1f1bf104d01a811e95c8c19492b74f17 |
|
BLAKE2b-256 | 9b1815f930a4901a9c7d823fda58e10d38eb7cc904ce457dfe5be3c1ca4426ad |
Hashes for rithm-0.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab2c7f24aa7768ce61a65241202a3922fc7bec4c1321123cb93a5938bd24a9f |
|
MD5 | ed4fbe6fbc4efe40c80b2d842172110e |
|
BLAKE2b-256 | 71f565e6955f2cabeec2952ab6d51a309ab09fae3a8740240669cc69446d9c6c |
Hashes for rithm-0.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ea6034c12bfd662490ace2138276660eb0413594a1344fb820f97fb862d4a9 |
|
MD5 | 0deb10de20337a7aa9e496a113c61875 |
|
BLAKE2b-256 | 2e1942a96f2e0003f383fbcea5cf3fce13c2a96d944e0ed4320945da4cd268d6 |
Hashes for rithm-0.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fb739c0ec4d2b7b2b2e560981b10eb5ca7a54f98c9e62110759c64ad86bd27 |
|
MD5 | 55f840f54e96b6b10aba9e467f83159c |
|
BLAKE2b-256 | 1c3e1f48bbef63dbca939b3791cf1e5212ad5893b2758793d5ea55dd1c633f2d |
Hashes for rithm-0.0.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b6a959b79d06eade579c8eef6067bdbafe3ce227610f09aa193888d376859fb |
|
MD5 | ff21c500c8a406cc4af6d32a8f4d7ef4 |
|
BLAKE2b-256 | 751badbdc45be3e8c7dd9e4f5c93ed2c1e5af9afc68098a84592c3bdf4febecd |
Hashes for rithm-0.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0b420fd6b5ca81abcedb35e1c22f8c270be51ef51ab992a10ff297638f3303 |
|
MD5 | c56225c32f9ba762973314d19509a0f4 |
|
BLAKE2b-256 | 05c3e51b4aea5185cdf56560524deb8706e0ec4ad4aa8ea8423c4d5744944b31 |
Hashes for rithm-0.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ba025bb1c1eab66901012201dd3cf7863f8f11216e5f5a4e8cb0a1fdb57418 |
|
MD5 | 4685c5a6702ff8e4ed4cfb6dd396cba6 |
|
BLAKE2b-256 | 547138c6e390e9d2ac17518deca99512632106bae6b4e9309606f18b5e084fe2 |
Hashes for rithm-0.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c716ca382882218d2de38f6d39bc3c572fdd64a3aa07af8517e3cd95da6a9e52 |
|
MD5 | 535357aad016a17cffc05e3080eb49e8 |
|
BLAKE2b-256 | d2adc87c154c2c7d053f4432b2d6e8751af3e12f0146a9e976483378f1ea286a |