ArtGen
ArtGen is a CLI tool that generates ASCII art from images and text. This project was created out of an interest in building something fun using existing Python packages. It is free, open-source, and designed to convert images into ASCII art. Additional features and changes are being explored and will be updated in upcoming versions.
Features
Two New features
-
interactive web mode to allow more control and support for local image upload
-
interactive cli mode to allow run within terminal.
-
Fetches images using DuckDuckGo
-
Converts images to ASCII art
-
Shows fallback stylized text with
pyfiglet
Installation
You can install ArtGen from PyPI:
pip install artgen --upgrade
Usage
To generate ASCII art, use the following command:
artgen generate_art "Cat"
artgen generate_word "Sunflower"
artgen generate_img "ASCII"
For interactive
For web interface:
artgen interactive
That will open on localhost or
For cli interactive interface:
artgen interactive_cli
That will launch in terminal. Known issue for terminal mode for some windows user had permission issue saving file but works on linux or osx
Contributing
Contributions are welcome! Please open an issue or PR on GitHub.
Metadata
Release files for artgen 0.2.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 | |
|---|---|---|---|
| artgen-0.2.0.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| artgen-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / artgen-0.2.0.tar.gz
| Download URL | artgen-0.2.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cc28d243d9ef72db4d7afa0f6611d862beb1dc2903d86937241db9d3a826d5f
|
|
BLAKE2b-256 checksum How to use checksums |
05cb0248578c6d5dca8423064b1d9454091e57e0482258fb4c6005a95bb24019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure
|
Release files / artgen-0.2.0-py3-none-any.whl
| Download URL | artgen-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a98fdc7bb1b75aebc1456b7e3b36c222000e42b2ba7cfb4d721331d9959cb4b1
|
|
BLAKE2b-256 checksum How to use checksums |
d745fadf8e82d34617c982e9ad2cdf1747ca4336a6b2de261d559c90b8df3086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure
|