A simple way to convert numbers from one base to another.
Reason this release was yanked:
Bugged
Project description
Base Change
An easy way to switch between bases in Python.
Usage
Import
from baseconvertpy import *
Converting bases
convert(<Number>, <New Base>, <Original Base (Default is 10)>, <Charset (Default is characters for up to base 62)>)
Converting from base 10 to base X
to_baseX(<Number in base 10>, <New Base>, <Charset (Default is characters for up to base 62)>)
Converting from base X to base 10
to_base10(<Number in base X>, <Original Base>, <Charset (Default is characters for up to base 62)>)
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
baseconvertpy-1.0.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file baseconvertpy-1.0.0.tar.gz
.
File metadata
- Download URL: baseconvertpy-1.0.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 759658fa3eb9233cb10c745cc0d57cb84cb72e69f714f82d09cbce4833077b29 |
|
MD5 | 8eb8783620ad09ef0adbe4f52441ea98 |
|
BLAKE2b-256 | fa11d9e981d345b206fec974854588c322a752eba8a3642fc2b035eb9615b659 |
File details
Details for the file baseconvertpy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: baseconvertpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf551377298c46fa64a59dc78a01d3469bf2b5b13c9c3157948cbe9180a95012 |
|
MD5 | 49ac0a5297e6691a4fe5a36f73597702 |
|
BLAKE2b-256 | 1b0f67f55a3762199422a60453841707b632f231b2e7a75ceaf88f63125f3020 |