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
Kattis shell for getting examples, testing and submitting.

Kattis shell for getting examples, testing and submitting.

Simon Green Kristensen 15 Sep 30, 2022
Bad Apple printed out on the console with Python!

Bad Apple printed out on the console with Python!

CalvinLoke 186 Dec 01, 2022
Pynavt is a cli tool to create clean architecture app for you including Fastapi, bcrypt and jwt.

Pynavt _____ _ | __ \ | | | |__) | _ _ __ __ ___ _| |_ | ___/ | | | '_ \ / _` \ \ / /

Alejandro Castillo 1 Dec 13, 2021
Declarative CLIs with argparse and dataclasses

argparse_dataclass Declarative CLIs with argparse and dataclasses. Features Features marked with a ✓ are currently implemented; features marked with a

Mike DePalatis 29 Dec 06, 2022
A webmining CLI tool & library for python.

minet is a webmining command line tool & library for python (= 3.6) that can be used to collect and extract data from a large variety of web sources

médialab Sciences Po 165 Dec 17, 2022
A command line tool to create a graph representing your Ansible playbook tasks and roles

Ansible Playbook Grapher ansible-playbook-grapher is a command line tool to create a graph representing your Ansible playbook plays, tasks and roles.

Mohamed El Mouctar Haidara 424 Dec 20, 2022
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

4 Oct 16, 2022
Wordle breaker: A CLI tool to help you solve Wordle

Wordle Breaker A CLI tool to help you solve Wordle I decided to code a solution

Alex 4 Apr 27, 2022
Bryce Geiser 4 Aug 04, 2022
Management commands to help backup and restore your project database and media files

Django Database Backup This Django application provides management commands to help backup and restore your project database and media files with vari

687 Jan 04, 2023
Alacritty terminal used with Bash, Tmux, Vim, Mutt, Lynx, etc. and the many different additions added to each configuration file

Alacritty terminal used with Bash, Tmux, Vim, Mutt, Lynx, etc. and the many different additions added to each configuration file

Carter 19 Aug 24, 2022
💻 Physics2Calculator - A simple and powerful calculator for Physics 2

💻 Physics2Calculator A simple and powerful calculator for Physics 2 🔌 Predefined constants pi = 3.14159... k = 8988000000 (coulomb constant) e0 = 8.

Dylan Tintenfich 4 Dec 01, 2021
EODAG is a command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a unified API for data access regardless of the data provider

EODAG (Earth Observation Data Access Gateway) is a command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a un

CS GROUP 205 Jan 03, 2023
Wordle for CLUE - WORDLE clone for Adafruit Clue

Wordle_for_CLUE This project is a clone of the very popular word solving puzzle

Michael Lacock 4 Feb 15, 2022
This is a command line program to play cricket made using Python.

SimpleCricketPython This is a command line program to play cricket made using Python How it works First you have the option of selecting whether you

Imira Randeniya 1 Sep 11, 2022
My dotfiles -My configuration, with installations steps.

.dotfiles My configuration, with installations steps. Installation Oh My ZSH Install with this command: sh -c "$(curl -fsSL https://raw.githubusercont

Luca Angioloni 4 Dec 14, 2022
A simple CLI tool for converting logs from Poker Now games to other formats

🂡 Poker Now Log Converter 🂡 A command line utility for converting logs from Poker Now games to other formats. Introduction Poker Now is a free onlin

6 Dec 23, 2022
WazirX Portfolio Tracker on your Terminal!

If you have been investing in crypto in India, there is a very good chance that you are using WazirX. If you are using WazirX, then you definitely know that there is no P&L report, no green arrows no

Raunit 15 Jan 10, 2022
Conditional Transformer Language Model for Controllable Generation

CTRL - A Conditional Transformer Language Model for Controllable Generation Authors: Nitish Shirish Keskar, Bryan McCann, Lav Varshney, Caiming Xiong,

Salesforce 1.7k Jan 05, 2023
Features terminal for python

Features Terminal V1.0 (23/10/2021) Um programa para linux com diferentes ferramentas! Recursos: Criador de QR code Gerador de senhas Teste de velocid

1 Oct 26, 2021