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.

Files for allyourbase, version 1.0.0
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page