Numerical base converter, allowing arbitrary floating point precision and conversion between any integer bases
Project description
All Your Base is a python library for converting number strings from any base to number strings of any other base.
This library was created to make the following improvements on existing base conversion libraries out there:
- Can convert both integers and floats
- Uses Decimal package to allow for arbitrary precision / number of digits
- Uses Decimal package to avoid binary rounding errors
- Is not limited to base 36, 62, 64 due to available characters. Can convert to/from any integer base from 2 to whatever you like. (higher bases use delimited decimal format)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size allyourbase-1.0.0-py3-none-any.whl (8.8 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size allyourbase-1.0.0.tar.gz (7.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for allyourbase-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec223da14acc16a4a3a2773c88b3588918a6851b38536177e2bc61b715632ff |
|
MD5 | 2f967e482280cfd59c7d39e343110126 |
|
BLAKE2-256 | c65dd9ea656391b66e1e3111f9a33a36f8ac736cbefe3ebf7b48f264411ef649 |