<div align="center">
<h3>Simple & Dynamic Console Animation Styles for Python</h3>
[![PyPI Version](https://badge.fury.io/py/dvs-printf.svg)](https://badge.fury.io/py/dvs-printf)
[![Build Status](https://github.com/dhruvan-vyas/dvs_printf/actions/workflows/module_test.yml/badge.svg)](https://github.com/dhruvan-vyas/dvs_printf/actions)
[![GitHub Release (latest by date)](https://img.shields.io/github/v/release/dhruvan-vyas/dvs_printf)](https://github.com/dhruvan-vyas/dvs_printf/releases/tag/v2.2)<br>
![Python Versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/dhruvan-vyas/dvs_printf/blob/main/LICENSE)
[![PEP8](https://img.shields.io/badge/PEP8-compliant-brightgreen.svg)](https://www.python.org/dev/peps/pep-0008/)
<a href="https://github.com/dhruvan-vyas/dvs_printf">
<img src="https://github.com/dhruvan-vyas/dvs_printf/blob/main/card.png?raw=true">
</a>
</div>
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.
<br>
# Installation
choose the appropriate one-liner command according to your system. \
ensure a Straight Forward setup process.
### Linux / macOS
```bash
pip3 install dvs_printf
```
```bash
python3 -m pip install dvs_printf
```
### Windows
```bash
pip install dvs_printf
```
```bash
python -m pip install dvs_printf
```
### Clone the Repository
```bash
git clone https://github.com/dhruvan-vyas/dvs_printf.git
```
<br>
# Documentation
<a style="text-decoration:none" href="https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#printf-function">**printf**</a>:
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.
<a style="text-decoration:none" href="https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#dvs_printfinit-method">**dvs_printf.init**</a>: A dynamic initializer for printf that allows users to preset parameters for consistent usage. <br>
Priority order for setting parameters: **printf's keywords** > **Setter Variables** > **dvs_printf.init's keywords** > **Defaults**.<br>
More details on GitHub README.
<a style="text-decoration:none" href="https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#showLoading-function">**showLoading**</a>:
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.
<a style="text-decoration:none" href="https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#list_of_str-function">**list_of_str**</a>:
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.
<br>
***
The <a style="text-decoration:none" href="https://github.com/dhruvan-vyas/dvs_printf#dvs_printf">GitHub README</a>
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/dhruvan-vyas/dvs_printf",
"name": "dvs-printf",
"maintainer": "dhruvan_vyas",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "printf, animation, console, terminal",
"author": "Dhruvan Vyas",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/41/b1/f89e8a9d7a8df59a3b50f7a58ef1d85c44a81012600c44e7ae44674ca54d/dvs_printf-2.2.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n\n<h3>Simple & Dynamic Console Animation Styles for Python</h3>\n \n[![PyPI Version](https://badge.fury.io/py/dvs-printf.svg)](https://badge.fury.io/py/dvs-printf)\n[![Build Status](https://github.com/dhruvan-vyas/dvs_printf/actions/workflows/module_test.yml/badge.svg)](https://github.com/dhruvan-vyas/dvs_printf/actions)\n[![GitHub Release (latest by date)](https://img.shields.io/github/v/release/dhruvan-vyas/dvs_printf)](https://github.com/dhruvan-vyas/dvs_printf/releases/tag/v2.2)<br>\n![Python Versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/dhruvan-vyas/dvs_printf/blob/main/LICENSE)\n[![PEP8](https://img.shields.io/badge/PEP8-compliant-brightgreen.svg)](https://www.python.org/dev/peps/pep-0008/)\n\n<a href=\"https://github.com/dhruvan-vyas/dvs_printf\">\n <img src=\"https://github.com/dhruvan-vyas/dvs_printf/blob/main/card.png?raw=true\">\n</a>\n\n</div>\n\nEnhanced way to handle console output for python projects. The module offers **printf** style animation \nfunctions designed to improve the visual appearance of terminal-based Python projects. Key features \ninclude different animation styles, customizable speeds, and flexible formatting options.\n\n<br>\n\n# Installation\nchoose the appropriate one-liner command according to your system. \\\nensure a Straight Forward setup process. \n\n### Linux / macOS\n```bash\npip3 install dvs_printf\n``` \n```bash\npython3 -m pip install dvs_printf\n```\n\n### Windows\n```bash\npip install dvs_printf\n```\n```bash\npython -m pip install dvs_printf\n```\n\n### Clone the Repository\n```bash\ngit clone https://github.com/dhruvan-vyas/dvs_printf.git\n```\n\n<br>\n\n# Documentation\n\n<a style=\"text-decoration:none\" href=\"https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#printf-function\">**printf**</a>: \nThe core function of the module, allowing users to apply various animation styles to their values. Supports different data types \n(**string, int, float, list, set, tuple, dict, Any,** ...) with (**custom object**) and classes (**numpy, tensorflow, pytorch, pandas**) \nas input. Users can choose from a range of animation styles, including typing, async, headline, center, left, right, and more. \nCustomizable parameters include **style, speed, delay, getmat**, and the **stay** option to make the printed values stay or disappear.\n\n<a style=\"text-decoration:none\" href=\"https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#dvs_printfinit-method\">**dvs_printf.init**</a>: A dynamic initializer for printf that allows users to preset parameters for consistent usage. <br>\nPriority order for setting parameters: **printf's keywords** > **Setter Variables** > **dvs_printf.init's keywords** > **Defaults**.<br>\nMore details on GitHub README.\n\n<a style=\"text-decoration:none\" href=\"https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#showLoading-function\">**showLoading**</a>: \nA function for creating loading bars in the terminal, useful for waiting times during tasks like downloading files or running background functions. \nUsers can customize loading text, loading bar, and other parameters.\n\n<a style=\"text-decoration:none\" href=\"https://github.com/dhruvan-vyas/dvs_printf?tab=readme-ov-file#list_of_str-function\">**list_of_str**</a>: \nA supplementary *wrapper function* used by *printf* to create new list based on input values. \nCan handle various data types and optionally convert matrices into list of strings by rows.\n\n<br>\n\n***\n\nThe <a style=\"text-decoration:none\" href=\"https://github.com/dhruvan-vyas/dvs_printf#dvs_printf\">GitHub README</a> \nfile includes clear examples, code snippets, videos, and explanations to assist users in implementing the module effectively. \nAll links above lead to the same file.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Animated Visual appearance for console-based applications, with different animation styles",
"version": "2.2",
"project_urls": {
"Documentation": "https://github.com/dhruvan-vyas/dvs_printf/blob/main/README.md",
"Homepage": "https://github.com/dhruvan-vyas/dvs_printf",
"Source": "https://github.com/dhruvan-vyas/dvs_printf",
"Tracker": "https://github.com/dhruvan-vyas/dvs_printf/issues"
},
"split_keywords": [
"printf",
" animation",
" console",
" terminal"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "65e51799c21d81f58685f450e6eb970ecb6e4eada3e587a65f452ade35eb760f",
"md5": "4ef1b3601ba228281a6400c5e09e5948",
"sha256": "03e746e24ba65d1bc5d702c180bd45f45a982e59d77bbfd9c610bd2f40e389d6"
},
"downloads": -1,
"filename": "dvs_printf-2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ef1b3601ba228281a6400c5e09e5948",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 20478,
"upload_time": "2024-07-15T12:42:37",
"upload_time_iso_8601": "2024-07-15T12:42:37.331565Z",
"url": "https://files.pythonhosted.org/packages/65/e5/1799c21d81f58685f450e6eb970ecb6e4eada3e587a65f452ade35eb760f/dvs_printf-2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "41b1f89e8a9d7a8df59a3b50f7a58ef1d85c44a81012600c44e7ae44674ca54d",
"md5": "18a5aabaf67c933828860528ad50e947",
"sha256": "8622103e8534835f93c9e105baeff6542bbfa012b7a40b881fcb7a8841650ca2"
},
"downloads": -1,
"filename": "dvs_printf-2.2.tar.gz",
"has_sig": false,
"md5_digest": "18a5aabaf67c933828860528ad50e947",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 430543,
"upload_time": "2024-07-15T12:42:40",
"upload_time_iso_8601": "2024-07-15T12:42:40.024477Z",
"url": "https://files.pythonhosted.org/packages/41/b1/f89e8a9d7a8df59a3b50f7a58ef1d85c44a81012600c44e7ae44674ca54d/dvs_printf-2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-15 12:42:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dhruvan-vyas",
"github_project": "dvs_printf",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dvs-printf"
}