Skip to main content

   35005550    22           666     666             165         
  002          77    003    555     555             350         
 056                155677  555     555             3554 337    
 053   89889   00   4559    55555555555  006   400  3557   008  
 059     300   00    051    555     555  059   700  350    850  
 3007    700   00    053    555     555  059   400  350    950  
   900988500   00    90034  000     000  800371650  205847805   


Command Line ASCII Art Generator

ASCIIcli is a command line interface that is powered by Python3. You can generate ASCII art by importing an image and then selecting the character set that you want to generate with.

Installation & Building

PIP

The easiest way to install ASCIIcli is by using the PyPI library.
You can run pip install ASCIIcli on any command-line with Python3 in order to install it.

Releases

If you are unable to use the PyPI library you can access ASCIIcli by going to our releases page.
There you can download the .exe file and run the CLI by going to the folder that the program is downloaded in and running .\asciicli


Usage

asciicli C:/full/path/to/your/image [-h] [-percent VALUE] [-set VALUE] [-gray VALUE] [-random] [-invert]

If you have downloaded the application through pip input the following command in the terminal:
asciicli C:/full/path/to/your/image -p 10 -s 1 -r

If you are running the .exe package you will need to slightly alter the command by calling the exact folder of ASCIIcli
.\path\to\asciicli.exe C:/full/path/to/your/image -p 10 -s 1 -r

Assuming the file is 1024x219, this command will generate a .txt file that is 21 lines long with each line taking up 201 characters using the character set to one. The -s variable is optional as the default character set is one. Random has been set to true and it will take the image from assets/input.jpg and generate a .txt file titled input-ascii.jpg in the same folder as the image.

Random and Invert are will take effect when called upon with the -random/-r and -invert/-i arguments, whereas the Gray and Set arguments are all integers.

Basic Latin & Latin Supliments

Set 1: a --> z (lowercase)
Set 2: A --> Z (uppercase)
Set 3: 0 --> 9 (numerals)
Set 4: ,, :, :, -, ″, ., &, @, ^, /, , -, =, !, ¡, ?, ¡, ¿, 🙻, |, ¦, ‖, •, ·, ©, ℗, ®, “, ”, ', ", «, », (, ), [, ], {, }, ¶, §, †, ‡, ❧, ◊ (punctuation & typographical symbols)
Set 5: ¤, µ, ¢, ¥, £, $, %, #, №, º, ª, %, °, +, -, ÷, ×,
, /, ±, ¬, ~, _, ^, <, > (mathematical symbols)

Block Elements & Geometric Shapes

Set 6: ░, ▒, ▓, █ (Rectangle element characters)
Set 7: □, ▢, ◫, ◰, ◱, ◲, ◳, ◧, ◨, ◩, ◪, ◘, ▤, ▥, ▦, ▧, ▨, ▣, ▩, ■


LICENSE

Metadata

Release files for ASCIIcli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ASCIIcli 0.1.1
File Size Uploaded
ASCIIcli-0.1.1.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ASCIIcli 0.1.1
File Interpreter ABI Platform
ASCIIcli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / ASCIIcli-0.1.1.tar.gz

Download URL ASCIIcli-0.1.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3fa431e0382b43c7ecde4c03d667bc78300aeb803c86596410bb99ed9af81322
BLAKE2b-256 checksum
How to use checksums
7895c8695497915dccda81a86c4bb66d22ef506f8045d8472eb2f3e1b8b892e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / ASCIIcli-0.1.1-py3-none-any.whl

Download URL ASCIIcli-0.1.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41a5a33e8b957086fca068be622704601dcf70be915a99d3ed008ac5a49c3d9e
BLAKE2b-256 checksum
How to use checksums
f45fce36160a8b396ab437a74ba35c2bd64ffb094108b9e4089775b856431597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page