Skip to content

Commit

Permalink
Version 5.9 (#221)
Browse files Browse the repository at this point in the history
* rel : migrate to version 5.9

* doc : CLI section warning added

* doc : minor bug in README fixed

* doc : CHANGELOG updated
  • Loading branch information
sepandhaghighi authored Mar 16, 2023
1 parent cf7f6ed commit 09f9e4a
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 31 deletions.
26 changes: 10 additions & 16 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.8"
"### Version : 5.9"
]
},
{
Expand Down Expand Up @@ -1041,13 +1041,7 @@
"******************************\n",
"high five\n",
"( ⌒o⌒)人(⌒-⌒ )v \n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"******************************\n",
"hitchhicking\n",
"(งツ)ว \n",
"******************************\n",
Expand Down Expand Up @@ -1547,7 +1541,13 @@
"<>_<> \n",
"******************************\n",
"power lines\n",
"TTT \n",
"TTT \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"******************************\n",
"pretty eyes\n",
"ఠ_ఠ \n",
Expand Down Expand Up @@ -2046,13 +2046,7 @@
"******************************\n",
"tidy up\n",
"┬─┬⃰͡ (ᵔᵕᵔ͜ ) \n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"******************************\n",
"tie-fighter\n",
"|—O—| \n",
"******************************\n",
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.9] - 2023-03-16
### Added
- 6 new font
1. small_fancy
Expand Down Expand Up @@ -2049,7 +2050,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.8...dev
[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.9...dev
[5.9]: https://github.com/sepandhaghighi/art/compare/v5.8...v5.9
[5.8]: https://github.com/sepandhaghighi/art/compare/v5.7...v5.8
[5.7]: https://github.com/sepandhaghighi/art/compare/v5.6...v5.7
[5.6]: https://github.com/sepandhaghighi/art/compare/v5.5...v5.6
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.8"
"### Version : 5.9"
]
},
{
Expand Down
22 changes: 20 additions & 2 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.8"
"### Version : 5.9"
]
},
{
Expand All @@ -38,7 +38,7 @@
{
"data": {
"text/plain": [
"640"
"646"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -3677,6 +3677,9 @@
"antrophobia : \n",
"тєѕт123\n",
"\n",
"ascii_roman : \n",
"ƬΣЅƬ123\n",
"\n",
"atlantic : \n",
"ϯεςϯ123\n",
"\n",
Expand All @@ -3701,6 +3704,9 @@
"bold_script : \n",
"𝓣𝓔𝓢𝓣123\n",
"\n",
"boom : \n",
"✞ɛֆ✞123\n",
"\n",
"bud1 : \n",
"TོEོSོTོ1ོ2ོ3ོ\n",
"\n",
Expand Down Expand Up @@ -3749,6 +3755,9 @@
"crazy : \n",
"ɬєʂɬ123\n",
"\n",
"cross_jesus : \n",
"†ҽކ123\n",
"\n",
"cruse : \n",
"ᖶᘿSᖶ123\n",
"\n",
Expand All @@ -3767,6 +3776,9 @@
"cute3 : \n",
"ƬҼՏƬ123\n",
"\n",
"dark_tattoo : \n",
"𝕿𝕰𝕾𝕿յշՅ\n",
"\n",
"dirty : \n",
"ẗệṩẗ123\n",
"\n",
Expand Down Expand Up @@ -4304,6 +4316,9 @@
"love2 : \n",
"ŦƐSŦ123\n",
"\n",
"lucifer : \n",
"ᏆᎬsᏆ123\n",
"\n",
"malayalam : \n",
"੮૯ട੮౹੨੩\n",
"\n",
Expand Down Expand Up @@ -4373,6 +4388,9 @@
"slammer : \n",
"ƮęsƮ123\n",
"\n",
"small_fancy : \n",
"ₜₑₛₜ123\n",
"\n",
"smallcaps2 : \n",
"TEST123\n",
"\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.8](https://github.com/sepandhaghighi/art/archive/v5.8.zip) or [Latest Source](https://github.com/sepandhaghighi/art/archive/dev.zip)
- Download [Version 5.9](https://github.com/sepandhaghighi/art/archive/v5.9.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.8` or `pip3 install art==5.8` (Need root access)
- `pip install art==5.9` or `pip3 install art==5.9` (Need root access)

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

Expand All @@ -29,7 +29,7 @@

### Easy install

- Run `easy_install "art==5.8"` (Need root access)
- Run `easy_install "art==5.9"` (Need root access)

### MATLAB

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ art test2
```

### CLI
⚠️ [Backward Compatibility] **ART 5.9** is the last version to support this **CLI structure**

⚠️ You can use `art` or `python -m art` to run this mode

- List of arts : `art list` or `art arts`
Expand Down
2 changes: 1 addition & 1 deletion art/art_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .decor_dic import *
from .art_dic import *

ART_VERSION = "5.8" # pragma: no cover
ART_VERSION = "5.9" # pragma: no cover
FONT_SMALL_THRESHOLD = 50 # pragma: no cover
FONT_MEDIUM_THRESHOLD = 100 # pragma: no cover
FONT_LARGE_THRESHOLD = 200 # pragma: no cover
Expand Down
8 changes: 4 additions & 4 deletions art/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4407,10 +4407,10 @@
<BLANKLINE>
<BLANKLINE>
____ ___
__ __| ___| ( _ )
\ \ / /|___ \ / _ \
\ V / ___) | _ | (_) |
\_/ |____/ (_) \___/
__ __| ___| / _ \
\ \ / /|___ \ | (_) |
\ V / ___) | _ \__, |
\_/ |____/ (_) /_/
<BLANKLINE>
<BLANKLINE>
ASCII art is also known as "computer text art".
Expand Down
2 changes: 1 addition & 1 deletion otherfile/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "art" %}
{% set version = "5.8" %}
{% set version = "5.9" %}

package:
name: {{ name|lower }}
Expand Down
2 changes: 1 addition & 1 deletion otherfile/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from art.art_param import *

Failed = 0
VERSION = "5.8"
VERSION = "5.9"

README_ITEMS = ['<td align="center">{0}</td>'.format(str(FONT_COUNTER)),
'<img src="https://img.shields.io/badge/Art List-{0}-orange.svg">'.format(str(ART_COUNTER)),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read_description():
setup(
name='art',
packages=['art'],
version='5.8',
version='5.9',
description='ASCII Art Library For Python',
long_description=read_description(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 09f9e4a

Please sign in to comment.