Skip to main content

Python Console Configuration

Project description

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

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

pythonConsoleConfigs-0.9.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

pythonConsoleConfigs-0.9.4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pythonConsoleConfigs-0.9.4.tar.gz.

File metadata

  • Download URL: pythonConsoleConfigs-0.9.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.6

File hashes

Hashes for pythonConsoleConfigs-0.9.4.tar.gz
Algorithm Hash digest
SHA256 c3e63aa7b7bfc031068ba3e84e160516bd6012b8a2af1ddcdf1b4511b861b48d
MD5 7c8d058dc4f284f963346eda887d13a0
BLAKE2b-256 36bd594337b64aae67a3d6c18bd54e6e5fcd889ae7f4e522277736f6191c8e46

See more details on using hashes here.

File details

Details for the file pythonConsoleConfigs-0.9.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonConsoleConfigs-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b79d957c047beb741ce9b10eef699c1e7300f41102ee544602feba8b38dbbdf
MD5 5b81b6912354ccc090935a69d9fbd920
BLAKE2b-256 3cd17743f5dc07c5fbacb2b25f38502b07d5860af757466f5cc08a7dc758c64a

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