Skip to main content

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


Download files

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

Source Distribution

allyourbase-1.0.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

allyourbase-1.0.0-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

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