Pyemojify
Substitutes emoji aliases to emoji raw characters. Simple but sweet :smile:
Installation
$ pip install pyemojify
Usage
CLI
Use pyemojify -t text, for example:
$ pyemojify -t "Life is short :smile: , use :sparkles: Python :sparkles:" Life is short 😄 , use ✨ Python ✨.
Pyemojify also support pipeline, for example:
$ echo "Life is short :smile: , use :sparkles: Python :sparkles:" | pyemojify Life is short 😄 , use ✨ Python ✨.
This one is very useful for git commit messages, use the following one and you’ll see you emoji friends again!
$ git log --oneline --color | pyemojify | less
API
>>> from pyemojify import emojify
>>> text = emojify("Life is short :smile: , use :sparkles: Python :sparkles:")
>>> print(text)
Life is short 😄 , use ✨ Python ✨.
Credits
It’s a python port of the original emojify, all the glories should belong to mrowa44.
License
MIT
Metadata
Release files for pyemojify 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyemojify-0.2.0.tar.gz | 10.7 kB | Without provenance | Details for pyemojify-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyemojify-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyemojify-0.2.0-py2.py3-none-any.whl |
Total release size: 22.8 kB
Release files / pyemojify-0.2.0.tar.gz
| Download URL | pyemojify-0.2.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bbc3c8d52e3df3e4039bc0cad3616d3eb579b4c6e15a11bd5e0ef0d579596a9
|
|
BLAKE2b-256 checksum How to use checksums |
1122716933732dca1a6aa0e76775b989bfee8852efe98d047c77879b3ee96386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyemojify-0.2.0-py2.py3-none-any.whl
| Download URL | pyemojify-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e70e4cfcfe0aed7b5bc64f39b023d5d62a5f5c0c31c1b7114cd43a059fb14a72
|
|
BLAKE2b-256 checksum How to use checksums |
59f1c7efdd1d7dcf296796d9e68071d5ec8e5b89cad73c2fbd4a6894284c4955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyemojify 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.