Skip to main content

myFbase

Change to/from any base you like: hexadecimal, binary or whatever you want.

How to use

Installation

$ pip install myFbase

Usage

from myFbase import MyFbase

mfb = MyFbase('abc')
print(mfb.encode(8))  # cc
print(mfb.decode('cc'))  # 8

mfb = MyFbase('0123456789ABCDEF')  # Hex base
print(mfb.encode(15))  # F
print(mfb.encode(16))  # 10
print(mfb.encode(4294967295))  # FFFFFFFF

Release files for myFbase 0.1.1

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

Source distribution (sdist)

Source distribution for myFbase 0.1.1
File Size Uploaded
myFbase-0.1.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for myFbase 0.1.1
File Interpreter ABI Platform
myFbase-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 6.8 kB

Release files / myFbase-0.1.1.tar.gz

Download URL myFbase-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
15d1d25843b824494e2fdd0fca534cb7828eed8b3a2697853dfc94d19da4c518
BLAKE2b-256 checksum
How to use checksums
a410422b9b56d433322326aa54b626d50174a9c07b7e410905da03a18050eacd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.20.0

Release files / myFbase-0.1.1-py2.py3-none-any.whl

Download URL myFbase-0.1.1-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a67501e129b6ac47011e7ddf11a120b51ae6e3983970a2a976c89d6649938b51
BLAKE2b-256 checksum
How to use checksums
f93ef75119adb948447c00750e94ca2cbfda022b0444c1aa322474da3efe4d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.20.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

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