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 !
Owner
Nathan Lauga
Data Scientist at BPCE
Nathan Lauga
Program Command Line Interface (CLI) Sederhana: Pemesanan Nasi Goreng Hekel

Program ini merupakan aplikasi yang berjalan di dalam command line (terminal). Program ini menggunakan built-in library python yaitu argparse yang dapat menerima parameter saat program ini dijalankan

Habib Abdurrasyid 5 Nov 19, 2021
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

Jambe 6 Jan 03, 2023
Unconventional ways to save an Image

Unexpected Image Saves Unconventional ways to save an image 😄 Have you ever been bored by the same old .png, .jpg, .jpeg, .gif and all other image ex

Eric Mendes 15 Nov 06, 2022
Joji convert a text to corresponding emoji if emoji is available

Joji Joji convert a text to corresponding emoji if emoji is available How it Works ? 1. There is a json file with emoji names as keys and correspondin

Gopikrishnan Sasikumar 28 Nov 26, 2022
CLI/library to control FNIRSI DC Power Supply (DC-6006L, etc)

dc6006l - CLI/library to control FNIRSI DC Power Supply (DC-6006L, etc) What is this? FNIRSI DC6006L is a programmable DC power supply that is quite c

Taisuke Yamada 7 Sep 25, 2022
🐾 Get the nftables counters easier to read

nft-stats Get the nftables counters easier to read It kind of hard to read the output of nft list ruleset so there is a small program parcising the ou

7 Oct 08, 2022
Command-line tool for looking up colors and palettes.

Colorpedia Colorpedia is a command-line tool for looking up colors, shades and palettes. Supported color models: HEX, RGB, HSL, HSV, CMYK. Requirement

Joohwan Oh 282 Dec 27, 2022
Colab-xterm allows you to open a terminal in a cell

colab-xterm Colab-xterm allows you to open a terminal in a cell. Usage Install package and load the extension !pip install git+https://github.com/popc

InfuseAI 194 Dec 29, 2022
Cthulhu is a simple python CLI application that streams torrents directly from 1337x.

Cthulhu is a simple python CLI application that facilitates the streaming of torrents directly from 1337x. It uses webtorrent to stream video

Raiyan 27 Dec 27, 2022
A command line application, written in Python, for interacting with Spotify.

spotify-py-cli A command line application, written in Python, for interacting with Spotify. The primary purpose behind developing this app was to gain

Drew Loukusa 0 Oct 07, 2021
This is the public repo for the VS Code Extension AT&T i386/IA32 UIUC-ECE391 Syntax Highlighting

AT&T i386 IA32 UIUC ECE391 GCC Highlighter & Snippet & Linter This is the VS Code Extension for UIUC ECE 391, MIT 6.828, and all other AT&T-based i386

Jackgetup 1 Feb 05, 2022
Command line interface to watch your childhood shows in hindi and english, designed with python

Sweet dreams: Most of your childhood shows Command line interface to watch your

Not Your Surya 3 Feb 13, 2022
A user-friendly python CLI for Fmask 4.3 software (GERS Lab, UCONN).

pyFmask What is pyFmask pyFmask is a user-friendly python CLI for Fmask 4.3 software (GERS Lab, UCONN; https://github.com/GERSL/Fmask). Fmask (Zhu et

1 Jan 05, 2022
This tool is a free and unlimited python CLI for google translate. based on google_trans_new.

GoTransPy A free and unlimited python CLI for google translate based on google_trans_new. It's very easy to use and solve the problem that the old api

Youssef Mohamed 2 Jan 10, 2022
Display Images in your terminal with python

Term-Img Display Images in your terminal with python NOTE: This project is a work in progress and not everything on here has actually been implemented

My avatar ;D 118 Jan 05, 2023
A command line tool that creates a super timeline from SentinelOne's Deep Visibility data

S1SuperTimeline A command line tool that creates a super timeline from SentinelOne's Deep Visibility data What does it do? The script accepts a S1QL q

Juan Ortega 2 Feb 08, 2022
A Python-based Wordle solver and CLI player

Wordle A Python-based Wordle solver and CLI player This was created using Python 3.9.7. SPOILER ALERT: the data directory contains spoilers for upcomi

Will Fitzgerald 1 Jul 24, 2022
'rl_UK' is an open-source command-line tool in Python for calculating the shortest path between BUS stop sequences in the UK

'rl_UK' is an open-source command-line tool in Python for calculating the shortest path between BUS stop sequences in the UK. As input files, it uses an ATCO-CIF file and 'OS Open Roads' dataset from

Nesh P. 0 Feb 16, 2022
A super simple terminal command shortener 🐟

pcmd A super simple terminal command shortener 🐟 Source code : https://github.com/j0fiN/pcmd Documentation : https://j0fin.github.io/pcmd About Durin

9 Mar 02, 2022
GoogleFormSpammer - A simple CLI script to spam Google Forms used by Crypto Wallet scammers to collect stolen data

GoogleFormSpammer - A simple CLI script to spam Google Forms used by Crypto Wallet scammers to collect stolen data

14 Dec 17, 2022