A python terminal decors package
Project description
PyTermX
PyTermX is a Python package for creating colorful text-based animations and effects in your terminal. It provides a variety of features to make your command-line applications more visually appealing.
Features
- Text animation with color and style options
- Center text in your terminal
- Gradient text effects
- Hide and show the cursor
- Easy-to-use and customizable
Installation
You can install PyTermX via pip:
pip install pytermx
Usage
Here is a simple example of how to use PyTermX in your Python code:
from pytermx import Anim, Color, Center
# Create an animated banner
banner = "Hello, PyTermX!"
Anim.show_n_hide(banner, 10)
# Create centered text
centered_text = Center.center("This text is centered.")
print(centered_text)
# Apply a gradient effect
gradient_text = Fade.in_blue("This text has a blue gradient.", 255, 0)
print(gradient_text)
Credits
Made with <3 by Seka
For questions or support, you can reach me on Discord: @sekateur
And remember, cats are world! 🐱
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytermx-1.0.0.tar.gz.
File metadata
- Download URL: pytermx-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c5c4c6613a1116e82b343bb2ee76a1ed128083c80fe0555c1110afc0fc443d2
|
|
| MD5 |
d9386b44317f5bed8ca602e2c3e78bed
|
|
| BLAKE2b-256 |
beb5df6dd1f46053e1ff21ed9ba108036d75a4fe0230cb33c378afe0e551523a
|
File details
Details for the file pytermx-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pytermx-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8cac21f509cd9821193379bd4725768d635b2787b9951084d720833852cab58
|
|
| MD5 |
82e2815c73e4fed216122e635c5fe81c
|
|
| BLAKE2b-256 |
46e0c8936fea723a13644ac5053be9ba3b7b0dc32aa8e2b7f2ec229a902b12a3
|