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.
Source Distribution
Built Distribution
File details
Details for the file allyourbase-1.0.0.tar.gz
.
File metadata
- Download URL: allyourbase-1.0.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0a869b387ff6ecf9c2c18805fe0751c6a8ab0d8264034a188608fbb4e0e1c3 |
|
MD5 | 19a8759c11e6bcc9225568c399634eab |
|
BLAKE2b-256 | 9c8a0e539c5ec2c2d0f40e463a9d40c0ac18d639804cd323806c1a75b4342f44 |
File details
Details for the file allyourbase-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: allyourbase-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec223da14acc16a4a3a2773c88b3588918a6851b38536177e2bc61b715632ff |
|
MD5 | 2f967e482280cfd59c7d39e343110126 |
|
BLAKE2b-256 | c65dd9ea656391b66e1e3111f9a33a36f8ac736cbefe3ebf7b48f264411ef649 |