print-extended
An extended version of the print function.
The intent is to make it easy to print pretty outputs, with an interface that Python beginners who just made their first "Hello World" can use.
You can always use pprint, sys.stderr, etc., and probably should for
complex usage. As stated, this is to be beginner-friendly. Functionality
will be sacrificed for ease-of-use.
Features
print.groupandprint.endgroupto create indentation levels- foreground colors
print.red('foo')print.green('foo')print.blue('foo')print.yellow('foo')print.magenta('foo')print.cyan('foo')print.rgb(r, g, b)('foo')
- background colors
print.on_red('foo')print.on_green('foo')print.on_blue('foo')print.on_yellow('foo')print.on_magenta('foo')print.on_cyan('foo')print.on_rgb(r, g, b)('foo')
- text styles
print.bold('foo')print.italic('foo')print.underline('foo')- Also chainable!
print.red.bold.italic('error')
eprintto simplify printing to STDERR
Development
# Activate virtual environment
python -m pip install -U pip
python -m pip install .
python -m pip install -r requirements-dev.txt
pre-commit install
Metadata
Release files for python-print-extended 0.1.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 |
|---|---|---|---|---|
| python-print-extended-0.1.1.tar.gz | 3.9 kB | Without provenance | Details for python-print-extended-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_print_extended-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for python_print_extended-0.1.1-py3-none-any.whl |
Total release size: 8.1 kB
Release files / python-print-extended-0.1.1.tar.gz
| Download URL | python-print-extended-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2078b7b6d38bb067fa57f9e24ef454e9ff3c38af6792f7ffbe9cae37d3dd933
|
|
BLAKE2b-256 checksum How to use checksums |
eff2251465fef800c81ad5dbba3f69b87b17a4f3768a2c50687ebe06134c4e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / python_print_extended-0.1.1-py3-none-any.whl
| Download URL | python_print_extended-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bf6dcd798440c65461373c410803fabbd3584dc3e553b289fbe3efe26dd0dda
|
|
BLAKE2b-256 checksum How to use checksums |
e62f2575878ac6d97f7f40b6094fb908ae0d01c24651385d6e72db022ad8ce87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for python-print-extended 0.1.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.