Skip to main content

ASCII Art Library For Python

Project description

 ______   ______  _______ 
| |  | | | |  | \   | |   
| |__| | | |__| |   | |   
|_|  |_| |_|  \_\   |_|   
Codecov PyPI version built with Python3

Table of contents

Overview

ASCII art is also known as "computer text art". It involves the smart placement of typed special characters or letters to make a visual shape that is spread over multiple lines of text.

ART is a Python lib for text converting to ASCII art fancy. ;-)

Open Hub
PyPI Counter
Github Stars
Font Counter 505
1-Line-Art Counter 473
Branch master dev
Travis
AppVeyor
Code Quality codebeat badge CodeFactor

Usage

Quick Start

1-Line art

⚠️ Some environments don't support all 1-Line arts

⚠️ Bipartite art is deprecated and will be removed in a future release

1. art

This function return 1-line art as str in normal mode and raise artError in exception.

>>> from art import *
>>> art_1=art("coffee") # return art as str in normal mode
>>> print(art_1)
c[_]
>>> art_2=art("woman",number=2) # return multiple art as str
>>> print(art_2)
▓⚗_⚗▓ ▓⚗_⚗▓ 
>>> art_3=art("love_you",number=1,text="test") # 2-part art
>>> print(art_3)
»-(¯`·.·´¯)->test<-(¯`·.·´¯)-« 
>>> art("random") # random 1-line art mode
'(っ◕‿◕)っ '
>>> art("rand")   # random 1-line art mode
't(-_-t) '
>>> art(22,number=1,text="") # raise artError
Traceback (most recent call last):
        ...
art.art.artError: artname shoud have str type

2. aprint

This function print 1-line art in normal mode (return None) and raise artError in exception.

>>> aprint("butterfly") # print art
Ƹ̵̡Ӝ̵̨̄Ʒ 
>>> aprint("happy") # print art
 ۜ\(סּںסּَ` )/ۜ
>>> aprint("love_you",number=1,text="test")  # 2-part art
»-(¯`·.·´¯)->test<-(¯`·.·´¯)-« 
>>> aprint("random") # random 1-line art mode
'(っ◕‿◕)っ '
>>> aprint("rand")   # random 1-line art mode
't(-_-t) '
>>> aprint("woman",number="22",text="") # raise artError
Traceback (most recent call last):
        ...
art.art.artError: number should have int type

3. randart

randart function is added in Version 2.2 as art("random") shortcut.

>>> randart()
'ዞᏜ℘℘Ꮍ ℬℹℛʈዞᗬᏜᎽ '
>>> randart()
'✌(◕‿-)✌ '
  • Note : Use ART_NAMES to access all arts name list (new in Version 4.2)

ASCII text

⚠️ Some fonts don't support all characters

⚠️ From Version 3.3 Non-ASCII fonts added (These fonts are not compatible with some environments)

1. text2art

This function return ASCII text as str in normal mode and raise artError in exception.

>>> Art=text2art("art") # Return ASCII text (default font) and default chr_ignore=True 
>>> print(Art)
              _   
  __ _  _ __ | |_ 
 / _` || '__|| __|
| (_| || |   | |_ 
 \__,_||_|    \__|
                  
                     
>>> Art=text2art("art",font='block',chr_ignore=True) # Return ASCII text with block font
>>> print(Art)


 .----------------.  .----------------.  .----------------.
| .--------------. || .--------------. || .--------------. |
| |      __      | || |  _______     | || |  _________   | |
| |     /  \     | || | |_   __ \    | || | |  _   _  |  | |
| |    / /\ \    | || |   | |__) |   | || | |_/ | | \_|  | |
| |   / ____ \   | || |   |  __ /    | || |     | |      | |
| | _/ /    \ \_ | || |  _| |  \ \_  | || |    _| |_     | |
| ||____|  |____|| || | |____| |___| | || |   |_____|    | |
| |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------'

>>> Art=text2art("test","random") # random font mode
>>> print(Art)
 |       | 
~|~/~/(~~|~
 | \/__) | 
           
>>> Art=text2art("test","rand") # random font mode
>>> print(Art)
___ ____ ____ ___ 
 |  |___ [__   |  
 |  |___ ___]  | 

>>> print(text2art('''Lorem  
ipsum 
dolor''', font="small")) # Multi-line print
 _                            
| |    ___  _ _  ___  _ __    
| |__ / _ \| '_|/ -_)| '  \   
|____|\___/|_|  \___||_|_|_|  
                              
 _                         
(_) _ __  ___ _  _  _ __   
| || '_ \(_-<| || || '  \  
|_|| .__//__/ \_,_||_|_|_| 
   |_|                     
    _       _           
 __| | ___ | | ___  _ _ 
/ _` |/ _ \| |/ _ \| '_|
\__,_|\___/|_|\___/|_|  
                        

>>> print(text2art("test","white_bubble"))  # Non-ASCII font example
ⓣⓔⓢⓣ

>>> text2art("seسسس",font=DEFAULT_FONT,chr_ignore=False) # raise artError in exception
Traceback (most recent call last):
        ...
art.art.artError: س is invalid 
  

2. tprint

This function print ASCII text in normal mode (return None) and raise artError in exception.

>>> tprint("art") # print ASCII text (default font) 
              _   
  __ _  _ __ | |_ 
 / _` || '__|| __|
| (_| || |   | |_ 
 \__,_||_|    \__|
                  

>>> tprint("art",font="block",chr_ignore=True) # print ASCII text (block font)

 .----------------.  .----------------.  .----------------.
| .--------------. || .--------------. || .--------------. |
| |      __      | || |  _______     | || |  _________   | |
| |     /  \     | || | |_   __ \    | || | |  _   _  |  | |
| |    / /\ \    | || |   | |__) |   | || | |_/ | | \_|  | |
| |   / ____ \   | || |   |  __ /    | || |     | |      | |
| | _/ /    \ \_ | || |  _| |  \ \_  | || |    _| |_     | |
| ||____|  |____|| || | |____| |___| | || |   |_____|    | |
| |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------'

>>> tprint('testسس')  # chr_ignore flag ==True (Default)
 _               _   
| |_   ___  ___ | |_ 
| __| / _ \/ __|| __|
| |_ |  __/\__ \| |_ 
 \__| \___||___/ \__|
                     
>>> tprint("test","random") # random font mode
 |       | 
~|~/~/(~~|~
 | \/__) | 
           
>>> tprint("test","rand") # random font mode
___ ____ ____ ___ 
 |  |___ [__   |  
 |  |___ ___]  |  
                  

>>> tprint('testسس',chr_ignore=False) # raise artError in exception 
Traceback (most recent call last):
       ...
art.art.artError: س is invalid
>>> tprint('''Lorem  
ipsum 
dolor''', font="cybermedium") # Multi-line print
_    ____ ____ ____ _  _    
|    |  | |__/ |___ |\/|    
|___ |__| |  \ |___ |  |    
                            
_ ___  ____ _  _ _  _    
| |__] [__  |  | |\/|    
| |    ___] |__| |  |    
                         
