emojihash-0.1.1
توضیحات
Emoji hash functions
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | emojihash-0.1.1 |
| نام | emojihash |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | v1a0 |
| ایمیل نویسنده | contact@v1a0.dev |
| آدرس صفحه اصلی | https://github.com/v1a0/sqllex |
| آدرس اینترنتی | https://pypi.org/project/emojihash/ |
| مجوز | gpl-3.0 |
# Emoji-hash 😄
Library with hashing tools where hash is emoji(s). Zero dependencies.
## Installation
```shell
pip install emojihash
```
## Simple example
```python
from emojihash import eh1
my_string = "Hello world!"
emoji_hash = eh1(my_string) # eh == Emoji Hash
print(emoji_hash) # 🥳
```
## More examples
```python
from emojihash import eh1
print(
eh1("Hello world!") # "🥳"
)
print(
eh1(42) # "🚳"
)
print(
eh1("I need more emojis!!!", length=12) # "🍤🍧🚮🛄👑🛹⛩💙🙇🎊🍍👚"
)
print(
eh1("I need more emojis!!!", length=2) # "🦈🏼"
)
print(
eh1(b'000', length=2) # "🩹🟠"
)
print(
eh1(u'5p34k 1337', length=4, encode='ascii') # "🍓👣🔩💯"
)
```
نحوه نصب
نصب پکیج whl emojihash-0.1.1:
pip install emojihash-0.1.1.whl
نصب پکیج tar.gz emojihash-0.1.1:
pip install emojihash-0.1.1.tar.gz