Skip to main content

Description

baseXtoY is a simple multi-base converter. It supports base conversions from base 1 to base 36. Numbers contain characters from 1 to 9, and from A to Z. Note that baseXtoY is case-insensitive.

Usage

>>> import baseXtoY
>>> baseXtoY.license()  -->  displays license
baseXtoY.baseXtoY(num, **X, **Y)  -->  converts num from base X to base Y
# X and Y are keywords arguments

# example:
>>> baseXtoY.baseXtoY('FF', X=16, Y=10)  # will work
255
>>> baseXtoY.baseXtoY('FF', 16, 10)  # will not work since X and Y are not positional.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: baseXtoY() takes 1 positional argument but 3 were given

Metadata

Release files for baseXtoY 1.2.post1

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

Source distribution (sdist)

Source distribution for baseXtoY 1.2.post1
File Size Uploaded
baseXtoY-1.2.post1.tar.gz 3.8 kB Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / baseXtoY-1.2.post1.tar.gz

Download URL baseXtoY-1.2.post1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
74726ff9c8df66b36a66f8a0c48c0985df9802de76dc1acfe79a24bac5c9dea5
BLAKE2b-256 checksum
How to use checksums
d8a75330c3c94f285903923444fd21287cc3db765839d59966e6afa3b5e6e95a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

Release files / baseXtoY-1.2.post1-py3-none-any.whl

Download URL baseXtoY-1.2.post1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f56a7ce600e35b2be35cfc3560156f4bdb3ef03b6c8fd2cfe1b8d6da25a43510
BLAKE2b-256 checksum
How to use checksums
ee863aaa70d0044b3c9875364f17ac9d1bf4bff94e09222acf7bb1e79eafe67c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

Release history Release notifications | RSS feed

This release

1.2.post1 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

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