___  ____ _    ____ ____ 
|  \ |  | |    |  | |__/ 
|__/ |__| |___ |__| |  \ 

3. tsave

This function return dict in normal and exception mode.

>>> Response=tsave("art",filename="test.txt") # save ASCII text in test.txt file with save message (print_status==True), return dict
Saved! 
Filename: test.txt
>>> Response["Message"]
'OK'
>>> Response=tsave("art",filename="test.txt",print_status=False) # save ASCII text in test.txt file without save message (print_status==False)
>>> Response["Message"]
'OK'
>>> Response["Status"]
True
>>> tsave(22,font=DEFAULT_FONT,filename="art",chr_ignore=True,print_status=True)
{'Status': False, 'Message': "'int' object has no attribute 'split'"}
>>> Response=tsave("art",filename="test.txt",overwrite=True) # overwrite parameter is added in Version 4.0
Saved! 
Filename: test.txt
                        
  • Note1 : Use FONT_NAMES to access all fonts name list (new in Version 4.2)
  • Note2 : Use NON_ASCII_FONTS to access all Non-ASCII fonts name list (new in Version 4.4)

Font modes

These modes are available for text2art, tprint & tsave.

1. Font name

⚠️ Some fonts don't support all characters

>>> tprint("art",font="block",chr_ignore=True)

 .----------------.  .----------------.  .----------------.
| .--------------. || .--------------. || .--------------. |
| |      __      | || |  _______     | || |  _________   | |
| |     /  \     | || | |_   __ \    | || | |  _   _  |  | |
| |    / /\ \    | || |   | |__) |   | || | |_/ | | \_|  | |
| |   / ____ \   | || |   |  __ /    | || |     | |      | |
| | _/ /    \ \_ | || |  _| |  \ \_  | || |    _| |_     | |
| ||____|  |____|| || | |____| |___| | || |   |_____|    | |
| |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------'

>>> tprint("art","white_bubble")
ⓐⓡⓣ

2. Random

Randomly select from all fonts.

Keywords : random, rand & rnd

>>> tprint("test",font="random")
 |       | 
~|~/~/(~~|~
 | \/__) | 
  

3. Random small

Randomly select from small fonts.

Keywords : rnd-small, random-small & rand-small

  • Note : New in Version 2.8
>>> tprint("test",font="rnd-small")
             
_/  _   _ _/ 
/  (- _)  /  
             

4. Random medium

Randomly select from medium fonts.

Keywords : rnd-medium, random-medium & rand-medium

  • Note : New in Version 2.8
>>> tprint("test",font="rnd-medium")
                      
  ,                ,  
 ||               ||  
=||=  _-_   _-_, =||= 
 ||  || \\ ||_.   ||  
 ||  ||/    ~ ||  ||  
 \\, \\,/  ,-_-   \\, 
                      
                      

5. Random large

Randomly select from large fonts.

Keywords : rnd-large, random-large & rand-large

  • Note : New in Version 2.8
>>> tprint("test",font="rnd-large")
                                                                    
8888888 8888888888 8 8888888888      d888888o.   8888888 8888888888 
      8 8888       8 8888          .`8888:' `88.       8 8888       
      8 8888       8 8888          8.`8888.   Y8       8 8888       
      8 8888       8 8888          `8.`8888.           8 8888       
      8 8888       8 888888888888   `8.`8888.          8 8888       
      8 8888       8 8888            `8.`8888.         8 8888       
      8 8888       8 8888             `8.`8888.        8 8888       
      8 8888       8 8888         8b   `8.`8888.       8 8888       
      8 8888       8 8888         `8b.  ;8.`8888       8 8888       
      8 8888       8 888888888888  `Y8888P ,88P'       8 8888       

6. Random xlarge

Randomly select from xlarge fonts.

Keywords : rnd-xlarge, random-xlarge & rand-xlarge

  • Note : New in Version 2.8
