ASCII Art Maker
A powerful ASCII art generator for terminal and Python projects.
Features
- Text to ASCII art with font and color
- Gradient colors
- Image → ASCII (Pillow)
- Auto font suggestion
- Animated ASCII text
- Interactive menu mode
- Config file (.asciirc)
- Custom ASCII character sets
- True color (24-bit) support
- Export to HTML, SVG, PNG
- Batch processing
- Zoom and pan for large ASCII art
- ASCII watermarking
- ASCII math formula rendering (LaTeX)
Installation
pip install .
Usage
CLI
ascii-art-maker "Hello World" --font slant --color cyan --gradient
ascii-art-maker --image path/to/image.png
ascii-art-maker --interactive
Python API
from ascii_art_maker import generate_ascii, gradient_ascii, image_to_ascii
print(generate_ascii("Hello World", font="slant"))
print(gradient_ascii(generate_ascii("Hello")))
print(image_to_ascii("image.png"))
Advanced Features
from ascii_art_maker import set_custom_charset, truecolor, export_ascii_html, export_ascii_svg, batch_process, zoom_ascii, pan_ascii, watermark_ascii, latex_to_ascii
set_custom_charset(["#", " "])
print(image_to_ascii("image.png"))
set_custom_charset(None)
print(truecolor("Hello", (255,0,0)))
print(export_ascii_html("ASCII ART", color="red"))
print(export_ascii_svg("ASCII ART", color="#ff0000"))
print(batch_process(["Hello", "World"], generate_ascii))
print(zoom_ascii("ASCII ART", factor=2))
print(pan_ascii("ASCII ART", x=0, y=0, width=10, height=2))
print(watermark_ascii("ASCII ART", "WATERMARK"))
print(latex_to_ascii("x^2 + 1"))
Testing
python -m unittest discover tests
License
MIT
Metadata
Release files for ascii-art-maker 0.8.0
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 |
|---|---|---|---|---|
| ascii_art_maker-0.8.0.tar.gz | 7.3 kB | Without provenance | Details for ascii_art_maker-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ascii_art_maker-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for ascii_art_maker-0.8.0-py3-none-any.whl |
Total release size: 14.4 kB
Release files / ascii_art_maker-0.8.0.tar.gz
| Download URL | ascii_art_maker-0.8.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9aab30e657afa7e81aaa2857d9f54894b4880c9108817a7e3afaf6349ed97f3b
|
|
BLAKE2b-256 checksum How to use checksums |
3ef5d5db4f0087655bc60cfb055c6bbab6932e4ad927fee67f3c7eb674cbb8b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / ascii_art_maker-0.8.0-py3-none-any.whl
| Download URL | ascii_art_maker-0.8.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df279d64184f85f43db7bdcd3b291f00f2634e28f442015beb0fd4a55f87735b
|
|
BLAKE2b-256 checksum How to use checksums |
ed971c4bac8b1a19c04d501cdd86fa2c13e7534a5bd5683e3cd6f7cb40f5bdb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for ascii-art-maker 0.8.0
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.