~~~~~~~~~~~~~~
Python module to print in color using py3k-style print function. It uses
funny hack, which allow to create print function instead standard print
routine and give it some "black" magic.
Print function is like imported for __future__, but has three additional
parameters: color (foreground of text output), background (it's background)
and format (bold, blink and so on).
You can read more at __future__.print_function documentation.
Usage example
-------------
>>> from __future__ import print_function
>>> from colorprint import *
>>> print('Hello', 'world', color='blue', end='', sep=', ')
>>> print('!', color='red', format=['bold', 'blink'])
Hello, world!
^-- blue ^-- blinking, bold and red
:copyright: 2012 Aleksey Rembish
:license: BSD
Metadata
Release files for colorprint 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| colorprint-0.1.tar.gz | 2.1 kB | Without provenance | Details for colorprint-0.1.tar.gz |
Release files / colorprint-0.1.tar.gz
| Download URL | colorprint-0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db62effb1bb0e8ed1814893dcd62b66b6c8945af626ce790be2f8d095b24bd74
|
|
BLAKE2b-256 checksum How to use checksums |
3d8b2fc4666a0f335e044af01e1eca3cfb3a942f7966597e7c5d508a01a60cf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for colorprint 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.