Skip to main content

Base Change

An easy way to switch between bases in Python.

Usage

Install

pip install baseconvertpy

Import

import baseconvertpy

Converting bases

baseconvertpy.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

baseconvertpy.to_baseX(<Number in base 10>, <New Base>, <Charset (Default is characters for up to base 62)>)

Converting from base X to base 10

baseconvertpy.to_base10(<Number in base X>, <Original Base>, <Charset (Default is characters for up to base 62)>)

Metadata

Release files for baseconvertpy 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baseconvertpy 1.0.2
File Size Uploaded
baseconvertpy-1.0.2.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for baseconvertpy 1.0.2
File Interpreter ABI Platform
baseconvertpy-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.1 kB

Release files / baseconvertpy-1.0.2.tar.gz

Download URL baseconvertpy-1.0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8f6166c83bc178b052c3cfd1339b29253b6d56518abeac9b1a3b9b83bc77c850
BLAKE2b-256 checksum
How to use checksums
efb4f7590c3ff3afaf4265c94430bdbb5e0f1d3b339ed758db5ba51f6ebc9507
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / baseconvertpy-1.0.2-py3-none-any.whl

Download URL baseconvertpy-1.0.2-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
584ee2b4b32ac069deb34233c414c915eeb006158ae10e76f5452ddfd9f315cb
BLAKE2b-256 checksum
How to use checksums
bafedfb2b69dc7c1497d1fc1f719610047c1f5b9657241a129ecc97c7dae06fc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page