>>> tprint("test","rnd-xlarge")
      _____                    _____                    _____                _____          
     /\    \                  /\    \                  /\    \              /\    \         
    /::\    \                /::\    \                /::\    \            /::\    \        
    \:::\    \              /::::\    \              /::::\    \           \:::\    \       
     \:::\    \            /::::::\    \            /::::::\    \           \:::\    \      
      \:::\    \          /:::/\:::\    \          /:::/\:::\    \           \:::\    \     
       \:::\    \        /:::/__\:::\    \        /:::/__\:::\    \           \:::\    \    
       /::::\    \      /::::\   \:::\    \       \:::\   \:::\    \          /::::\    \   
      /::::::\    \    /::::::\   \:::\    \    ___\:::\   \:::\    \        /::::::\    \  
     /:::/\:::\    \  /:::/\:::\   \:::\    \  /\   \:::\   \:::\    \      /:::/\:::\    \ 
    /:::/  \:::\____\/:::/__\:::\   \:::\____\/::\   \:::\   \:::\____\    /:::/  \:::\____\
   /:::/    \::/    /\:::\   \:::\   \::/    /\:::\   \:::\   \::/    /   /:::/    \::/    /
  /:::/    / \/____/  \:::\   \:::\   \/____/  \:::\   \:::\   \/____/   /:::/    / \/____/ 
 /:::/    /            \:::\   \:::\    \       \:::\   \:::\    \      /:::/    /          
/:::/    /              \:::\   \:::\____\       \:::\   \:::\____\    /:::/    /           
\::/    /                \:::\   \::/    /        \:::\  /:::/    /    \::/    /            
 \/____/                  \:::\   \/____/          \:::\/:::/    /      \/____/             
                           \:::\    \               \::::::/    /                           
                            \:::\____\               \::::/    /                            
                             \::/    /                \::/    /                             
                              \/____/                  \/____/                              
                                                                                            

7. Wizard

This mode consider length of input text to select font

☑️ Support of 95 ASCII characters guaranteed

Keywords : wizard, wiz & magic

  • Note : New in Version 2.9
>>> tprint("1","wizard")
    88 
  ,d88 
888888 
    88 
    88 
    88 
    88 
    88 
    88 
    88 
       
            

>>> tprint("1"*5,"wizard")
d88  d88  d88  d88  d88  
 88   88   88   88   88  
 88   88   88   88   88  
 88   88   88   88   88  
 88   88   88   88   88  
d88P d88P d88P d88P d88P 
                         
                         

>>> tprint("1"*15,"wizard")
                                             
                                             
 #  #  #  #  #  #  #  #  #  #  #  #  #  #  # 
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 
 #  #  #  #  #  #  #  #  #  #  #  #  #  #  # 
 #  #  #  #  #  #  #  #  #  #  #  #  #  #  # 
 #  #  #  #  #  #  #  #  #  #  #  #  #  #  # 
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 
                                             
                                             

8. Random Non-ASCII

Randomly select from Non-ASCII fonts.

Keywords : random-na, rand-na & rnd-na

  • Note : New in Version 3.4
>>> tprint("test","random-na")
₮Ɇ₴₮

>>> tprint("test","random-na")
ʇsǝʇ

9. Mix Non-ASCII

Randomly mix Non-ASCII fonts.

Keywords : mix

  • Note : New in Version 3.7
>>> tprint("test","mix")
†Ɛѕ†

>>> tprint("test","mix")
tᏋѕt

>>> tprint("test","mix")
꓄єร꓄

⚠️ Non-ASCII fonts are only available in Font name, Random Non-ASCII and Mix modes

Typo-tolerance

Levenshtein distance used in this project. (Version >0.9)

