ASCIIstuff 
Make a styled banner for your CLI tool.
This library gathers some useful ASCII art features relying on PyFiglet, Pillow and cowpy.
pip install asciistuff
Usage
Banner
Creating a banner:
>>> from asciistuff import Banner
>>> print(Banner("Test"))
'########:'########::'######::'########:
... ##..:: ##.....::'##... ##:... ##..::
::: ##:::: ##::::::: ##:::..::::: ##::::
::: ##:::: ######:::. ######::::: ##::::
::: ##:::: ##...:::::..... ##:::: ##::::
::: ##:::: ##:::::::'##::: ##:::: ##::::
::: ##:::: ########:. ######::::: ##::::
:::..:::::........:::......::::::..:::::
Image
>>> from asciistuff import Image
>>> print(Image("hello.png", 80))
@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@(/,,,,,,/(@@@@@@@@@@ @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@ @@@@@@(,.. .,*@@@@@@ @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@* @@@@@/.. .,**((%%#####%((*/,. .,*@@@ @@@@@@@@@@@@@@
@@@@@@@@@@@@@@@* @@@/. ,/(%###%%(*//,,,,,//**%####%((/. .,@@@ @@@@@@@@@@@@
@@@@@@@@@@@@@@ @@*. ,(###%(/,. .,/*(%##%, ,@@ @@@@@@@@@@@
@@@@@@@@@@@@ @@/. *#@#(/. ,(@#/ ./@ @@@@@@@@@@
@@@@@@@@@@@ @@. .(@#*. .(@%. ,@ @@@@@@@@@
@@@@@@@@@@ @/. *@#/ .#@/ .@ @@@@@@@@
@@@@@@@@@ @, .%@( /%. (@* ,@ @@@@@@@
@@@@@@@@ @, /@#, *#. (@, (@/ /@ @@@@@@
@@@@@@@ @, /@#. .. *@, *@, .#@. .(@ @@@@@
@@@@@@ @/ /@#. (@, ,@/ /@, /((/. .@%. ,@ @@@@@
@@@@@@ @. .#@, ,@* .@( ,@/ .%@(*#@/ %@. .@ @@@@@
@@@@@ @/ *@* ## ,%##* #% ,@* %@. %@, %@. .@ @@@@@
@@@@@ @. .##. (@(%##(, /#(.,@(. %# .@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@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ * *@,.#@/ .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @. ##/@#, .@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @* /@@@%. .,@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @. .@@#/ .*@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. ,%* .,@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @, .%@ *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*,*%@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Lolcat
Quote
>>> from asciistuff import AsciiQuote
>>> print(AsciiQuote("This is a nice quote", "me"))
"This is a nice quote",
me
>>> from asciistuff import Quote
>>> print(Quote("This is another nice quote", "John Doe", cowsay="random"))
_______________________________
/ "This is another nice quote", \
\ John Doe /
-------------------------------
\
\
^__^ /
(oo)\_______/ _________
(__)\ )=( ____|_ \_____
||----w | \ \ \_____ |
|| || || ||
File
from asciistuff import *
file = AsciiFile("test.asc")
Metadata
Release files for asciistuff 1.3.3
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 | |
|---|---|---|---|---|
| asciistuff-1.3.3.tar.gz | 413.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asciistuff-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 456.4 kB
Release files / asciistuff-1.3.3.tar.gz
| Download URL | asciistuff-1.3.3.tar.gz |
|---|---|
| Size | 413.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4d1408512fa792bd50c3e7064bc39c29895a4678b8013d705b526d6b85cf07e
|
|
BLAKE2b-256 checksum How to use checksums |
466d1303cd53e9c36a0b2030dff3e089de4c7dfcc32a0d2fb28c5f184c3a1ed8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / asciistuff-1.3.3-py3-none-any.whl
| Download URL | asciistuff-1.3.3-py3-none-any.whl |
|---|---|
| Size | 42.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9722a76198d3611adf8a8fdc5f9d46de9fb5e6a2000ea19e4e1fcd5fdfb40fe
|
|
BLAKE2b-256 checksum How to use checksums |
03c49d9ccd616d903a46e8365ec0e37eba7dcf959e1cf875cb43f2b1dc74734b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for asciistuff 1.3.3
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.