Animated Visual appearance for console-based applications, with different animation styles
Project description
Enhanced way to handle console output for python projects. The module offers printf style animation functions designed to improve the visual appearance of terminal-based Python projects. Key features include different animation styles, customizable speeds, and flexible formatting options.
Installation
choose the appropriate one-liner command according to your system.
ensure a Straight Forward setup process.
Linux / macOS
pip3 install dvs_printf
python3 -m pip install dvs_printf
Windows
pip install dvs_printf
python -m pip install dvs_printf
Clone the Repository
git clone https://github.com/dhruvan-vyas/dvs_printf.git
Documentation
printf: The core function of the module, allowing users to apply various animation styles to their values. Supports different data types (string, int, float, list, set, tuple, dict, Any, ...) with (custom object) and classes (numpy, tensorflow, pytorch, pandas) as input. Users can choose from a range of animation styles, including typing, async, headline, center, left, right, and more. Customizable parameters include style, speed, delay, getmat, and the stay option to make the printed values stay or disappear.
dvs_printf.init: A dynamic initializer for printf that allows users to preset parameters for consistent usage.
Priority order for setting parameters: printf's keywords > Setter Variables > dvs_printf.init's keywords > Defaults.
More details on GitHub README.
showLoading: A function for creating loading bars in the terminal, useful for waiting times during tasks like downloading files or running background functions. Users can customize loading text, loading bar, and other parameters.
list_of_str: A supplementary wrapper function used by printf to create new list based on input values. Can handle various data types and optionally convert matrices into list of strings by rows.
The GitHub README file includes clear examples, code snippets, videos, and explanations to assist users in implementing the module effectively. All links above lead to the same file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dvs_printf-2.2.tar.gz
.
File metadata
- Download URL: dvs_printf-2.2.tar.gz
- Upload date:
- Size: 430.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8622103e8534835f93c9e105baeff6542bbfa012b7a40b881fcb7a8841650ca2 |
|
MD5 | 18a5aabaf67c933828860528ad50e947 |
|
BLAKE2b-256 | 41b1f89e8a9d7a8df59a3b50f7a58ef1d85c44a81012600c44e7ae44674ca54d |
File details
Details for the file dvs_printf-2.2-py3-none-any.whl
.
File metadata
- Download URL: dvs_printf-2.2-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e746e24ba65d1bc5d702c180bd45f45a982e59d77bbfd9c610bd2f40e389d6 |
|
MD5 | 4ef1b3601ba228281a6400c5e09e5948 |
|
BLAKE2b-256 | 65e51799c21d81f58685f450e6eb970ecb6e4eada3e587a65f452ade35eb760f |