what is tekrar
create loading animation in python cli project ...
installation
-
install by pip
# linux sudo python3 -m pip install tekrar # windows py -m pip install tekrar -
install by setup.py
# linux sudo python3 -m pip install https://github.com/sys113/tekrar/archive/0.1.1.zip # windows py -m pip install https://github.com/sys113/tekrar/archive/0.1.1.zip
example
-
function
- 1 : curl download file
arguments used : function, argument, speed, output - 2 : write numbers 1 to 333333 in a file
arguments used : function, speed, method, output and save function return value
- 1 : curl download file
-
sleep
-
1 : show loading animation for a few seconds
arguments used : sleep , speed , method
description
-
speed
# set loading speed ... # range 1 to 10 ... # default value is 3 ... speed = 5
-
method
# set loading animation method ... # only 1 or 2 ... # default value is 1 ... method = 2
-
sleep
# pause the python cli project and display the loading animation for 8 seconds ... # maybe a unique example similar to time.sleep ... # argument 'sleep' must be a int type ... # cannot use simultaneously 'sleep' and 'function' argument ... sleep = 8
-
function
# show loading if 'x' function running ... # cannot use simultaneously 'sleep' and 'function' argument ... function = x
-
argument
# use this method if 'function' has 'argument' ... # argument 'argument' must be a int type ... argument = ['tekrar','SYS113']
-
output
# if 'function' has arguments then use this way for hide function output ... # default value is True # argument 'output' must be boolean type ... output = True
-
save function return value
# call tekrar.loading function in a variable ... save_return_value = tekrar.loading(function = func, argument = ['hi'], output = True, speed = 5, method = 2)
copyright
copyright SYS113 - 2019.
license
MIT license , please see LICENSE file.
donate
- for iranian users : id pay - https://idpay.ir/sys113
- for global users : BTC wallet id - 149JgUmFqG6MvFg79Ldrvdk2bN35ByhMuw
contact me
last world
hope this is tekrar useful to you and enjoy it.
tekrar logo ❤️ mohamad moradiyani
Metadata
Release files for tekrar 0.1.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 |
|---|---|---|---|---|
| tekrar-0.1.1.tar.gz | 8.4 kB | Without provenance | Details for tekrar-0.1.1.tar.gz |
Release files / tekrar-0.1.1.tar.gz
| Download URL | tekrar-0.1.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f1326a1be007f237dad3a2c7d2eb2b1997808cf523fd512d77e155eb5f5b763
|
|
BLAKE2b-256 checksum How to use checksums |
218e638c789c466bcccf89ec07c1e19cfe61c945f8e891e6ede681dfe4e03eb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Security for tekrar 0.1.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.