>>> Art=art("loveyou",number=1,text="test") # correct --> art("love_you",number=1,text="test"), error < |artname|/2
>>> print(Art)
»-(¯`·.·´¯)->test<-(¯`·.·´¯)-« 
>>> aprint("happi")  # correct --> aprint("happy"), error < |artname|/2
 ۜ\(סּںסּَ` )/ۜ 
>>> Art=art("birds2222222",number=1) # correct --> Art=art("birds",number=1), error >= |artname|/2
Traceback (most recent call last):
	...
art.art.artError: Invalid art name
>>> aprint("happi231")  # correct --> aprint("happy"), error < |artname|/2
⎦˚◡˚⎣ 
>>> aprint("happi2312344") # correct --> aprint("happy"), error >= |artname|/2
Traceback (most recent call last):
	...
art.art.artError: Invalid art name
>>> Art=text2art("test",font="black") # correct --> Art=text2art("test",font="block")
>>> print(Art)

 .----------------.  .----------------.  .----------------.  .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. |
| |  _________   | || |  _________   | || |    _______   | || |  _________   | |
| | |  _   _  |  | || | |_   ___  |  | || |   /  ___  |  | || | |  _   _  |  | |
| | |_/ | | \_|  | || |   | |_  \_|  | || |  |  (__ \_|  | || | |_/ | | \_|  | |
| |     | |      | || |   |  _|  _   | || |   '.___`-.   | || |     | |      | |
| |    _| |_     | || |  _| |___/ |  | || |  |`\____) |  | || |    _| |_     | |
| |   |_____|    | || | |_________|  | || |  |_______.'  | || |   |_____|    | |
| |              | || |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------'  '----------------'

>>> tprint("test",font="cybermedum")   # correct --> tprint("test",font="cybermedium")
___ ____ ____ ___ 
 |  |___ [__   |  
 |  |___ ___]  |  
                  
   

Set defaults

set_default function is added in Version 2.2 in order to change default values.

>>> help(set_default)
Help on function set_default in module art.art:

set_default(font='standard', chr_ignore=True, filename='art', print_status=True, overwrite=False)
    Change text2art, tprint and tsave default values.
    
    :param font: input font
    :type font:str
    :param chr_ignore: ignore not supported character
    :type chr_ignore:bool
    :param filename: output file name (only tsave)
    :type filename:str
    :param print_status : save message print flag (only tsave)
    :type print_status:bool
    :param overwrite : overwrite the saved file if true (only tsave)
    :type overwrite:bool
    :return: None

>>> tprint("test")
 _               _   
| |_   ___  ___ | |_ 
| __| / _ \/ __|| __|
| |_ |  __/\__ \| |_ 
 \__| \___||___/ \__|
                     

>>> set_default(font="italic")
>>> tprint("test")
             
_/  _   _ _/ 
/  (- _)  /  
             
  • Note : Functions error response updated in Version 0.8

    Function Normal Output Error
    art str raise artError
    aprint None raise artError
    tprint None raise artError
    tsave {"Status":bool,"Message":str} {"Status":bool,"Message":str}
    text2art str raise artError
    set_default None raise artError

Testing

  • Only ASCII fonts and arts (without coverage) :
python -m art test
  • Only ASCII fonts and arts (with coverage) :
python -m art testcov
  • All fonts and arts (with coverage) :
python -m art testcov2

CLI

  • List of arts : python -m art list or python -m art arts
  • List of fonts : python -m art fonts
  • Text : python -m art text yourtext fontname(optional)
  • Art : python -m art shape art_name or python -m art art art_name
  • Save : python -m art save yourtext fontname(optional)
  • All : python -m art all yourtext

Telegram bot

Just send your text to one of these bots. 👇👇👇👇

Try ART in your browser

ART can be used online in interactive Jupyter Notebooks via the Binder service! Try it out now! :

Binder

  • Open FontList.ipynb and ArtList.ipynb
  • Edit and execute each part of the notes, step by step from the top panel by run button

Screen record

Screen Record

Issues & bug reports

Just fill an issue and describe it. I'll check it ASAP! or send an email to info@4r7.ir.

  • Please complete the issue template

Dependencies

master dev
Requirements Status Requirements Status

License

FOSSA Status

Reference

  1. FIGlet
  2. 1 Line Art
  3. Text To ASCII
  4. ASCII Generator
  5. Asky
  6. Flipyourtext
  7. YayText
  8. Coolletters
  9. Instagram Fonts
  10. Cool Symbol
  11. ASCII Moji
  12. SMILEY COOL
  13. SPREZZ
  14. Textart4u
  15. Chat4o
  16. Findwebapp

Donate to our project

Bitcoin :

12Xm1qL4MXYWiY9sRMoa3VpfTfw6su3vNq

Payping (For Iranian citizens)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

4.4 - 2019-12-26

Added

  • 68 new 1-line art
    1. smile
    2. toungue out1
    3. toungue out2
    4. bad hair1
    5. bad hair2
    6. woops
    7. screaming
    8. full mouth
    9. cussing
    10. ready to cry
    11. crying2
    12. druling1
    13. druling2
    14. big kiss
    15. french kiss
    16. wink
    17. big smile
    18. smirk
    19. confused1
    20. confused2
    21. pursing lips
    22. shocked2
    23. really sad
    24. baseball fan
    25. angel2
    26. really mad
    27. licking lips
    28. buck teeth
    29. surprised1
    30. alien
    31. sunglasses2
    32. don king
    33. devilish smile
    34. devilish grin
    35. clowning
    36. bugs bunny
    37. kitty2
    38. fish skeleton
    39. snowman2
    40. marshmallows
    41. nerd
    42. mouse4
    43. pistols3
    44. rock on2
    45. love in my eye2
    46. love in my eye3
    47. sad3
    48. sad4
    49. headphone2
    50. cigarette1
    51. spider3
    52. barcode2
    53. equalizer
    54. boombox2
    55. surprised2
    56. playing cards
    57. playing cards hearts
    58. playing cards diamonds
    59. playing cards spades
    60. playing cards clubs
    61. spade bold
    62. heart bold
    63. diamond bold
    64. club bold
    65. spade regular
    66. heart regular
    67. diamond regular
    68. club regular
  • MATLAB examples
  • wizard mode modified

Changed

  • Bipartite art deprecated
  • crying 1-line art renamed to crying1
  • shocked 1-line art renamed to shocked1
  • angel 1-line art renamed to angel1
  • sunglasses 1-line art renamed to sunglasses1
  • kitty 1-line art renamed to kitty1
  • snowman 1-line art renamed to snowman1
  • barcode 1-line art renamed to barcode1
  • cigaret 1-line art renamed to cigarette3
  • cigarette 1-line art renamed to cigarette2
  • headphone 1-line art renamed to headphone1
  • rock on 1-line art renamed to rock on1
  • boom box 1-line art renamed to boombox1
  • love in my eye 1-line art renamed to love in my eye1
  • CONTRIBUTING.md modified
  • TEST_FILTERED_FONTS renamed to NON_ASCII_FONTS
  • RANDOM_FILTERED_FONTS and NON_ASCII_FONTS lists optimized
  • README.md modified
  • appveyor.yml modified
  • INSTALL.md modified

4.3 - 2019-12-05

Added

  • 35 new 1-line art
    1. cup1
    2. cup2
    3. gun2
    4. gun3
    5. fish3
    6. fish4
    7. fish5
    8. sword6
    9. sword7
    10. sword8
    11. sword9
    12. knife2
    13. barcode
    14. loading1
    15. loading3
    16. loading4
    17. loading5
    18. loading6
    19. bat2
    20. band aid
    21. mouse2
    22. mouse3
    23. cat3
    24. needle2
    25. rose4
    26. electrocardiogram1
    27. electrocardiogram2
    28. electrocardiogram3
    29. electrocardiogram4
    30. snail2
    31. american money2
    32. american money3
    33. american money4
    34. american money5
    35. cassette2
  • 10 new fonts
    1. sarah
    2. hippie
    3. minion
    4. greek_legends
    5. funky_fresh
    6. atlantic
    7. foreign_friends
    8. native_lands
    9. sunday_cuddle
    10. chinese_mafia

Changed

  • gun 1-line art renamed to gun1
  • knife 1-line art renamed to knife1
  • loading 1-line art renamed to loading2
  • bat 1-line art renamed to bat1
  • mouse 1-line art renamed to mouse1
  • needle 1-line art renamed to needle2
  • snail 1-line art renamed to snail1
  • american money 1-line art renamed to american money1
  • cassette 1-line art renamed to cassette1
  • Test system modified

4.2 - 2019-10-30

Added

  • 14 new fonts
    1. smallcaps3
    2. fraktur2
    3. bold_fraktur
    4. bold_script
    5. handwriting1
    6. handwriting2
    7. rusify
    8. monospace
    9. dirty2
    10. knight2
    11. h4k3r
    12. thin3
    13. tiny2
    14. upside_down
  • FONT_NAMES variable
  • ART_NAMES variable

Changed

4.1 - 2019-09-26

Added

  • 20 new fonts
    1. fancy75
    2. fancy76
    3. fancy77
    4. fancy78
    5. love1
    6. fancy79
    7. fancy80
    8. fancy81
    9. fancy82
    10. fancy83
    11. fancy84
    12. fancy85
    13. fancy86
    14. contouring3
    15. contouring4
    16. love2
    17. black_square
    18. white_square
    19. black_bubble
    20. paranormal
  • get_font_dic function

Changed

  • font_check.py modified
  • font_wizard.py modified
  • CONTRIBUTING.md modified

4.0 - 2019-09-12

Added

  • install.sh
  • autopep8.sh
  • 21 new fonts
    1. fancy56
    2. fancy57
    3. fancy58
    4. fancy59
    5. fancy60
    6. fancy61
    7. fancy62
    8. fancy63
    9. fanyc64
    10. fancy65
    11. fancy66
    12. fancy67
    13. fancy68
    14. fancy69
    15. fanyc70
    16. fancy71
    17. fancy72
    18. fancy73
    19. fancy74
    20. contouring1
    21. contouring2

Changed

  • test.sh moved to .travis folder
  • font_wizard.py updated
  • font_check.py updated
  • tsave function bugs fixed
  • aprint and tprint functions modified
  • Test system modified
  • overwrite parameter added to tsave and set_default functions
  • README.md modified
  • CONTRIBUTING.md modified

3.9 - 2019-08-21

Added

  • __version__ variable
  • font_wizard.py
  • 15 new fonts
    1. fancy41
    2. fancy42
    3. fancy43
    4. fancy44
    5. fancy45
    6. fancy46
    7. fancy47
    8. fancy48
    9. fancy49
    10. fancy50
    11. fancy51
    12. fancy52
    13. fancy53
    14. fancy54
    15. fancy55

Changed

  • VERSION variable renamed to ART_VERSION
  • Some fonts moved to text_dic3.py
  • ISSUE_TEMPLATE.md modified
  • CONTRIBUTING.md modified

3.8 - 2019-07-19

Added

  • 11 new fonts
    1. fancy31
    2. fancy32
    3. fancy33
    4. fancy34
    5. symbols
    6. fancy35
    7. fancy36
    8. fancy37
    9. fancy38
    10. fancy39
    11. fancy40
  • 20 new 1-line art
    1. acid
    2. arrowhead
    3. awkward
    4. because
    5. blackeye
    6. catlenny
    7. dab
    8. damnyou
    9. depressed
    10. dunno
    11. eeriemob
    12. envelope
    13. fart
    14. finn
    15. frown
    16. glitter
    17. gotit
    18. hello
    19. loading
    20. meep

Changed

  • dev-requirements.txt modified

3.7 - 2019-06-24

Added

  • 3 new fonts
    1. fancy28
    2. fancy29
    3. fancy30
  • mix mode

Changed

  • Duplication test added tofont_check.py
  • README.md modified
  • fancy11 and fancy14 fonts updated
  • indirect_font function modified

Removed

  • 9 duplicate fonts
    1. magical
    2. morse2
    3. fire_font-k
    4. paranormal
    5. battle_s
    6. ntgreek
    7. peaksslant
    8. sorcerer
    9. nancyj-improved

3.6 - 2019-05-15

Added

  • 20 new fonts
    1. fancy8
    2. fancy9
    3. fancy10
    4. fancy11
    5. fancy12
    6. fancy13
    7. fancy14
    8. fancy15
    9. fancy16
    10. fancy17
    11. fancy18
    12. fancy19
    13. fancy20
    14. fancy21
    15. fancy22
    16. fancy23
    17. fancy24
    18. fancy25
    19. fancy26
    20. fancy27

Changed

  • Drop Python 3.3 support

3.5 - 2019-05-04

Added

  • 15 new fonts
    1. magical
    2. paranormal
    3. sorcerer
    4. special
    5. dirty
    6. knight
    7. thin2
    8. tiny
    9. fancy1
    10. fancy2
    11. fancy3
    12. fancy4
    13. fancy5
    14. fancy6
    15. fancy7

3.4 - 2019-04-20

Added

  • 7 new fonts
    1. white_bubble
    2. smallcaps2
    3. superscript
    4. subscript
    5. full_width
    6. currency
    7. antrophobia
  • text2art function support of \n
  • rnd-na mode

Changed

  • tprint function modified
  • tsave function modified
  • README.md modified
  • random mode modified

3.3 - 2019-04-10

Added

  • 3 new fonts
    1. mirror
    2. flip
    3. mirror_flip
  • 40 new 1-line art
    1. dead eyes
    2. satan
    3. bomb
    4. sleepy coffee
    5. high five
    6. wtf dude?
    7. fungry
    8. derp
    9. drwoning
    10. almost cared
    11. yessir
    12. coffee now
    13. round cat
    14. squee
    15. round bird
    16. hoxom
    17. squid
    18. man spider
    19. spell cast
    20. jazz musician
    21. myan cat
    22. gimme
    23. crab
    24. playing in snow
    25. sunglasses
    26. mini penis
    27. victory
    28. don fuller
    29. dgaf
    30. ryans dick
    31. eds dick
    32. point
    33. afraid
    34. laughing
    35. energy
    36. drunkenness
    37. error
    38. penis2
    39. exchange
    40. singing2
  • test2.py
  • font_check.py

Changed

  • test_mode parameter added to font_list function
  • all flag bug fixed
  • __main__.py modified
  • Warnings and errors messages moved to art_param.py
  • Art random mode modified

3.2 - 2019-04-02

Added

  • 30 new 1-line art
    1. shrug
    2. flex
    3. this guy
    4. why
    5. meditation
    6. kitty
    7. pac man
    8. emo
    9. shark attack
    10. shocked
    11. monocle
    12. piggy
    13. camera
    14. what??
    15. neo
    16. lenny
    17. snowing
    18. dick
    19. wizard
    20. wat
    21. chu
    22. butt
    23. sophie
    24. joy
    25. bautista
    26. smooth
    27. fuckall
    28. penis
    29. wat-wat
    30. fail
  • pydocstyle test

Changed

  • Docstrings modified
  • Some fonts lowercase bug fixed
  • Font random modes modified
  • test_mode parameter removed from font_list function

3.1 - 2019-03-06

Added

  • 30 new 1-line art
    1. rose3
    2. cigaret
    3. oar
    4. sword5
    5. car
    6. hacksaw
    7. canoe
    8. spider1
    9. machinegun
    10. roadblock
    11. aliens
    12. marge simpson
    13. homer simpson
    14. bat
    15. superman logo
    16. dna sample
    17. mail box
    18. ufo1
    19. ufo2
    20. spider2
    21. american money
    22. british money
    23. teepee
    24. heart3
    25. angel
    26. shark
    27. regular ass
    28. fat ass
    29. kiss my ass
    30. devil
  • 15 new fonts
    1. future_1
    2. future_2
    3. future_3
    4. future_4
    5. future_5
    6. future_6
    7. future_7
    8. future_8
    9. gauntlet
    10. ghost_bo
    11. grand_pr
    12. green_be
    13. hades
    14. heavy_me
    15. nfi1

Changed

  • README.md modified
  • art function typo-tolerance threshold modified

3.0 - 2019-02-11

Added

  • 20 new fonts
    1. druid
    2. e_fist
    3. ebbs_1
    4. ebbs_2
    5. eca
    6. faces_of
    7. fair_mea
    8. fairligh
    9. fantasy
    10. fbr12
    11. fbr1
    12. fbr2
    13. fbr_stri
    14. fbr_tilt
    15. finalass
    16. fireing
    17. flyn_sh
    18. fp1
    19. fp2
    20. funky_dr
  • CODE_OF_CONDUCT.md
  • PULL_REQUEST_TEMPLATE.md
  • ISSUE_TEMPLATE.md
  • vulture test
  • bandit test

Changed

  • README.md modified
  • CONTRIBUTING.md modified
  • font_map renamed to FONT_MAP
  • font_counter renamed to FONT_COUNTER
  • art_counter renamed to ART_COUNTER
  • Constants and parameters moved to art_param.py

2.9 - 2019-01-24

Added

  • 20 new fonts
    1. aquaplan
    2. ascii
    3. c_consen
    4. clb6x10
    5. clb8x10
    6. clb8x8
    7. cli8x8
    8. clr4x6
    9. clr5x10
    10. clr5x6
    11. clr5x8
    12. clr6x10
    13. clr6x6
    14. clr6x8
    15. clr7x8
    16. clr8x10
    17. clr8x8
    18. coil_cop
    19. com_sen
    20. c_ascii
  • wizard mode
  • Interactive notebooks section (binder)
  • .coveragerc
  • version_check.py

Changed

  • README.md modified
  • Minor bug in coverage system fixed
  • .travis.yml modified
  • font_size_splitter function thresholds fixed

2.8 - 2019-01-01

Added

  • 20 new fonts
    1. zone7
    2. zig_zag
    3. yie_ar_k
    4. yie-ar
    5. xtty
    6. war_of_w
    7. vortron
    8. utopia
    9. utopiai
    10. utopiabi
    11. utopiab
    12. usa_pq
    13. usa
    14. unarmed
    15. ugalympi
    16. ucf_fan
    17. type_set
    18. twin_cob
    19. tsn_base
    20. z-pilot
  • rnd-small mode
  • rnd-medium mode
  • rnd-large mode
  • rnd-xlarge mode

Changed

  • README.md modified

2.7 - 2018-12-23

Added

  • 30 new fonts
    1. heroboti
    2. high_noo
    3. hills
    4. home_pak
    5. house_of
    6. hypa_bal
    7. hyper
    8. inc_raw
    9. italics
    10. kgames_i
    11. kik_star
    12. krak_out
    13. 4x4_offr
    14. 5x7
    15. 5x8
    16. 64f1
    17. 6x10
    18. 6x9
    19. a_zooloo
    20. asc
    21. assalt_m
    22. asslt_m
    23. atc
    24. atc_gran
    25. battle_s
    26. battlesh
    27. baz_bil
    28. beer_pub
    29. c1
    30. c2
  • art_profile.py

Changed

  • Docstring modified
  • B1FF font bug fixed
  • ICL-1900 font bug fixed
  • AK-47 1-line art bug fixed
  • I kill you 1-line art bug fixed

2.6 - 2018-12-05

Added

  • 20 new fonts
    1. xbrite
    2. xbriteb
    3. xbritei
    4. xbritebi
    5. xchartr
    6. xchartri
    7. xcour
    8. xcourb
    9. xcourbi
    10. xcouri
    11. xhelv
    12. xhelvb
    13. xhelvbi
    14. xhelvi
    15. xsans
    16. xsansb
    17. xsansbi
    18. xsansi
    19. xtimes
    20. xttyb
  • CLI testcov flag

Changed

  • requirements.txt modified
  • INSTALL.md modified
  • CLI test flag modified

2.5 - 2018-12-02

Added

  • 15 new fonts
    1. char1
    2. char2
    3. char3
    4. char4
    5. charact1
    6. charact2
    7. charact3
    8. charact4
    9. charact5
    10. charact6
    11. characte
    12. chartr
    13. chartri
    14. 1943
    15. advenger
  • dev-requirements.txt

Changed

  • Python 3.7 added to .travis.yml & appveyor.yml
  • font_list modified
  • README.md modified
  • INSTALL.md modified

2.4 - 2018-10-30

Added

  • 10 new fonts
    1. alpha
    2. alligator3
    3. amc3liv1
    4. ascii_new_roman
    5. B1FF
    6. dwhistled
    7. eftiwall
    8. fire_font-k
    9. fire_font-s
    10. gradient

Changed

  • requirements.txt modified

2.3 - 2018-09-30

Added

  • 35 new fonts
    1. nancyj-improved
    2. nscript
    3. ntgreek
    4. nvscript
    5. octal
    6. oldbanner
    7. os2
    8. peaksslant
    9. puzzle
    10. rammstein
    11. red_phoenix
    12. runyc
    13. santaclara
    14. shimrod
    15. smallcaps
    16. smpoison
    17. soft
    18. spliff
    19. stacey
    20. stampate
    21. stforek
    22. sub-zero
    23. swampland
    24. sweet
    25. ticks
    26. ticksslant
    27. tiles
    28. tsalagi
    29. tubular
    30. twisted
    31. varsity
    32. wavy
    33. wetletter
    34. whimsy
    35. wow

2.2 - 2018-09-24

Added

  • 15 new fonts
    1. ICL-1900
    2. impossible
    3. jacky
    4. katakana
    5. keyboard
    6. knob
    7. lildevil
    8. lineblocks
    9. merlin1
    10. merlin2
    11. modular
    12. morse
    13. morse2
    14. moscow
    15. muzzle
  • set_default function
  • randart function

2.1 - 2018-09-18

Added

  • 15 new fonts
    1. fraktur
    2. funface
    3. funfaces
    4. georgi16
    5. georgia11
    6. ghost
    7. ghoulish
    8. glenyn
    9. graceful
    10. greek
    11. heartleft
    12. heartright
    13. henry3d
    14. horizontalleft
    15. horizontalright

Changed

  • setuptools removed from requirements.txt
  • OSX env added to .travis.yml
  • Test cases modified
  • text2art bug in OSX fixed

2.0 - 2018-08-30

Added

  • 20 new fonts
    1. bigfig
    2. bolger
    3. braced
    4. bright
    5. broadway
    6. cards
    7. chiseled
    8. cola
    9. crawford
    10. cricket
    11. DANC4
    12. dancingfont
    13. decimal
    14. defleppard
    15. dietcola
    16. flipped
    17. double
    18. doubleshorts
    19. eftipiti
    20. filter
  • Font list HTML page
  • Art list HTML page

1.9 - 2018-08-23

Added

  • 20 new fonts
    1. cybersmall
    2. gothic
    3. rev
    4. smtengwar
    5. term
    6. 1row
    7. 3d_diagonal
    8. 4max
    9. amc3line
    10. amcrazor
    11. amcaaa01
    12. amcneko
    13. amcrrazo2
    14. amcslash
    15. amcthin
    16. amctubes
    17. amcun1
    18. arrows
    19. bear
    20. benjamin

1.8 - 2018-08-06

Added

  • 30 new 1-line art
    1. westbound fish
    2. telephone
    3. 9/11 truth
    4. spear
    5. srs face
    6. this is areku
    7. robot boy
    8. med man
    9. angry
    10. badass
    11. zoidberg
    12. eastbound fish
    13. kilroy was here
    14. gtalk fit
    15. thanks
    16. dalek
    17. sean the sheep
    18. kablewee
    19. i dont care
    20. slenderman
    21. john lennon
    22. peace yo
    23. punch
    24. russian boobs
    25. fuck off
    26. man tears
    27. robber
    28. facepalm
    29. yo
    30. party time

1.7 - 2018-08-01

Added

  • 30 new 1-line art
    1. crayons
    2. stars in my eyes
    3. fish invasion
    4. bender
    5. musical
    6. sunny day
    7. happy birthday 1
    8. line brack
    9. med
    10. melp1
    11. happy3
    12. happy square
    13. snowman
    14. melp2
    15. i kill you
    16. jaymz
    17. text decoration
    18. long rose
    19. kirbay dance
    20. death star defense team
    21. chainsword
    22. boobies
    23. dancing people
    24. dance
    25. pictou
    26. polar bear
    27. go away bear
    28. charly
    29. train
    30. spot

Changed

  • car race 1-line art fixed

1.6 - 2018-07-10

Added

  • 30 new 1-line art
    1. sexy symbol
    2. barbell
    3. sniper rifle
    4. being draged
    5. possessed
    6. jokeranonimous
    7. epic gun
    8. love
    9. love2
    10. eric
    11. puls
    12. sky free
    13. smug bastard
    14. tie-fighter
    15. kyubey
    16. dancee
    17. mtmtika
    18. ak-47
    19. eaten apple
    20. huhu
    21. faydre
    22. domino
    23. honeycute
    24. superman
    25. worm2
    26. jokeranonimous2
    27. kyubey2
    28. nose2
    29. hell yeah
    30. roke

1.5 - 2018-06-18

Added

  • 30 new 1-line art
    1. sorreh bro
    2. yolo
    3. formula 1 car
    4. dummy
    5. rope
    6. rare
    7. chess pieces
    8. sparkling heart
    9. weather
    10. stars2
    11. upsidedown
    12. nathan
    13. cat smile
    14. old lady boobs
    15. glasses2
    16. religious
    17. sniperstars
    18. kokain
    19. bagel
    20. crying
    21. angry2
    22. 3
    23. 5
    24. fuck you
    25. head shot
    26. metal
    27. killer
    28. fu
    29. ankush
    30. owlkin

Changed

  • CLI art flag
  • CLI list flag

1.4 - 2018-06-14

Added

  • 15 new fonts
    1. letters
    2. lockergnome
    3. madrid
    4. marquee
    5. mike
    6. mini
    7. nancyj-fancy
    8. nancyj-underlined
    9. pepper
    10. poison
    11. rot13
    12. short
    13. small
    14. tengwar
    15. big
  • 11 new 1-line art
    1. teddy
    2. dice
    3. bee
    4. ukulele
    5. perky
    6. snail
    7. decorate
    8. kirby
    9. mango
    10. bunny
    11. kiss
  • random 1-line art mode

Changed

  • Minor bug in text2art random range fixed
  • README.md modified
  • aprint_test function renamed to art_list
  • setup.py modified

1.3 - 2018-06-08

Added

  • 10 new fonts
    1. eftitalic
    2. eftiwater
    3. fourtops
    4. goofy
    5. hollywood
    6. invita
    7. italic
    8. jazmine
    9. lcd
    10. lean
  • random font mode

1.2 - 2018-06-04

Added

  • 8 new fonts
    1. barbwire
    2. bigchief
    3. binary
    4. bubble
    5. calgphy2
    6. cygnet
    7. diamond
    8. eftifont

Changed

  • Test cases modified

1.1 - 2018-05-25

Added

  • 5 new fonts
    1. peaks
    2. pawp
    3. o8
    4. nipples
    5. maxfour
  • 15 new 1-line art
    1. guitar
    2. rocket
    3. ghost
    4. hal
    5. cthulhu
    6. sat
    7. what
    8. king
    9. tron
    10. homer
    11. fox
    12. singing
    13. atish
    14. zable
    15. trumpet
  • CLI description

Changed

  • README.md modified
  • Test cases modified
  • File name bug in UNIX fixed
  • CHANGELOG.md modified

1.0 - 2018-05-20

Added

  • 15 new fonts
    1. tinker-toy
    2. straight
    3. stampatello
    4. smslant
    5. smshadow
    6. smscript
    7. smkeyboard
    8. smisome1
    9. slscript
    10. slide
    11. sblood
    12. rozzo
    13. pyramid
    14. puffy
    15. pebbles
  • Typo-tolerance system

Changed

  • README.md modified
  • Test cases modified

0.9 - 2018-05-08

Added

  • 10 new fonts
    1. weird
    2. univers
    3. twopoint
    4. trek
    5. tombstone
    6. threepoint
    7. thick
    8. tanja
    9. swan
    10. stellar

Changed

  • MANIFEST.in modified
  • INSTALL.md modified

0.8 - 2018-03-13

Added

  • CHANGELOG.md

Changed

  • Functions error response
  • README.md modified
  • tsave function extension bug fixed
  • text2art response bug fixed ("\r\n")
  • setup.py modified

0.7 - 2018-01-20

Added

  • 10 new fonts
    1. acrobatic
    2. alligator
    3. alligator2
    4. block2
    5. caligraphy
    6. computer
    7. digital
    8. doh
    9. eftirobot
    10. graffiti

0.6 - 2018-01-09

Added

  • all flag

0.5 - 2017-12-05

Added

  • 10 new fonts
    1. 3-d
    2. 3x5
    3. 5lineoblique
    4. alphabet
    5. banner3-D
    6. banner3
    7. banner4
    8. bell
    9. catwalk
    10. colossal

0.4 - 2017-11-11

Added

  • Telegram bot

Changed

  • Universal text format added for Unix & Windows

0.3 - 2017-10-28

Added

  • Save function (tsave)
  • chr_ignore flag
  • 10 new fonts
    1. banner
    2. avatar
    3. basic
    4. bulbhead
    5. chunky
    6. coinstak
    7. contessa
    8. contrast
    9. cyberlarge
    10. cybermedium
    11. doom
    12. dotmatrix
    13. drpepper
    14. epic
    15. fuzzy
    16. isometric1
    17. isometric2
    18. isometric3
    19. isometric4
    20. larry3d
    21. nancyj
    22. ogre
    23. rectangles
    24. roman
    25. rounded
    26. rowancap
    27. script
    28. serifcap
    29. shadow
    30. slant
    31. speed
    32. starwars
    33. stop
    34. thin
    35. usaflag

Changed

  • Space bug fixed

0.2 - 2017-10-10

Added

  • Standard font

Changed

  • Minor bugs fixed

0.1 - 2017-10-04

Added

  • Block font
  • 1-Line art
  • CLI commands

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

art-4.4.tar.gz (557.9 kB view hashes)

Uploaded Source

Built Distribution

art-4.4-py2.py3-none-any.whl (516.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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