Skip to main content

A CLI tool that generates ASCII art based on a brief description.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artgen-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artgen-0.2.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file artgen-0.2.0.tar.gz.

File metadata

  • Download URL: artgen-0.2.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for artgen-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0cc28d243d9ef72db4d7afa0f6611d862beb1dc2903d86937241db9d3a826d5f
MD5 49e17573e0e424cbbe4fbaa4086900d2
BLAKE2b-256 05cb0248578c6d5dca8423064b1d9454091e57e0482258fb4c6005a95bb24019

See more details on using hashes here.

File details

Details for the file artgen-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: artgen-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for artgen-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a98fdc7bb1b75aebc1456b7e3b36c222000e42b2ba7cfb4d721331d9959cb4b1
MD5 a6b345e40548bcf66152e93d2439421f
BLAKE2b-256 d745fadf8e82d34617c982e9ad2cdf1747ca4336a6b2de261d559c90b8df3086

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page