Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

MasterGroosha/pybase100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pybase100

Encode and decode your text using emoji

This repository contais a Python 3 package for Base100 encoding alhorithm. It's simple: instead of alphanumeric strings you operate with emoji. For example:

pybase100 in Telegram bot

Installation: pip install pybase100

Usage:

import pybase100 as pb

string = "Hello, world!"
encoded = pb.encode(string) # Encode the string
print(encoded)
decoded = pb.decode(encoded) # Decode the encoded string
print(decoded)

Credits

A huge thanks to Adam Niederer for his original Base100 version written in Rust: https://github.com/AdamNiederer/base100.
And also to Viktor (https://github.com/stek29) for a great help while making pybase100 (well, most of work with pybase100 is done by him). Btw, he's collecting base100 implementations as well.

About

A Python version of Base100 encoding mechanism

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages