Generate an ASCII Art from keyword put in the cli

Overview

ascii-art-generator-cli

Generate an ASCII Art from keyword put in the cli

Install

git clone https://github.com/Nathanlauga/ascii-art-generator-cli
cd ascii-art-generator-cli
pip install -r requirements.txt
pip install .

Usage

ascii-generator --help

Usage: ascii-generator [OPTIONS] KEYWORD

  Shows differents ASCII Art given a keyword

  You can change the number of columns and the scale. There are 2 gray scale
  available 10 and 70 (default is 70)

Options:
  -c, --cols INTEGER         Number of columns for ASCII Art.
  -s, --scale FLOAT          Height scale for ASCII Art.
  -m, --more-levels BOOLEAN  Whether you want a grayscale of 70 or 10.
  --help                     Show this message and exit

Try without options

ascii-generator yoda

Output

Image name : Yoda Costume
.........................',/nx|[]()fxn)}}1/{>>>Il!+-[]_!`......................
..........................^\nu/{-}rj1{[[[{)xf<~!<]}[]_<:'......................
..........................',?{}]-(XnYXntjuYCXc<!~++<i:'........................
..............................'`^1(}((}<~}{)}j\>"`'............................
................................'>|)|{(\\)}){|}`'..............................
.................................'+t/\/rj/tfj|`'...............................
................................^::uZr///txxrzl,,^'............................
..........................'.`!~]aa#maLzvucc0q1|[~+~,`'........."'..............
.........................'^>1\]}ahMohbmbbbhZ-[++++~<<<'.'...'',<`'.''^'........
.........................,{/|(--kdqbbdwpdaJ?[~_]+(?+~~<;^''.,>}-I:<+_".........
.......................'`})j\\-~Jqqwddwqkn<_~_[[n||)[]?--~+_nj?_+]f(!'.........
........................i{(t\r]~fwwqqmmdZ++--[}/0j\()1{[1r|}_nr\|}+}i`.........
........................[)\f\n(++mwqqwqk{_??[}tx0Jt())111j\\?fr\ff\;'..........
.......................l{(/jnfj]~YwqqwpC-]][{/rr0Qr|)))({(\t(x\\/[`'.'.........
.......................[{|/rJtj/}(dqqqmn?}})/rurCUI((()(|ppCUn1i;''............
......................,{{\jrUUJwoqmO0OO00QLOmpbkk('I())\xcYZq("................
......................<{(xnnYOqdmzbqqda}}11|tnvnYu^'i()|Xzzzc^'................
...................'''}{/uUvcZmwwuqqmOw{1)(/jxvxun~''-{tcccu|''................
....................'~11/vLCuL0LCuqmZOw1)(\fruurrf].'`?)vcnt!''................
....................,\{1/nUCr{Y\\|bppqb()\trnvuj/|[:'.,xnux('..................
...................'?({(tuJCf1vf/(hpqqa\|\fnvux/|1[l'..;?}_"...................
...................`[{{(fuJL/)jf\)qkdqo\//juvnf\){]I'..........................
...................'>/fxuzLv|)ft/(C*apa///junr/|){[<'..........................
.................'"[//zxYt"+()//\|x##ba\\\trrf\)1}[?"..........................
................''_}jr\c}..-))\/\||##hb(\\/tt\(){{[?!..........................
................"<~ij)/;'''[))(\/\|***q(|(||\()1}{}?~'.........................
.........................'`|)((/t/\*MWZ)((((|))1}{{]-`.........................
..........................;|)(|\ft{bM80))())(111{1{[?l.........................
..........................~()((\t\(OM8b)(())))11}11}?-'........................
..........................}())((\((U#W#()|))11{{}{)1[?l.'......................
........................'>()(()|||(x#*UCxuuxncUX/\/)]<"'.......................
.......................'.}{(\/|/tjjc#J+}pqqZQQha0U\'''.........................
.........................'l0wdkkkbdkL!'',vqwZQ0wwZQ:'..........................
Do you want to keep this image ? (y/n)y
Awesome !

Change number of columns

ascii-generator yoda --cols 50

Output

Image name : Yoda Costume
................"jx([(jt}}(\>i!+]]~^..............
................'~{]-rjct/xXn<>+<l`...............
...................''([{[][])?^'..................
....................'l////|rt^....................
.................."ltuqCxrvYu-i!^.......'.........
................;?)?Oahdqdbu?++_<>"'..'!I'`,'.....
...............,1/|+zqqpwd(_+[/|{?-~>~\}_]|;......
...............-(/f-/wqwqc_?[\Cr(){1t))j/(-"......
.............."{\nj)-wqwp}][|rCz|))1/\///-'.......
..............>1tvzczQmZQruzJQZ]+()fZZYi^.........
.............'}\ncQpqCqqY))/nvY}'])vzz]'..........
.............i{fJYCO0YmOv)|fnnx\`^[nvj"'..........
............`1{fYz(c\UpqY(/xux/1I.Ijx-............
............l{)jUv)x/cbqJ/funf(}l..`^.............
...........'<tnzt\(f\r*bC\tnj\)}~'................
..........'i|xx?.}(/\\#aY\\t/({}?^................
..........";l~;''))|/\*Mc((|(1}{]I................
................;((|t|b&v(())1{1[~................
................+))(\(OWJ((111}1{?,...............
..............'^()((|(zhuUUXYmuj+!`...............
...............'IQwqpqk]'>Zw0ZwO>'................
Do you want to keep this image ? (y/n)y
Awesome !

Change number of levels

ascii-generator yoda --cols 42 --more-levels false

Output

Image name : Yoda Costume
..............-+=-==--==::---:............
...............:::++==++=::...............
..................======-.................
.................-=*+=++-:................
..............:--#%%###=---::....:........
.............:==-*####=---=---::=--=:.....
.............===-=###+--=*+==-=====-......
............:=++=-###--=+*+===+++-:.......
............-=+*####*++**#=:==+*=.........
...........:=+**#*##*==+++=.:=++..........
...........-=+*=+=##*==++==..-+-..........
...........-=+*=+=##*=+++=-:..............
..........-++=-===*%*==+==-:..............
.........:-=-.:===*%*====---..............
..............-===+@*====---..............
..............=====%#====-=-:.............
.............:=====%=***#*+:..............
..............+#%%%+.:#####:..............
Do you want to keep this image ? (y/n)y
Awesome !
You might also like...
Yts-cli-streamer - A CLI movie streaming client which works on yts.mx API written in python
Yts-cli-streamer - A CLI movie streaming client which works on yts.mx API written in python

YTSP It is a CLI movie streaming client which works on yts.mx API written in pyt

[WIP]An ani-cli like cli tool for movies and webseries

mov-cli A cli to browse and watch movies. Installation This project is a work in progress. However, you can try it out python git clone https://github

AutoSub is a CLI application to generate subtitle files (.srt, .vtt, and .txt transcript) for any video file using Mozilla DeepSpeech.

AutoSub About Motivation Installation Docker How-to example How it works TO-DO Contributing References About AutoSub is a CLI application to generate

A CLI tool for using GLIDE to generate images from text.
A CLI tool for using GLIDE to generate images from text.

Text-Glided-Diffusion Installation First clone this repository: git clone https://github.com/afiaka87/text-glided-diffusion.git cd text-glided-diffusi

This is a CLI program which can help you generate your own QR Code.

Python-QR-code-generator This is a CLI program which can help you generate your own QR Code. Single.py This will allow you only to input a single mess

dbt-subdocs is a python CLI you can used to generate a dbt-docs for a subset of your dbt project

dbt-subdocs dbt-subdocs is a python CLI you can used to generate a dbt-docs for a subset of your dbt project 🤔 Description This project is useful if

A Python module and command-line utility for converting .ANS format ANSI art to HTML

ansipants A Python module and command-line utility for converting .ANS format ANSI art to HTML. Installation pip install ansipants Command-line usage

Dead simple CLI tool to try Python packages - It's never been easier! :package:
Dead simple CLI tool to try Python packages - It's never been easier! :package:

try - It's never been easier to try Python packages try is an easy-to-use cli tool to try out Python packages. Features Install specific package versi

Owner
Nathan Lauga
Data Scientist at BPCE
Nathan Lauga
Create animated ASCII-art for the command line almost instantly!

clippy Create and play colored ?? ?? ?? or colorless ⬛️ ⬜️ animated, or static, ASCII-art in the command line! clippy can help if you are wanting to;

Connor 10 Jun 26, 2022
A 3D engine powered by ASCII art

3D engine powered by ASCII art

Lingdong Huang 48 Nov 16, 2022
A python CLI app that converts a mp4 file into a gif with ASCII effect added.

Video2ASCIIgif This CLI app takes in a mp4 format video, converts it to a gif with ASCII effect applied. This also includes full control over: backgro

Sriram R 6 Dec 31, 2021
📦 A command line utility to put text in a box.

boxie A command line utility to put text in a box. Installation pip install boxie If you are on Linux you may need to use sudo to access this globally

Eliaz Bobadilla 10 Jun 30, 2022
Module for converting 2D Python lists to fancy ASCII tables. Table2Ascii lets you display pretty tables in the terminal and on Discord.

table2ascii Module for converting 2D Python lists to a fancy ASCII/Unicode tables table2ascii ?? Installation ??‍?? Usage Convert lists to ASCII table

Jonah Lawrence 40 Jan 3, 2023
Sink is a CLI tool that allows users to synchronize their local folders to their Google Drives. It is similar to the Git CLI and allows fast and reliable syncs with the drive.

Sink is a CLI synchronisation tool that enables a user to synchronise local system files and folders with their Google Drives. It follows a git C

Yash Thakre 16 May 29, 2022
flora-dev-cli (fd-cli) is command line interface software to interact with flora blockchain.

Install git clone https://github.com/Flora-Network/fd-cli.git cd fd-cli python3 -m venv venv source venv/bin/activate pip install -e . --extra-index-u

null 14 Sep 11, 2022
AWS Interactive CLI - Allows you to execute a complex AWS commands by chaining one or more other AWS CLI dependency

AWS Interactive CLI - Allows you to execute a complex AWS commands by chaining one or more other AWS CLI dependency

Rafael Torres 2 Dec 10, 2021
Python-Stock-Info-CLI: Get stock info through CLI by passing stock ticker.

Python-Stock-Info-CLI Get stock info through CLI by passing stock ticker. Installation Use the following command to install the required modules at on

Ayush Soni 1 Nov 5, 2021
A simple CLI based any Download Tool, that find files and let you stream or download thorugh WebTorrent CLI or Aria or any command tool

Privateer A simple CLI based any Download Tool, that find files and let you stream or download thorugh WebTorrent CLI or Aria or any command tool How

Shreyash Chavan 2 Apr 4, 2022