Skip to main content
#libmoji
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.




Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libmoji-0.0.5.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libmoji-0.0.5-py2-none-any.whl (9.2 kB view details)

Uploaded Python 2

File details

Details for the file libmoji-0.0.5.tar.gz.

File metadata

  • Download URL: libmoji-0.0.5.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for libmoji-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2db0a3d0e2ca70db05de2872f45bbd11554a9d6a6b6ca7539741542565d6c250
MD5 1d98ae039223f54a6cd0c1a8434e84b2
BLAKE2b-256 d8d5da8da9fe4bddbdd10eae0923a634d9ffc6fa2ce27a848a7d0e40cb0d604e

See more details on using hashes here.

File details

Details for the file libmoji-0.0.5-py2-none-any.whl.

File metadata

File hashes

Hashes for libmoji-0.0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 7d0b6a3d911ca3875713ac92129807c0e3f3b51f1cc4bb7d1a04da363f5daa0b
MD5 41be7d257f9ca5388904bb0d38e2068f
BLAKE2b-256 a74e489dbec77da13550f9b3599aca3643f8f55d57e11b59a39a8ad99928bc16

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page