Skip to content

Commit

Permalink
Merge pull request #173 from sepandhaghighi/dev
Browse files Browse the repository at this point in the history
Version 5.3
  • Loading branch information
sepandhaghighi committed Aug 30, 2021
2 parents 5396a4d + ee86fba commit 12a7aee
Show file tree
Hide file tree
Showing 18 changed files with 1,333 additions and 201 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: https://www.4r7.ir/#support
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

# Other Contributors #
----------
- [@heidecjj](https://github.com/heidecjj)
18 changes: 9 additions & 9 deletions ArtList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.2"
"### Version : 5.3"
]
},
{
Expand Down Expand Up @@ -2034,13 +2034,7 @@
"******************************\n",
"things that can_t be unseen\n",
"♨_♨ \n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"******************************\n",
"this is areku\n",
"d(^o^)b \n",
"******************************\n",
Expand All @@ -2050,7 +2044,13 @@
"tie-fighter\n",
"|—O—| \n",
"******************************\n",
"tired\n",
"tired\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"( ͡ಠ ʖ̯ ͡ಠ) \n",
"******************************\n",
"touchy feely\n",
Expand Down
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ 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.3] - 2021-08-30
### Added
- 10 new font
1. smooth3
2. flaky
3. tiny_caps
4. high_above
5. handwriting3
6. fantasy2
7. manga
8. upside_down2
9. cool
10. instagram
### Changed
- `fantasy` font renamed to `fantasy1`
- `upside_down` font renamed to `upside_down1`
- `sep` parameter added to `text2art`, `tprint`, `tsave` and `set_default` functions
- `__word2art` function modified
- Escaped `\ ` in string literals
## [5.2] - 2021-05-05
### Added
- 10 new 1-line-art
Expand Down Expand Up @@ -1935,7 +1954,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.2...dev
[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.3...dev
[5.3]: https://github.com/sepandhaghighi/art/compare/v5.2...v5.3
[5.2]: https://github.com/sepandhaghighi/art/compare/v5.1...v5.2
[5.1]: https://github.com/sepandhaghighi/art/compare/v5.0...v5.1
[5.0]: https://github.com/sepandhaghighi/art/compare/v4.9...v5.0
Expand Down
2 changes: 1 addition & 1 deletion DecorList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.2"
"### Version : 5.3"
]
},
{
Expand Down
38 changes: 34 additions & 4 deletions FontList.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.2"
"### Version : 5.3"
]
},
{
Expand All @@ -38,7 +38,7 @@
{
"data": {
"text/plain": [
"595"
"605"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -1499,7 +1499,7 @@
"fancy51 : \n",
"7357123\n",
"\n",
"fantasy : \n",
"fantasy1 : \n",
"###### ### # ### # ###### # #### #### \n",
" # ## # ## # # ## # ### # ### \n",
" ## ## ## ## ### ## ## \n",
Expand Down Expand Up @@ -3731,6 +3731,9 @@
"contouring4 : \n",
"(̲̅T)(̲̅E)(̲̅S)(̲̅T)(̲̅1)(̲̅2)(̲̅3)\n",
"\n",
"cool : \n",
"Ꮏ𐒢ᎴᎿ123\n",
"\n",
"coptic1 : \n",
"ⲦⲈⲊⲦ123\n",
"\n",
Expand Down Expand Up @@ -4157,12 +4160,18 @@
"fancy99 : \n",
"TEST123\n",
"\n",
"fantasy2 : \n",
"ᡶꫀకᡶ౹੨੩\n",
"\n",
"fari : \n",
"『T』『E』『S』『T』『1』『2』『3』\n",
"\n",
"fasion : \n",
"TEST123\n",
"\n",
"flaky : \n",
"丅ᗴᔕ丅౹੨੩\n",
"\n",
"flip : \n",
"ꓕEƧꓕƖ53\n",
"\n",
Expand Down Expand Up @@ -4190,15 +4199,24 @@
"handwriting2 : \n",
"TEST123\n",
"\n",
"handwriting3 : \n",
"𝒯ℰ𝒮𝒯123\n",
"\n",
"hazy : \n",
"TEST123\n",
"\n",
"high_above : \n",
"ᵗᵉˢᵗ123\n",
"\n",
"hippie : \n",
"✞∃Ꮥ✞123\n",
"\n",
"hyves : \n",
"T£§T123\n",
"\n",
"instagram : \n",
"🅣🅔🅢🅣❶❷❸\n",
"\n",
"knight : \n",
"ṮḕṠṮ123\n",
"\n",
Expand All @@ -4220,6 +4238,9 @@
"malayalam : \n",
"੮૯ട੮౹੨੩\n",
"\n",
"manga : \n",
"ㄒ乇丂ㄒ౹੨੩\n",
"\n",
"messletters : \n",
"ᴛєѕᴛ123\n",
"\n",
Expand Down Expand Up @@ -4292,6 +4313,9 @@
"smooth2 : \n",
"ƬƐSƬ123\n",
"\n",
"smooth3 : \n",
"ƚҽʂƚ౹੨੩\n",
"\n",
"special : \n",
"TEᔕT123\n",
"\n",
Expand Down Expand Up @@ -4334,7 +4358,13 @@
"tiny2 : \n",
"TEST123\n",
"\n",
"upside_down : \n",
"tiny_caps : \n",
"ᴛᴇᴤᴛ𝟷𝟸𝟹\n",
"\n",
"upside_down1 : \n",
"ʇǝsʇ123\n",
"\n",
"upside_down2 : \n",
"ʇǝsʇ123\n",
"\n",
"white_bubble : \n",
Expand Down
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
⚠️ **PyPI** support of these versions will be removed in a **future release**

### Source code
- Download [Version 5.2](https://github.com/sepandhaghighi/art/archive/v5.2.zip) or [Latest Source ](https://github.com/sepandhaghighi/art/archive/dev.zip)
- Download [Version 5.3](https://github.com/sepandhaghighi/art/archive/v5.3.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.2` or `pip3 install art==5.2` (Need root access)
- `pip install art==5.3` or `pip3 install art==5.3` (Need root access)

* Note : On `--upgrade` error install latest version of `setuptools` : `pip install setuptools` and retry

Expand All @@ -23,7 +23,7 @@

### Easy install

- Run `easy_install "art==5.2"` (Need root access)
- Run `easy_install "art==5.3"` (Need root access)

### MATLAB

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</a>
<a href="https://badge.fury.io/py/art"><img src="https://badge.fury.io/py/art.svg" alt="PyPI version" height="18"></a>
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3" /></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-595-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-605-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/ArtList.ipynb"><img src="https://img.shields.io/badge/Art List-710-orange.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/DecorList.ipynb"><img src="https://img.shields.io/badge/Decor List-218-green.svg"></a>
<a href="https://t.me/artlib_bot" target="__blank"><img src="https://img.shields.io/badge/Telegram-Bot-red.svg"></a>
Expand Down Expand Up @@ -64,7 +64,7 @@ ART is a Python lib for text converting to ASCII art fancy. ;-)
</tr>
<tr>
<td align="center">Font Counter</td>
<td align="center">595</td>
<td align="center">605</td>
</tr>
<tr>
<td align="center">1-Line-Art Counter</td>
Expand Down Expand Up @@ -177,6 +177,8 @@ art.art.artError: The 'number' type must be int.

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

⚠️ From `Version 5.3` `\n` is used as the default line separator instead of `\r\n` (Use `sep` parameter if needed)

#### 1. text2art

This function return ASCII text as `str` in normal mode and raise `artError` in exception.
Expand Down Expand Up @@ -337,7 +339,9 @@ Filename: test.txt
>>> Response=tsave("art",filename="test.txt",decoration="barcode1") # decoration parameter is added in Version 4.6
Saved!
Filename: test.txt

>>> Response=tsave("art",filename="test.txt",sep="\r\n") # sep parameter is added in Version 5.3
Saved!
Filename: test.txt
```

* Note1 : Use `FONT_NAMES` to access all fonts name list (new in `Version 4.2`)
Expand Down Expand Up @@ -825,6 +829,8 @@ or send an email to [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir").
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)
26. [Text Generator](https://coolfonts.text-generator.org/)
27. [GOGOTEXT](https://instafontsgen.codesdetail.com)


* Logo designed by [Arta Khanalizadeh](https://www.linkedin.com/in/artakhanalizadeh)
Expand All @@ -837,6 +843,8 @@ Give a ⭐️ if this project helped you!

<h3>Donate to our project</h3>

If you do like our project and we hope that you do, can you please support us? Our project is not and is never going to be working for profit. We need the money just so we can continue doing what we do ;-) .

<h4>Bitcoin</h4>
1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCy
<h4>Ethereum</h4>
Expand Down
Loading

0 comments on commit 12a7aee

Please sign in to comment.