Skip to main content

Utilities for display information in terminal.

Project description

This package provides necessary tools for printing text (with fancy styles if specified) in terminal. To use, import an instance of Console class by `python from console import console `

### Text With Fancy Styles Fancy texts are produced based on termcolor package. The usage of this package is similar to termcolor: `python console.write_line('Hello World!', color='yellow') ` However, console provides another way to print text base on a simple syntax, which is more flexible and powerful: `python console.write_line('#{Hello}{red} #{World}{blue}{bold}!') ` Here, the syntax is #{<text>}[{<text_color>}][<text_highlight>}][{<attributes_1>}]…[{<attributes_N>}].

Example of other fancy usages: `python console.split('#{-}{red}#{-}{yellow}#{-}{blue}') `

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

roma-console-1.0.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

roma_console-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file roma-console-1.0.1.tar.gz.

File metadata

  • Download URL: roma-console-1.0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.3.2 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.2

File hashes

Hashes for roma-console-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e8733ae16cb2c19833fdc3c71b17ece7e51e76d3497944ab9e6ef65f9c287ab2
MD5 f926dc9fc347a48e874ab8ab2e6a610d
BLAKE2b-256 195233b3d2fda252b923363d5da4e0e34ea11125c6671dd931c0755261208ab9

See more details on using hashes here.

File details

Details for the file roma_console-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: roma_console-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for roma_console-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 836779162b2ca737d439b29ecdbca70c92cea45ff134f823de7a296d341c027a
MD5 b641109d86801733b83f12b7137cbcec
BLAKE2b-256 adcbd245faca99712affbb190e80b4b1a2b8eae7524af45b15efd67f1d900547

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