Skip to main content

Animated Visual appearance for console-based applications, with different animation styles

Project description

Simple & Dynamic Console Animation Styles for Python

PyPI Version Build Status GitHub Release (latest by date)
Python Versions License PEP8

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

This version

2.2

Download files

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

Source Distribution

dvs_printf-2.2.tar.gz (430.5 kB view hashes)

Uploaded Source

Built Distribution

dvs_printf-2.2-py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page