Skip to main content

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


Download files

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

Source Distribution

pytermx-1.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytermx-1.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pytermx-1.1.0.tar.gz.

File metadata

  • Download URL: pytermx-1.1.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

Hashes for pytermx-1.1.0.tar.gz
Algorithm Hash digest
SHA256 68b85b55c5459212e2fdc0a40840cabb5e6c01ff17a091e596f2fedf339d0ae6
MD5 d5517f17d4b79fccb681abf4705e4e22
BLAKE2b-256 a90255bdee9bf631733aece6f7e30632d8c22d2125678875e42ce5d6294c5ba6

See more details on using hashes here.

File details

Details for the file pytermx-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pytermx-1.1.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

Hashes for pytermx-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddaa842e5045200a09387eda8496bc867f94fce49e7b634a8491432425da25b2
MD5 3803d921ec869d2552d1a08575c9d4d9
BLAKE2b-256 9b671d8525e9f4a4f30f55363f065eea64355e361b5fa7fb2c35dfa4b61047ad

See more details on using hashes here.

Supported by

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