Currently a work in progress, some functionality is currently undocumented. Feel free to help out.
* Makes you hate variable character pixel width
* Provides a list of emojis and their unicode values.
* Randomly select emojis
* Create cool loading animations
### Installation
```bash
pip install libmoji
```
##Documentation
###random()
Returns a random emoji
```python
import libmoji
print(libmoji.random())
```
#####Positional Arguments: **None**
#####Keyword Arguments: **None**
###get_emoji_vals()
Returns a random emoji
```python
import libmoji
print(libmoji.get_emoji_vals())
```
#####Positional Arguments: **None**
#####Keyword Arguments: **None**
###load_moji()
Helps you distract how painstakingly slow your code is, with cool loading animations featuring emojis
```python
import libmoji
from time import sleep
# Displays randomly chosen emojis along with a loading "animation" for ten seconds.
libmoji.load_moji(sleep,args=[10],frames=["LOADING.","LOADING..","LOADING..."])
```
#####Positional Arguments:
* **func**
- The function to run while the animation is playing.
#####Keyword Arguments:
* **args**
*(Default Value: [ ])*
- Any arguments that the function takes
* **kwargs**
*(Default Value: { })*
- Any keyword arguments that the function takes
* **frames**
*(Default Value: [ ])*
- Text animation frames to be looped through
* **fixed_width**
*(Default Value: True)*
- Pad animation frames to the same width
* **text_color**
*(Default Value: "green")*
- Color of frame text (See termcolor for text options)
* **text_attrs**
*(Default Value: ["reverse","bold"])*
- Frame text attributes (See termcolor for text options)
* **width**
*(Default Value: 10)*
- How many emojis to display
* **delay**
*(Default Value: 0.1)*
- Delay between frames in seconds.
Metadata
Release files for libmoji 0.0.5
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 |
|---|---|---|---|---|
| libmoji-0.0.5.tar.gz | 8.4 kB | Without provenance | Details for libmoji-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libmoji-0.0.5-py2-none-any.whl | Python 2 | none | any | Details for libmoji-0.0.5-py2-none-any.whl |
Total release size: 17.6 kB
Release files / libmoji-0.0.5.tar.gz
| Download URL | libmoji-0.0.5.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2db0a3d0e2ca70db05de2872f45bbd11554a9d6a6b6ca7539741542565d6c250
|
|
BLAKE2b-256 checksum How to use checksums |
d8d5da8da9fe4bddbdd10eae0923a634d9ffc6fa2ce27a848a7d0e40cb0d604e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / libmoji-0.0.5-py2-none-any.whl
| Download URL | libmoji-0.0.5-py2-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
7d0b6a3d911ca3875713ac92129807c0e3f3b51f1cc4bb7d1a04da363f5daa0b
|
|
BLAKE2b-256 checksum How to use checksums |
a74e489dbec77da13550f9b3599aca3643f8f55d57e11b59a39a8ad99928bc16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for libmoji 0.0.5
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.