From 6b8376797d31409b4e23a736dd0df9adac53bf74 Mon Sep 17 00:00:00 2001 From: n00bkoder <39511547+n00bkoder@users.noreply.github.com> Date: Tue, 17 May 2022 07:24:13 -0400 Subject: [PATCH 1/5] Can now get just a list of ascii fonts and ascii arts (#202) * added ascii_font_list() in art.py which returns a list of ascii fonts * added ASCII_FONTS, ASCII_ARTS in art_param.py * updated readme and changelog * Update AUTHORS.md Co-authored-by: bryant --- AUTHORS.md | 3 ++- CHANGELOG.md | 1 + README.md | 2 ++ art/__init__.py | 2 +- art/art_param.py | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index c9f86548..c2ce9679 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -6,4 +6,5 @@ # Other Contributors # ---------- -- [@heidecjj](https://github.com/heidecjj) \ No newline at end of file +- [@heidecjj](https://github.com/heidecjj) +- [@noobkoder](https://github.com/n00bkoder) diff --git a/CHANGELOG.md b/CHANGELOG.md index caa4ca0a..edcfa12c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Added `ASCII_FONTS` and `ASCII_ARTS` to `art_param.py` ## [5.6] - 2022-04-20 ### Added - 7 new font diff --git a/README.md b/README.md index 436d9be9..83b97765 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ art.art.artError: The 'number' type must be int. * Note1 : Use `ART_NAMES` to access all arts name list (new in `Version 4.2`) * Note2 : Use `NON_ASCII_ARTS` to access all Non-ASCII arts name list (new in `Version 4.6`) +* Note3 : Use `ASCII_ARTS` to access all ASCII arts name list. ### ASCII text @@ -347,6 +348,7 @@ 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`) +* Note3 : Use `ASCII_FONTS` to access all ASCII fonts name list. ### Decoration diff --git a/art/__init__.py b/art/__init__.py index 94dcb78f..e5d97328 100644 --- a/art/__init__.py +++ b/art/__init__.py @@ -7,5 +7,5 @@ from .art import get_font_dic, set_default, help_func, art_list, font_list, decor_list from .art_param import ART_VERSION, FONT_NAMES, ART_NAMES, DECORATION_NAMES, DEFAULT_FONT from .art_param import ART_COUNTER, FONT_COUNTER, DECORATION_COUNTER -from .art_param import NON_ASCII_ARTS, NON_ASCII_FONTS +from .art_param import NON_ASCII_ARTS, NON_ASCII_FONTS, ASCII_FONTS, ASCII_ARTS __version__ = ART_VERSION diff --git a/art/art_param.py b/art/art_param.py index 4459e3d7..c7194caa 100644 --- a/art/art_param.py +++ b/art/art_param.py @@ -1722,8 +1722,10 @@ "wave9": wave9} FONT_NAMES = sorted(list(FONT_MAP.keys())) # pragma: no cover +ASCII_FONTS = sorted(set(FONT_NAMES) - set(NON_ASCII_FONTS)) DECORATION_NAMES = sorted(list(DECORATIONS_MAP.keys())) # pragma: no cover ART_NAMES = sorted(list(art_dic.keys())) # pragma: no cover +ASCII_ARTS = sorted(set(ART_NAMES) - set(NON_ASCII_ARTS)) FONT_COUNTER = len(FONT_NAMES) # pragma: no cover ART_COUNTER = len(ART_NAMES) # pragma: no cover DECORATION_COUNTER = len(DECORATION_NAMES) # pragma: no cover From a9ef25cf1a749eebac09c04f867781a69efcd0d3 Mon Sep 17 00:00:00 2001 From: Sepand Haghighi Date: Tue, 17 May 2022 20:52:38 +0430 Subject: [PATCH 2/5] Minor edits (#203) * fix : minor edit in tests * fix : minor edit in tests --- CHANGELOG.md | 4 +++- README.md | 4 ++-- art/test2.py | 4 ++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edcfa12c..8e8a8d00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Added `ASCII_FONTS` and `ASCII_ARTS` to `art_param.py` +### Added +- `ASCII_FONTS` list +- `ASCII_ARTS` list ## [5.6] - 2022-04-20 ### Added - 7 new font diff --git a/README.md b/README.md index 83b97765..ce6e2ee8 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ art.art.artError: The 'number' type must be int. * Note1 : Use `ART_NAMES` to access all arts name list (new in `Version 4.2`) * Note2 : Use `NON_ASCII_ARTS` to access all Non-ASCII arts name list (new in `Version 4.6`) -* Note3 : Use `ASCII_ARTS` to access all ASCII arts name list. +* Note3 : Use `ASCII_ARTS` to access all ASCII arts name list (new in `Version 5.7`) ### ASCII text @@ -348,7 +348,7 @@ 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`) -* Note3 : Use `ASCII_FONTS` to access all ASCII fonts name list. +* Note3 : Use `ASCII_FONTS` to access all ASCII fonts name list (new in `Version 5.7`) ### Decoration diff --git a/art/test2.py b/art/test2.py index ff2f2122..00f311a8 100644 --- a/art/test2.py +++ b/art/test2.py @@ -3008,6 +3008,10 @@ 'OK' >>> Data["Status"] True +>>> FONT_COUNTER == (len(ASCII_FONTS) + len(NON_ASCII_FONTS)) +True +>>> ART_COUNTER == (len(ASCII_ARTS) + len(NON_ASCII_ARTS)) +True >>> os.remove("antrophobia.txt") >>> os.remove("fancy37.txt") >>> os.remove("fancy6dec.txt") From 468fd90e6b08e57b1907d5937c049eb434025239 Mon Sep 17 00:00:00 2001 From: Sepand Haghighi Date: Wed, 29 Jun 2022 00:28:37 +0430 Subject: [PATCH 3/5] New fonts (#204) * font : fancy144 font added * font : fancy145 font added * font : fancy146 font added * fix : tests updated * doc : CHANGELOG updated * font : fancy147 font added * font : fancy148 font added * fix : tests updated * doc : CHANGELOG updated * doc : font counter updated * fix : autopep8 * doc : Reference section updated --- CHANGELOG.md | 6 + FontList.ipynb | 17 +- README.md | 9 +- art/art_param.py | 10 + art/test2.py | 15 ++ art/text_dic3.py | 485 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 537 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e8a8d00..f1fdee5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added +- 5 new font + 1. fancy144 + 2. fancy145 + 3. fancy146 + 4. fancy147 + 5. fancy148 - `ASCII_FONTS` list - `ASCII_ARTS` list ## [5.6] - 2022-04-20 diff --git a/FontList.ipynb b/FontList.ipynb index b274de71..02fdf31f 100644 --- a/FontList.ipynb +++ b/FontList.ipynb @@ -38,7 +38,7 @@ { "data": { "text/plain": [ - "627" + "632" ] }, "execution_count": 2, @@ -3923,6 +3923,21 @@ "fancy143 : \n", "๐Ÿ†ƒ๐Ÿ…ด๐Ÿ†‚๐Ÿ†ƒ123\n", "\n", + "fancy144 : \n", + "๐Ÿ…ฃ๐Ÿ…”๐Ÿ…ข๐Ÿ…ฃโžŠโž‹โžŒ\n", + "\n", + "fancy145 : \n", + "โ“‰โ’บโ“ˆโ“‰โ‘ โ‘กโ‘ข\n", + "\n", + "fancy146 : \n", + "ใ„’ใ ชไธ‚ใ„’ไธจๅทฑใ‡Œ\n", + "\n", + "fancy147 : \n", + "TEST123\n", + "\n", + "fancy148 : \n", + "Tโ‚‘STโ‚โ‚‚โ‚ƒ\n", + "\n", "fancy15 : \n", "โœžฦŽฦงโœž123\n", "\n", diff --git a/README.md b/README.md index ce6e2ee8..0bf8e508 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ PyPI version built with Python3 - + @@ -65,7 +65,7 @@ ART is a Python lib for text converting to ASCII art fancy. ;-) Font Counter - 627 + 632 1-Line-Art Counter @@ -808,7 +808,7 @@ Just send your text to one of these bots. ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡ 1. [FIGlet](http://www.figlet.org/) 2. [1 Line Art](http://1lineart.kulaone.com/#/) -3. [Text To ASCII](http://patorjk.com/software/taag/#p=display&f=Blocks&t=ART) +3. [Text to ASCII](http://patorjk.com/software/taag/#p=display&f=Blocks&t=ART) 4. [ASCII Generator](http://www.network-science.de/ascii/) 5. [Asky](https://asky.io/) 6. [Flipyourtext](https://www.flipyourtext.com/) @@ -830,10 +830,11 @@ Just send your text to one of these bots. ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡ 22. [Instagram Fonts2](https://www.instagramfonts.com/) 23. [Emotiworld](http://en.emotiworld.com/) 24. [Fancy Text Pro](https://www.fancytextpro.com/) -25. [Playing cards in Unicode](https://en.m.wikipedia.org/wiki/Playing_cards_in_Unicode) +25. [Playing Cards in Unicode](https://en.m.wikipedia.org/wiki/Playing_cards_in_Unicode) 26. [Text Generator](https://coolfonts.text-generator.org/) 27. [GOGOTEXT](https://instafontsgen.codesdetail.com) 28. [Fsymbols](https://fsymbols.com/) +29. [Font Copy and Paste](https://www.fontcopypaste.com/) * Logo designed by [Arta Khanalizadeh](https://www.linkedin.com/in/artakhanalizadeh) diff --git a/art/art_param.py b/art/art_param.py index c7194caa..b4c6ac30 100644 --- a/art/art_param.py +++ b/art/art_param.py @@ -796,6 +796,11 @@ "fancy141", "fancy142", "fancy143", + "fancy144", + "fancy145", + "fancy146", + "fancy147", + "fancy148", "foxy", "white_square", "black_square", @@ -1491,6 +1496,11 @@ "fancy141": [fancy141_dic, False], "fancy142": [fancy142_dic, False], "fancy143": [fancy143_dic, False], + "fancy144": [fancy144_dic, False], + "fancy145": [fancy145_dic, False], + "fancy146": [fancy146_dic, False], + "fancy147": [fancy147_dic, False], + "fancy148": [fancy148_dic, False], "tarty1": [tarty1_dic, False], "tarty2": [tarty2_dic, False], "tarty3": [tarty3_dic, False], diff --git a/art/test2.py b/art/test2.py index 00f311a8..cd1ecbc0 100644 --- a/art/test2.py +++ b/art/test2.py @@ -253,6 +253,21 @@ fancy143 : ๐Ÿ†ƒ๐Ÿ…ด๐Ÿ†‚๐Ÿ†ƒ +fancy144 : +๐Ÿ…ฃ๐Ÿ…”๐Ÿ…ข๐Ÿ…ฃ + +fancy145 : +โ“ฃโ“”โ“ขโ“ฃ + +fancy146 : +ใ‚ป๐Ÿ—ไธ‚ใ‚ป + +fancy147 : +ฦšาฝส‚ฦš + +fancy148 : +๐šโ‚‘๐˜ด๐š + fancy15 : โœžฦŽฦงโœž diff --git a/art/text_dic3.py b/art/text_dic3.py index 38565eb4..b9de387d 100644 --- a/art/text_dic3.py +++ b/art/text_dic3.py @@ -28566,3 +28566,488 @@ '|': '\n\n\n\n\n\n\n\n\n\n\n\n\n', 'K': '\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–„โ–€โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–„โ–€โ–„โ–€โ–„โ–€โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–„โ–€โ–„โ–€โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ', '(': '\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ\nโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆ\nโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–„โ–€โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆ\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ'} + +fancy144_dic = { + 'o': '๐Ÿ…ž', + 'u': '๐Ÿ…ค', + ']': ']', + 's': '๐Ÿ…ข', + 'p': '๐Ÿ…Ÿ', + 'L': '๐Ÿ…›', + 'G': '๐Ÿ…–', + 'C': '๐Ÿ…’', + '"': 'โž', + 'X': '๐Ÿ…ง', + '4': 'โž', + 'M': '๐Ÿ…œ', + "'": 'โœ', + '5': 'โžŽ', + 'd': '๐Ÿ…“', + '+': '+', + 'e': '๐Ÿ…”', + '~': '~', + 'y': '๐Ÿ…จ', + 'T': '๐Ÿ…ฃ', + '7': 'โž', + 'E': '๐Ÿ…”', + ';': ';', + '1': 'โžŠ', + '[': '[', + 'B': '๐Ÿ…‘', + ' ': ' ', + '3': 'โžŒ', + 'Y': '๐Ÿ…จ', + 'P': '๐Ÿ…Ÿ', + '{': '{', + '?': 'โ“', + 'x': '๐Ÿ…ง', + 'h': '๐Ÿ…—', + '`': '`', + 'F': '๐Ÿ…•', + '}': '}', + 'g': '๐Ÿ…–', + '>': '>', + 'l': '๐Ÿ…›', + 't': '๐Ÿ…ฃ', + '\\': '\\', + 'A': '๐Ÿ…', + '*': '*', + '$': '$', + '-': '-', + '&': '&', + 'b': '๐Ÿ…‘', + '9': 'โž’', + 'O': '๐Ÿ…ž', + 'U': '๐Ÿ…ค', + '<': '<', + 'N': '๐Ÿ…', + ')': ')', + '%': '%', + 'f': '๐Ÿ…•', + '0': 'โ“ฟ', + 'w': '๐Ÿ…ฆ', + 'j': '๐Ÿ…™', + 'a': '๐Ÿ…', + '#': '#', + 'I': '๐Ÿ…˜', + '=': '=', + 'D': '๐Ÿ…“', + 'z': '๐Ÿ…ฉ', + 'H': '๐Ÿ…—', + 'n': '๐Ÿ…', + '6': 'โž', + 'q': '๐Ÿ… ', + '/': '/', + 'Z': '๐Ÿ…ฉ', + 'm': '๐Ÿ…œ', + '_': '_', + 'S': '๐Ÿ…ข', + 'r': '๐Ÿ…ก', + '|': '|', + ',': ',', + 'R': '๐Ÿ…ก', + '!': 'โ—', + 'v': '๐Ÿ…ฅ', + 'Q': '๐Ÿ… ', + '8': 'โž‘', + 'W': '๐Ÿ…ฆ', + '@': '@', + 'c': '๐Ÿ…’', + '^': '^', + ':': ':', + 'K': '๐Ÿ…š', + '(': '(', + 'k': '๐Ÿ…š', + '.': '.', + '2': 'โž‹', + 'V': '๐Ÿ…ฅ', + 'i': '๐Ÿ…˜', + 'J': '๐Ÿ…™'} + +fancy145_dic = { + '_': '_', + 'N': 'โ“ƒ', + 'w': 'โ“ฆ', + '0': 'โ“ช', + 'a': 'โ“', + 'q': 'โ“ ', + '(': '(', + 'b': 'โ“‘', + 'O': 'โ“„', + 'V': 'โ“‹', + '!': 'โ•', + 'u': 'โ“ค', + 's': 'โ“ข', + '@': '@', + '"': 'โž', + 'X': 'โ“', + 'x': 'โ“ง', + '+': '+', + '9': 'โ‘จ', + 'F': 'โ’ป', + '{': '{', + 'U': 'โ“Š', + 'n': 'โ“', + '<': '<', + 'p': 'โ“Ÿ', + 'G': 'โ’ผ', + ' ': ' ', + '5': 'โ‘ค', + 'o': 'โ“ž', + 'k': 'โ“š', + '-': '-', + '}': '}', + ',': ',', + '>': '>', + 'z': 'โ“ฉ', + '&': '&', + '7': 'โ‘ฆ', + 'L': 'โ“', + 'C': 'โ’ธ', + '/': '/', + ')': ')', + ':': ':', + '6': 'โ‘ฅ', + 'c': 'โ“’', + '|': '|', + '~': '~', + ']': ']', + '1': 'โ‘ ', + 'i': 'โ“˜', + 'f': 'โ“•', + '$': '$', + 'y': 'โ“จ', + 'P': 'โ“…', + 'd': 'โ““', + 'W': 'โ“Œ', + 'K': 'โ“€', + '8': 'โ‘ง', + 'D': 'โ’น', + 'B': 'โ’ท', + 'T': 'โ“‰', + 'v': 'โ“ฅ', + 'Q': 'โ“†', + 'm': 'โ“œ', + '3': 'โ‘ข', + '`': '`', + 'J': 'โ’ฟ', + 'A': 'โ’ถ', + 'I': 'โ’พ', + '?': 'โ”', + '#': '#', + 'E': 'โ’บ', + 'M': 'โ“‚', + 'S': 'โ“ˆ', + '[': '[', + 'Z': 'โ“', + 'l': 'โ“›', + '2': 'โ‘ก', + 'Y': 'โ“Ž', + '%': '%', + '\\': '\\', + 'j': 'โ“™', + 't': 'โ“ฃ', + '^': '^', + 'r': 'โ“ก', + '=': '=', + '*': '*', + '4': 'โ‘ฃ', + 'R': 'โ“‡', + 'e': 'โ“”', + "'": 'โœ', + ';': ';', + 'g': 'โ“–', + 'h': 'โ“—', + 'H': 'โ’ฝ', + '.': '.'} + +fancy146_dic = { + '4': 'ไธฉ', + '.': '.', + 'e': '๐Ÿ—', + ']': ']', + 'I': 'ๅทฅ', + '_': '_', + 'c': 'โผ•', + 'B': 'ไนƒ', + 'W': 'ๅฑฑ', + 'F': 'ๅƒ', + 'H': 'ๅปพ', + 'A': '้—ฉ', + 'l': 'ใ‡„', + 't': 'ใ‚ป', + '-': '-', + '`': '`', + 'h': 'ๅ„', + 'M': '็ˆช', + '|': '|', + ' ': ' ', + '/': '/', + 'd': 'แ—ช', + '<': '<', + 's': 'ไธ‚', + 'o': 'ใ„–', + 'n': '๐“', + '?': '?', + 'z': 'โฒŒ', + 'y': 'ไธซ', + '}': '}', + 'N': '๐“', + 'E': 'ใ ช', + '&': '&', + 'P': 'ๅฐธ', + 'w': 'ๅฑฑ', + '7': '7', + 'D': 'แ—ช', + 'i': '่ฎ ', + ':': ':', + '>': '>', + 'g': 'แŽถ', + '@': '@', + 'G': 'แŽถ', + 'u': 'ใ„ฉ', + '{': '{', + '"': 'ใ€ƒ', + 'Q': 'ษŠ', + '=': '=', + '~': '~', + "'": 'ไธถ', + '5': '5', + '2': 'ๅทฑ', + ';': ';', + '#': '#', + '(': '(', + 'R': 'ๅฐบ', + ',': 'โธ', + 'X': 'ไน‚', + '3': 'ใ‡Œ', + 'J': 'ไธฟ', + 'Y': 'ใ„š', + 'b': 'โป', + 'C': 'โผ•', + 'x': 'ใ€ค', + ')': ')', + 'Z': 'ไน™', + 'j': 'ไธฟ', + '$': '$', + 'K': '้•ฟ', + 'q': 'ษŠ', + 'U': 'ใ„ฉ', + 'L': 'ใ‡„', + 'a': '้—ฉ', + 'O': '้พฑ', + 'v': 'แฏ', + '0': '0', + '\\': '\\', + '8': 'ใ€ฅ', + '6': '6', + 'f': '๏พ', + '*': '*', + 'T': 'ใ„’', + 'r': 'ๅฐบ', + '[': '[', + '^': '^', + 'p': 'ๅฐธ', + 'm': '็ˆช', + '%': '%', + 'S': 'ไธ‚', + '+': 'ไบž', + 'V': 'แฏ', + '9': '9', + '1': 'ไธจ', + '!': '!', + 'k': '้•ฟ'} + +fancy147_dic = { + 'l': 'ส…', + 'O': 'O', + 'U': 'U', + 'L': 'L', + 'N': 'N', + ']': ']', + 'K': 'K', + 'p': 'ฯ', + 't': 'ฦš', + 'Q': 'Q', + '}': '}', + 'W': 'W', + 'H': 'H', + ':': ':', + 'c': 'ฦˆ', + '4': '4', + 'g': 'ษ ', + 'F': 'F', + '0': '0', + ';': ';', + '{': '{', + '7': '7', + '2': '2', + 'q': 'ฯ™', + '*': '*', + '[': '[', + 'Y': 'Y', + '!': '!', + '=': '=', + 'M': 'M', + '-': '-', + 'k': 'ฦ™', + 's': 'ส‚', + 'm': 'ษฑ', + '3': '3', + 'S': 'S', + 'A': 'A', + 'w': 'ษฏ', + '&': '&', + 'P': 'P', + '(': '(', + '~': '~', + ',': ',', + '9': '9', + 'R': 'R', + ')': ')', + 'D': 'D', + 'n': 'ษณ', + 'a': 'ฮฑ', + 'V': 'V', + 'I': 'I', + '5': '5', + 'z': 'ศฅ', + 'r': 'ษพ', + 'b': 'แƒ–', + '|': '|', + '?': '?', + '#': '#', + 'f': 'ฯ', + 'Z': 'Z', + 'C': 'C', + 'o': 'ฯƒ', + '_': '_', + 'd': 'ิƒ', + 'u': 'ฯ…', + 'G': 'G', + ' ': ' ', + '$': '$', + 'v': 'ส‹', + 'e': 'าฝ', + '`': '`', + 'h': 'ิ‹', + '>': '>', + 'B': 'B', + '^': '^', + 'J': 'J', + 'X': 'X', + '@': '@', + 'y': 'แƒง', + '8': '8', + 'E': 'E', + '1': '1', + '"': '"', + '+': '+', + '6': '6', + '/': '/', + 'j': 'ส', + 'x': 'x', + '.': '.', + '\\': '\\', + '<': '<', + '%': '%', + "'": "'", + 'i': 'ฮน', + 'T': 'T'} + +fancy148_dic = { + 'X': 'โ‚“', + 'R': 'แตฃ', + 'k': '๐“ด', + 'l': 'แ„‚', + 't': '๐š', + 'U': 'แตค', + '%': '%', + 'M': 'M', + 'a': 'โ‚', + 'S': 'S', + '\\': '\\', + 'e': 'โ‚‘', + 'A': 'โ‚', + 'I': 'แตข', + ',': ',', + 'W': 'W', + 'm': 'แ—ฐ', + 'q': 'q', + '?': '?', + '+': 'โ‚Š', + 'i': 'แตข', + 'O': 'โ‚’', + '.': '.', + 'n': '๐š—', + '$': '$', + 'T': 'T', + '4': 'โ‚„', + 'g': 'g', + '`': '`', + 'C': 'C', + '6': 'โ‚†', + 'v': 'แตฅ', + '@': '@', + '=': 'โ‚Œ', + 'P': 'P', + '2': 'โ‚‚', + '<': '<', + 'F': 'F', + 'f': 'f', + 'o': 'โ‚’', + 'p': '๐ฉ', + '*': '*', + '!': '!', + '#': '#', + ' ': ' ', + 'H': 'H', + '5': 'โ‚…', + 'c': '๐šŒ', + 'u': 'แตค', + '_': '_', + 'Y': 'Y', + ')': 'โ‚Ž', + ']': ']', + 'd': '๐š', + '8': 'โ‚ˆ', + 'x': 'โ‚“', + 'K': 'K', + 'G': 'G', + 'Z': 'Z', + 'L': 'L', + 'D': 'D', + 'z': 'z', + 'j': 'โฑผ', + ':': ':', + 'y': 'y', + 'J': 'โฑผ', + 'r': 'แตฃ', + "'": "'", + '~': '~', + '[': '[', + '{': '{', + '}': '}', + '&': '&', + 'b': '๐š‹', + 'B': 'B', + '>': '>', + 'h': '๐“ฑ', + 's': '๐˜ด', + 'E': 'โ‚‘', + 'w': 'w', + '7': 'โ‚‡', + '"': '"', + 'N': 'N', + 'Q': 'Q', + '^': '^', + 'V': 'แตฅ', + '1': 'โ‚', + '0': 'โ‚€', + '3': 'โ‚ƒ', + ';': ';', + '-': 'โ‚‹', + '9': 'โ‚‰', + '|': '|', + '/': '/', + '(': 'โ‚'} From 52e6aff476c79580556c1e6bf4e0e0e739228c6a Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 3 Jul 2022 15:16:32 +0430 Subject: [PATCH 4/5] rel : migrate to version 5.7 --- ArtList.ipynb | 18 +++++++++--------- CHANGELOG.md | 4 +++- DecorList.ipynb | 2 +- FontList.ipynb | 2 +- INSTALL.md | 6 +++--- art/art_param.py | 2 +- art/test.py | 10 +++++----- otherfile/version_check.py | 2 +- setup.py | 2 +- 9 files changed, 25 insertions(+), 23 deletions(-) diff --git a/ArtList.ipynb b/ArtList.ipynb index c5fcab75..b1567922 100644 --- a/ArtList.ipynb +++ b/ArtList.ipynb @@ -11,7 +11,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Version : 5.6" + "### Version : 5.7" ] }, { @@ -2044,13 +2044,7 @@ "tie-fighter\n", "|โ€”Oโ€”| \n", "******************************\n", - "tired\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ + "tired\n", "( อกเฒ  ส–ฬฏ อกเฒ ) \n", "******************************\n", "touchy feely\n", @@ -2070,7 +2064,13 @@ "******************************\n", "tripping out\n", "q(โ‚โ€ฟโ‚)p \n", - "******************************\n", + "******************************\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "trolling\n", "เผผโˆตเผฝ เผผโจเผฝ เผผโขเผฝ เผผโคเผฝ \n", "******************************\n", diff --git a/CHANGELOG.md b/CHANGELOG.md index f1fdee5a..d5babc52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [5.7] - 2022-07-06 ### Added - 5 new font 1. fancy144 @@ -2017,7 +2018,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - 1-Line art - CLI commands -[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.6...dev +[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.7...dev +[5.7]: https://github.com/sepandhaghighi/art/compare/v5.6...v5.7 [5.6]: https://github.com/sepandhaghighi/art/compare/v5.5...v5.6 [5.5]: https://github.com/sepandhaghighi/art/compare/v5.4...v5.5 [5.4]: https://github.com/sepandhaghighi/art/compare/v5.3...v5.4 diff --git a/DecorList.ipynb b/DecorList.ipynb index 21f52fd8..4cdd0d63 100644 --- a/DecorList.ipynb +++ b/DecorList.ipynb @@ -11,7 +11,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Version : 5.6" + "### Version : 5.7" ] }, { diff --git a/FontList.ipynb b/FontList.ipynb index 02fdf31f..c42a3235 100644 --- a/FontList.ipynb +++ b/FontList.ipynb @@ -11,7 +11,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Version : 5.6" + "### Version : 5.7" ] }, { diff --git a/INSTALL.md b/INSTALL.md index 76771a29..14780b97 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -5,14 +5,14 @@ โš ๏ธ **PyPI** support of these versions will be removed in a **future release** ### Source code -- Download [Version 5.6](https://github.com/sepandhaghighi/art/archive/v5.6.zip) or [Latest Source](https://github.com/sepandhaghighi/art/archive/dev.zip) +- Download [Version 5.7](https://github.com/sepandhaghighi/art/archive/v5.7.zip) or [Latest Source](https://github.com/sepandhaghighi/art/archive/dev.zip) - `python3 setup.py install` or `python setup.py install` (Need root access) ### PyPI - Check [Python Packaging User Guide](https://packaging.python.org/installing/) -- `pip install art==5.6` or `pip3 install art==5.6` (Need root access) +- `pip install art==5.7` or `pip3 install art==5.7` (Need root access) * Note : On `--upgrade` error install latest version of `setuptools` : `pip install setuptools` and retry @@ -23,7 +23,7 @@ ### Easy install -- Run `easy_install "art==5.6"` (Need root access) +- Run `easy_install "art==5.7"` (Need root access) ### MATLAB diff --git a/art/art_param.py b/art/art_param.py index b4c6ac30..a4b9d967 100644 --- a/art/art_param.py +++ b/art/art_param.py @@ -6,7 +6,7 @@ from .decor_dic import * from .art_dic import * -ART_VERSION = "5.6" # pragma: no cover +ART_VERSION = "5.7" # pragma: no cover FONT_SMALL_THRESHOLD = 50 # pragma: no cover FONT_MEDIUM_THRESHOLD = 100 # pragma: no cover FONT_LARGE_THRESHOLD = 200 # pragma: no cover diff --git a/art/test.py b/art/test.py index 131415de..2174afb0 100644 --- a/art/test.py +++ b/art/test.py @@ -4366,11 +4366,11 @@ \__,_||_| \__| - ____ __ -__ __| ___| / /_ -\ \ / /|___ \ | '_ \ - \ V / ___) | _ | (_) | - \_/ |____/ (_) \___/ + ____ _____ +__ __| ___| |___ | +\ \ / /|___ \ / / + \ V / ___) | _ / / + \_/ |____/ (_) /_/ ASCII art is also known as "computer text art". diff --git a/otherfile/version_check.py b/otherfile/version_check.py index cfab717c..b50bbf81 100644 --- a/otherfile/version_check.py +++ b/otherfile/version_check.py @@ -6,7 +6,7 @@ from art.art_param import * Failed = 0 -VERSION = "5.6" +VERSION = "5.7" README_ITEMS = ['{0}'.format(str(FONT_COUNTER)), ''.format(str(ART_COUNTER)), diff --git a/setup.py b/setup.py index 51b8fa67..59435ff9 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def read_description(): setup( name='art', packages=['art'], - version='5.6', + version='5.7', description='ASCII Art Library For Python', long_description=read_description(), long_description_content_type='text/markdown', From efe99505820580a0b487656ee59566c8b9a6a0cb Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 3 Jul 2022 15:17:55 +0430 Subject: [PATCH 5/5] rel : migrate to version 5.7 --- otherfile/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherfile/meta.yaml b/otherfile/meta.yaml index d79165ff..28d7ff24 100644 --- a/otherfile/meta.yaml +++ b/otherfile/meta.yaml @@ -1,5 +1,5 @@ {% set name = "art" %} -{% set version = "5.6" %} +{% set version = "5.7" %} package: name: {{ name|lower }}