Skip to content

Commit

Permalink
Merge pull request #217 from sepandhaghighi/dev
Browse files Browse the repository at this point in the history
Version 5.8
  • Loading branch information
sepandhaghighi committed Nov 23, 2022
2 parents ba4f6c4 + 875cd7e commit e0ce3ad
Show file tree
Hide file tree
Showing 19 changed files with 1,008 additions and 69 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
@@ -1,5 +1,8 @@
[run]
branch = True
omit =
art/__main__.py
art/__init__.py

[report]
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at info@4r7.ir. All
reported by contacting the project team at info@ascii-art.site. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
@@ -1 +1 @@
custom: https://www.4r7.ir/#support
custom: https://www.ascii-art.site/#support
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -24,16 +24,14 @@ jobs:
python setup.py install
python -m art test
python -m art test2
python -m art testcov
python -m art testcov2
- name: Install dev-requirements
run: |
python -m pip install --upgrade pip
pip install --upgrade --upgrade-strategy=only-if-needed -r dev-requirements.txt
- name: Version check
run: |
python otherfile/version_check.py
if: matrix.python-version == 3.7
if: matrix.python-version == 3.8
- name: Font check
run: |
python otherfile/font_check.py
Expand All @@ -44,18 +42,18 @@ jobs:
run: |
pip install notebook>=5.2.2
python otherfile/notebook_check.py
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
if: matrix.python-version == 3.8 && matrix.os == 'ubuntu-latest'
- name: Other tests
run: |
python -m vulture art/ otherfile/ setup.py art_profile.py --min-confidence 65 --exclude=__init__.py --sort-by-size
python -m bandit -r art -s B311
python -m pydocstyle --match='(?!test).*\.py' -v
if: matrix.python-version == 3.7
if: matrix.python-version == 3.8
- name: Codecov
run: |
python -m art testcov2
coverage run -m art test2
codecov
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
if: matrix.python-version == 3.8 && matrix.os == 'ubuntu-latest'
- name: Profile
run: |
python -m cProfile -s cumtime art_profile.py
39 changes: 29 additions & 10 deletions ArtList.ipynb
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.7"
"### Version : 5.8"
]
},
{
Expand Down Expand Up @@ -1041,7 +1041,13 @@
"******************************\n",
"high five\n",
"( βŒ’oβŒ’)δΊΊ(βŒ’-βŒ’ )v \n",
"******************************\n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"hitchhicking\n",
"(งツ)ΰΈ§ \n",
"******************************\n",
Expand Down Expand Up @@ -2040,7 +2046,13 @@
"******************************\n",
"tidy up\n",
"┬─┬⃰͑ (α΅”α΅•α΅”Νœβ€‡) \n",
"******************************\n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"tie-fighter\n",
"|β€”Oβ€”| \n",
"******************************\n",
Expand All @@ -2064,13 +2076,7 @@
"******************************\n",
"tripping out\n",
"q(❂‿❂)p \n",
"******************************\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"******************************\n",
"trolling\n",
"༼∡༽ ༼⍨༽ ༼⍒༽ ༼⍀༽ \n",
"******************************\n",
Expand Down Expand Up @@ -2231,6 +2237,19 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "ART",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
21 changes: 20 additions & 1 deletion CHANGELOG.md
Expand Up @@ -5,6 +5,24 @@ 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.8] - 2022-11-23
### Added
- 8 new font
1. russian2
2. got
3. vip
4. crazy
5. cruse
6. drippy
7. stylish
8. ayda
### Changed
- Test system modified
- `Python 3.11` added to `test.yml`
- `Conda-Forge` installing section added to `INSTALL.md`
- Website changed to https://www.ascii-art.site
### Removed
- `testcov` and `testcov2` modes
## [5.7] - 2022-07-06
### Added
- 5 new font
Expand Down Expand Up @@ -2018,7 +2036,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.7...dev
[Unreleased]: https://github.com/sepandhaghighi/art/compare/v5.8...dev
[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
[5.5]: https://github.com/sepandhaghighi/art/compare/v5.4...v5.5
Expand Down
15 changes: 14 additions & 1 deletion DecorList.ipynb
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.7"
"### Version : 5.8"
]
},
{
Expand Down Expand Up @@ -752,6 +752,19 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "ART",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
41 changes: 39 additions & 2 deletions FontList.ipynb
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Version : 5.7"
"### Version : 5.8"
]
},
{
Expand All @@ -38,7 +38,7 @@
{
"data": {
"text/plain": [
"632"
"640"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -3686,6 +3686,9 @@
"awesome : \n",
"TEST123\n",
"\n",
"ayda : \n",
"Ε€βˆˆα•Ε€123\n",
"\n",
"black_bubble : \n",
"πŸ…£πŸ…”πŸ…’πŸ…£βžŠβž‹βžŒ\n",
"\n",
Expand Down Expand Up @@ -3743,6 +3746,12 @@
"cranky : \n",
"TEST123\n",
"\n",
"crazy : \n",
"Ι¬Ρ”Κ‚Ι¬123\n",
"\n",
"cruse : \n",
"α–Άα˜ΏSα–Ά123\n",
"\n",
"curly : \n",
"TƐϚTπŸ™Ο©Σ \n",
"\n",
Expand Down Expand Up @@ -3770,6 +3779,9 @@
"drako : \n",
"TEST123\n",
"\n",
"drippy : \n",
"Ȣᡉ˒Ȣ123\n",
"\n",
"dwarf : \n",
"α΅€α΄±Λ’α΅€ΒΉΒ²Β³\n",
"\n",
Expand Down Expand Up @@ -4244,6 +4256,9 @@
"funky_fresh : \n",
"Ρ‚αΈ™αΉ§Ρ‚123\n",
"\n",
"got : \n",
"οΌ΄οΌ₯οΌ³οΌ΄οΌ‘οΌ’οΌ“\n",
"\n",
"greek_legends : \n",
"TΞ£ST123\n",
"\n",
Expand Down Expand Up @@ -4337,6 +4352,9 @@
"russian : \n",
"TΞST123\n",
"\n",
"russian2 : \n",
"ƬƎƧƬ123\n",
"\n",
"sarah : \n",
"ᏆℰЅᏆ123\n",
"\n",
Expand Down Expand Up @@ -4379,6 +4397,9 @@
"strikethrough : \n",
"ŦɆSŦ1ƻ3\n",
"\n",
"stylish : \n",
"ȢєᏕȢ123\n",
"\n",
"subscript1 : \n",
"TEST123\n",
"\n",
Expand Down Expand Up @@ -4497,6 +4518,9 @@
"upside_down2 : \n",
"ʇǝsΚ‡123\n",
"\n",
"vip : \n",
"Ζ¬Ξ£Ζ§Ζ¬123\n",
"\n",
"white_bubble : \n",
"β“‰β’Ίβ“ˆβ“‰β‘ β‘‘β‘’\n",
"\n",
Expand Down Expand Up @@ -4531,6 +4555,19 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "ART",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
12 changes: 9 additions & 3 deletions INSTALL.md
Expand Up @@ -5,25 +5,31 @@
⚠️ **PyPI** support of these versions will be removed in a **future release**

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

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

### Conda

#### Conda-Forge
- Check [Conda-Forge](https://conda-forge.org)
- `conda install -c conda-forge ascii-art ` (Need root access)

#### Private channel
- Check [Conda Managing Package](https://conda.io)
- `conda install -c sepandhaghighi art ` (Need root access)


### Easy install

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

### MATLAB

Expand Down
10 changes: 6 additions & 4 deletions README.md
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-632-blue.svg"></a>
<a href="https://github.com/sepandhaghighi/art/blob/master/FontList.ipynb"><img src="https://img.shields.io/badge/Font List-640-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 @@ -65,7 +65,7 @@ ART is a Python lib for text converting to ASCII art fancy. ;-)
</tr>
<tr>
<td align="center">Font Counter</td>
<td align="center">632</td>
<td align="center">640</td>
</tr>
<tr>
<td align="center">1-Line-Art Counter</td>
Expand Down Expand Up @@ -788,8 +788,8 @@ Just send your text to one of these bots. πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡
1. Fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
2. Discord : [https://discord.com/invite/FAAyq3QJqP](https://discord.com/invite/FAAyq3QJqP)
3. Website : [https://www.4r7.ir](https://www.4r7.ir)
4. Email : [info@4r7.ir](mailto:info@4r7.ir "info@4r7.ir")
3. Website : [https://www.ascii-art.site](https://www.ascii-art.site)
4. Email : [info@ascii-art.site](mailto:info@ascii-art.site "info@ascii-art.site")

## Dependencies

Expand Down Expand Up @@ -835,6 +835,8 @@ Just send your text to one of these bots. πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡
27. [GOGOTEXT](https://instafontsgen.codesdetail.com)
28. [Fsymbols](https://fsymbols.com/)
29. [Font Copy and Paste](https://www.fontcopypaste.com/)
30. [Mega Cool Text](http://megacooltext.com/)
31. [ToolCalculator](https://www.toolcalculator.com/)


* Logo designed by [Arta Khanalizadeh](https://www.linkedin.com/in/artakhanalizadeh)
Expand Down

0 comments on commit e0ce3ad

Please sign in to comment.