Skip to main content

The worlds best pip package.

Project description

## Loaderr
Ever wonder why the solutions you think of in your head never work? Why your ability to write awesome code is limited? Well here it is – you're not using `Loaderr`.

With `Loaderr`, you can create simple loading icons to use in your projects. Say you want your program to seem like it's processing something?

from loaderr import *
loading("Processing$.$", dots, medium, 5)

It's that simple! With this code, your program will literally halt its progress just to print:


## Tutorial
There are two functions in `Loaderr`.

+ `clear_line()`
Sets the cursor back so text can be printed over it.

+ `loading(string, logo, timing, repeat)`
Creates a "loading" thing.

+ The `string` is determines what surrounds the loading animation. For example `Loading$$` will create `Loading.` -> `Loading..` -> `Loading...`. The two `$` indicate where the animation is placed. If the string is empty, it replaces the entire string.

+ The `logo` is an array that stores the animation. To get the dots, you could do `[".", "..", "..."]`.

+ The `timing` is an array the stores the wait times within each animation. For example, `[0.5]` will display the animation every half a second. `[0.1, 0.2]` will display the first frame after `0.1` seconds and the next after `0.2` seconds.

+ The `repeat` is the amount of times to loop the animation.

## Pre-Sets
There are several pre-defined animations and wait times. These are inside the `` file. For example, `loaderr.table_flip` is `(╯°□°)╯┳━┳` -> `(╯°□°)╯┳━┳` -> `(╯°□°)╯︵┻━┻` -> `(╯°□°)╯︵ ┳━┳`

Project details

Download files

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

Files for loaderr, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size loaderr-1.0.0-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size loaderr-1.0.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page