Metadata-Version: 2.1
Name: myFbase
Version: 0.1.1
Summary: Change to/from any base you like
Home-page: https://github.com/victor141516/myFbase
License: UNKNOWN
Author: victor141516
Author-email: yomellamovictor@gmail.com
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License

# 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

