base114514-0.4
توضیحات
Base114514 encoding, the algorithm from Shimokitazawa
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | base114514-0.4 |
| نام | base114514 |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | ['Yidaozhan Ya'] |
| ایمیل نگهدارنده | ['ydz@yidaozhan.top'] |
| نویسنده | Yidaozhan Ya |
| ایمیل نویسنده | ydz@yidaozhan.top |
| آدرس صفحه اصلی | https://github.com/YidaozhanYa/base114514 |
| آدرس اینترنتی | https://pypi.org/project/base114514/ |
| مجوز | - |
# Base114514
> 🔏 The algorithm from Shimokitazawa.
Base114514 encoding is based on Base64, but replaces each of the 64 characters with a combination of 1, 4, and 5 digits.
| Plain text | Base64 encoded | Base114514 encoded |
| ---------- | -------------- | ------------------------------------------------ |
| 1919810 | MTkxOTgxMA== | 554145511114141151544551145414115541114541144114 |
### Usage
##### CLI
`base114514` cli works like `base64` command from GNU coreutils.
```bash
printf 'いいよ、来いよ' | base114514 # Encode base114514 from stdin
base114514 '野獸先輩.png' # Encode a file to base114514
base114514 --help # To view help message
```
##### Python
`base114514` also works as a Python package like `base64` in Python standard library.
You can install it from PyPI.
```python
import base114514
base114514.b114514encode('いいよ、来いよ'.encode())
base114514.b114514decode(b'554145511114141151544551145414115541114541144114')
```
>Note:
>
>Base114514 is inspired by memes derived from 真夏の夜の淫夢, which should not be abused everywhere and may be offensive.
>
>Don't be a homo kid, start with me.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl base114514-0.4:
pip install base114514-0.4.whl
نصب پکیج tar.gz base114514-0.4:
pip install base114514-0.4.tar.gz