pyloadart
It displays loading like structure in loopy statement (package)
pyloadart
|
|-- function
| |
| |-- bar()
| |-- arrow()
| |-- doted()
| |-- hash_()
| |-- custom()
| |-- loop
| |
| |-- box()
| |-- arrow()
| |-- clock()
| |-- doted()
| |-- custom()
| |-- inwords()
| |-- outwords()
|
|-- asign
| |
| |-- ExceptionKeyboardInterrupt
| |-- loop
| |-- ExceptionKeyboardInterrupt
|
|-- version
| |__ v0.0.1
|
|-- author
| |_ Madhava-mng
|
|__ The End. Nandrigal...!
>>> import pyloadart as pla
>>> for i in range(500000):
... pla.arrow(i, 500000, msg='banner\\t')
banner 100% [➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢]
Function:
➢ bar
➢ arrow
➢ doted
➢ hash_
➢ custom
Assign:
➢ ExceptionKeyboardInterrupt = False/True
Arg:
➢ current_value => (int) number
➢ expected_value => (int) number
➢ theam => (str) Inside loders "#" or "➢" ...
only in custom
➢ msg => (str) print the message before loaders
➢ unfilled => (str) Fill this char with unfilled areas
➢ number => (Bool) for hide persentage sign and number
➢ color => (str) W => white
R => red
B => blue
G => green
Y => yellow
P => pink like code: \\033[35m
D => disco
the colors displayed according your terminal
color scheam
➢ end_with => (str) end with chars default "[]"
[0] => starts with
[1] => ends with
➢ interval => (int) set intervel to print the loader
To wavering the speed of the program
Examples:
>>> import pyloadart as pla
>>>
>>> for i in range(500000):
... pla.arrow(i, 500000, msg='banner \\t')
banner 100% [➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢]
>>> for i in range(500000):
... pla.arrow(i, 500000, msg='banner2\\t', unfilled='-')
banner2 85% [➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢----------]
>>> for i in range(500000):
... pla.arrow(i, 500000, msg='banner3\\t\\t', number=False)
banner3 [➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢]
>>> for i in range(500000):
... pla.arrow(i, 500000, msg='banner\\t', endwith="()", unfilled='-')
banner4 67% (➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢➢-------------------------)
>>> for i in range(500000):
... pla.custom(i, 500000, msg='banner5\\t', endwith="()", theam="@")
banner5 68% (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@--------------------------)
Exception
>>> pla.ExceptionKeyboardInterrupt = True
➢ bar, dotted, hash_ all are similear to arrow. ➢ Some ascii values are not suported by some terminals, use custom function for that kind of issues.
loop:
Functions:
➢ box
➢ arrow
➢ doted
➢ clock
➢ inwords
➢ outwords
➢ custom
Assign:
➢ ExceptionKeyboardInterrupt = False/True
Arg:
➢ interval => (int) set intervel to print the loader
To wavering the speed of the program
➢ pre_msg => (str) display the message before loader
➢ post_msg => (str) display the message after loader
➢ color => (str) W => white
R => red
B => blue
G => green
Y => yellow
P => pink like code: \\033[35m
D => disco
the colors displayed according your terminal
color scheam
➢ theam => (list) list of char you want to disply
theam = ("\\", "|", "-", "|", "/", "-")
only in custom
Examples:
>>> import pyloadart as pla
>>> while (True):
... pla.loop.box(10, pre_msg = "something loading")
something loading ⠽
>>> while (True):
... pla.loop.box(10, post_msg = "something loading")
⠽ something loading
Exception
>>> pla.loop.ExceptionKeyboardInterrupt = True
see in github
Metadata
Release files for pyloadart 0.0.1
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 |
|---|---|---|---|---|
| pyloadart-0.0.1.tar.gz | 4.9 kB | Without provenance | Details for pyloadart-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyloadart-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pyloadart-0.0.1-py3-none-any.whl |
Total release size: 11.3 kB
Release files / pyloadart-0.0.1.tar.gz
| Download URL | pyloadart-0.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3e384022d0c375fd4de811c4a5fb80bcb5a2be0c92774f1aed01075d5173b82
|
|
BLAKE2b-256 checksum How to use checksums |
bed2138f7f9df9a4b06038051d0d6f37cdafc0ae5bcdc5e72296f8fc63fa7068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1
|
Release files / pyloadart-0.0.1-py3-none-any.whl
| Download URL | pyloadart-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3abbba1bc55ae67cf666a586170b470a19b30c750e5fb264d2ffc68abb164fae
|
|
BLAKE2b-256 checksum How to use checksums |
719aa4e9ede93d9632e93ceaaef3466b5551b9c68cb4c8345943517d423ba6a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1
|
Security for pyloadart 0.0.1
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.