Skip to main content

Python Console Configuration

Python Console Configuration is a Python library for customization the output of terminal by color, style and highlight. Also, can have loadings.

Installation

Use the package manager pip to install Python Console Configuration.

pip install pythonConsoleConfig

Usage Font

from pythonConsoleConfigs.Font import Color, Style, Highlight

# prints magenta
print(f'{Color.MAGENTA}{"This is a test of Python Console Configuration Library"}')

# prints blink
print(f'{Style.BLINK}{"This is a test of Python Console Configuration Library"}')

# prints highlight blue
print(f'{Highlight.BLUE}{"This is a test of Python Console Configuration Library"}')

# Reset all configuration
Style().reset()

# And so many others ...

Available Configurations

  • Colors, Highlights (+ LIGHT)
    • BLACK
    • RED
    • GREEN
    • YELLOW
    • BLUE
    • MAGENTA
    • CYAN
    • WHITE
    • GREY
  • Styles
    • BOLD
    • ITALIC
    • URL
    • BLINK
    • BLINK2
    • SELECTED

Usage Loading

from pythonConsoleConfigs.Font import Color
from pythonConsoleConfigs.Loading import Box, Percentage

# Boxes loading like: ■■■□□□□□□□
Box(duration=1, size=15, color=Color.BLUE, reverse=True).loading()

# Percentages like: 20%
Percentage(duration=1, rate=10, color=Color.RED).loading()

Available Loading

  • Boxes

    • Normal (■■■□□□□□□□)
    • Reversed (□□□□□□□■■■)
    • Duration (seconds)
    • Number of boxes
    • Color
  • Percentages

    • Duration (seconds)
    • Rate (by 5%, 10% etc.)
    • Color

Contact

Contact me using discord for support or requests.

GregoryStefanos#1048

License

Apache License 2.0

Metadata

Release files for pythonConsoleConfigs 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pythonConsoleConfigs 0.9.4
File Size Uploaded
pythonConsoleConfigs-0.9.4.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pythonConsoleConfigs 0.9.4
File Interpreter ABI Platform
pythonConsoleConfigs-0.9.4-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / pythonConsoleConfigs-0.9.4.tar.gz

Download URL pythonConsoleConfigs-0.9.4.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3e63aa7b7bfc031068ba3e84e160516bd6012b8a2af1ddcdf1b4511b861b48d
BLAKE2b-256 checksum
How to use checksums
36bd594337b64aae67a3d6c18bd54e6e5fcd889ae7f4e522277736f6191c8e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.6

Release files / pythonConsoleConfigs-0.9.4-py3-none-any.whl

Download URL pythonConsoleConfigs-0.9.4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b79d957c047beb741ce9b10eef699c1e7300f41102ee544602feba8b38dbbdf
BLAKE2b-256 checksum
How to use checksums
3cd17743f5dc07c5fbacb2b25f38502b07d5860af757466f5cc08a7dc758c64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.9.4 This release

2 release files

0.9.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page