Skip to content

Commit

Permalink
Merge pull request #129 from sepandhaghighi/dev
Browse files Browse the repository at this point in the history
Version 4.7
  • Loading branch information
sadrasabouri authored May 20, 2020
2 parents a4545ed + 9dee951 commit a38c0dd
Show file tree
Hide file tree
Showing 20 changed files with 2,588 additions and 720 deletions.
14 changes: 5 additions & 9 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,19 @@ Please consider the following :

1. Select a non-duplicate name
2. Add 1-line art to the end of ‍`art_dic` dictionary in `art_dic.py`
3. If 1-line art is not bipartite:
- Add as string (Example : ```"1-line art name": "string"```)
4. If 1-line art is bipartite:
- Add as list (Example : ```"1-line art name": ["string1","string1"]```)
- Add 1-line art name to `RANDOM_FILTERED_ARTS` list
5. If 1-line art is **Non-ASCII**:
3. If 1-line art is **Non-ASCII**:
- Add 1-line art name to `NON_ASCII_ARTS` list
- Add a test case to `test2.py` (*Alphabetical order*)
6. If 1-line art is **ASCII**:
4. If 1-line art is **ASCII**:
- Add a test case to `test.py` (*Alphabetical order*)
- Add 1-line art name to `RANDOM_FILTERED_ARTS` list to remove it from random mode (*Optional*)
7. Re-run `ArtList.ipynb`
5. Re-run `ArtList.ipynb`
- Before this step you should re-install `art` package : ```python setup.py install```
8. Update 2 art counters in `README.md`
6. Update 2 art counters in `README.md`
- Badge section
- Overview section
9. Update `Reference` section in `README.md`
7. Update `Reference` section in `README.md`

## Decoration

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Congratulations! You have made your first issue to `art`.<br>We will respond your issue and do our best to solve it as soon as possible, you can see more issues [here](https://github.com/sepandhaghighi/art/issues).'
pr-message: 'Congratulations! You have made your first Pull request to `art`.<br>Changes and improvements are more than welcome! heart Feel free to fork and open a pull request.<hr>[Contribution Guidline](https://github.com/sepandhaghighi/art/blob/master/.github/CONTRIBUTING.md)'
34 changes: 34 additions & 0 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*.tar.gz
twine upload dist/*.whl
1 change: 1 addition & 0 deletions .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fi

$PYTHON_COMMAND otherfile/version_check.py
$PYTHON_COMMAND otherfile/font_check.py
$PYTHON_COMMAND otherfile/art_decor_check.py
$PYTHON_COMMAND -m art testcov2

if [ "$IS_IN_TRAVIS" = 'false' ] || [ "$TRAVIS_PYTHON_VERSION" = '3.6' ]
Expand Down
67 changes: 5 additions & 62 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 : 4.6"
"### Version : 4.7"
]
},
{
Expand All @@ -38,7 +38,7 @@
{
"data": {
"text/plain": [
"516"
"499"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -66,9 +66,6 @@
"name": "stdout",
"output_type": "stream",
"text": [
"100$\n",
"[̲̅$̲̅(̲̅ιοο̲̅)̲̅$̲̅] \n",
"******************************\n",
"3\n",
"ᕙ༼ ,,ԾܫԾ,, ༽ᕗ \n",
"******************************\n",
Expand Down Expand Up @@ -96,9 +93,6 @@
"alien\n",
"::) \n",
"******************************\n",
"aliens\n",
"(<>..<>) \n",
"******************************\n",
"almost cared\n",
"╰╏ ◉ 〜 ◉ ╏╯ \n",
"******************************\n",
Expand Down Expand Up @@ -159,9 +153,6 @@
"bad hair2\n",
"=:-( \n",
"******************************\n",
"badass\n",
"(⌐■_■)--︻╦╤─ - - - \n",
"******************************\n",
"bagel\n",
"nln >_< nln \n",
"******************************\n",
Expand Down Expand Up @@ -306,9 +297,6 @@
"catlenny\n",
"( ͡° ᴥ ͡°) \n",
"******************************\n",
"chainsword\n",
" |O/////[{:;:;:;:;:;:;:;:;> \n",
"******************************\n",
"chair\n",
"╦╣ \n",
"******************************\n",
Expand Down Expand Up @@ -477,15 +465,9 @@
"dna sample\n",
"~ \n",
"******************************\n",
"dog\n",
"ˁ˚ᴥ˚ˀ \n",
"******************************\n",
"domino\n",
"[: :|:::] \n",
"******************************\n",
"don fuller\n",
"╭∩╮(Ο_Ο)╭∩╮ \n",
"******************************\n",
"don king\n",
"==8-) \n",
"******************************\n",
Expand Down Expand Up @@ -754,7 +736,7 @@
"»-(¯`·.·´¯)-> \n",
"******************************\n",
"heart2\n",
"\n",
" \n",
"******************************\n",
"heart3\n",
"<3 \n",
Expand Down Expand Up @@ -792,9 +774,6 @@
"huhu\n",
"█▬█ █▄█ █▬█ █▄█ \n",
"******************************\n",
"human\n",
"•͡˘㇁•͡˘ \n",
"******************************\n",
"hybrix\n",
"ʕʘ̅͜ʘ̅ʔ \n",
"******************************\n",
Expand Down Expand Up @@ -852,10 +831,7 @@
"kiss my ass\n",
"(_x_) \n",
"******************************\n",
"kitty1\n",
"=^..^= \n",
"******************************\n",
"kitty2\n",
"kitty\n",
"=^. .^= \n",
"******************************\n",
"knife1\n",
Expand Down Expand Up @@ -930,9 +906,6 @@
"love in my eye3\n",
"(❤◡❤) \n",
"******************************\n",
"love you\n",
"»-(¯`·.·´¯)-><-(¯`·.·´¯)-« \n",
"******************************\n",
"love2\n",
" ~♡ⓛⓞⓥⓔ♡~ \n",
"******************************\n",
Expand Down Expand Up @@ -975,21 +948,12 @@
"melp2\n",
"(<(<>(<>.(<>..<>).<>)<>)>) \n",
"******************************\n",
"message1\n",
"(¯`·._.·(¯`·._.· ·._.·´¯)·._.·´¯) \n",
"******************************\n",
"message2\n",
",.-~*´¨¯¨`*·~-.¸-(-,.-~*´¨¯¨`*·~-.¸ \n",
"******************************\n",
"metal\n",
"\\m/_(>_<)_\\m/ \n",
"******************************\n",
"mini penis\n",
"=D \n",
"******************************\n",
"mis mujeres\n",
"(-(-_(-_-)_-)-) \n",
"******************************\n",
"monkey\n",
"@('_')@ \n",
"******************************\n",
Expand Down Expand Up @@ -1026,9 +990,6 @@
"mtmtika\n",
":o + :p = 69 \n",
"******************************\n",
"musical\n",
"¸¸♬·¯·♩¸¸♪·¯·♫¸¸¸¸♬·¯·♩¸¸♪·¯·♫¸¸ \n",
"******************************\n",
"myancat\n",
"mmmyyyyy<⦿⽘⦿>aaaannn \n",
"******************************\n",
Expand Down Expand Up @@ -1407,9 +1368,6 @@
"stars\n",
"✌⊂(✰‿✰)つ✌ \n",
"******************************\n",
"stars in my eyes\n",
"<*_*> \n",
"******************************\n",
"stars2\n",
"⋆ ✢ ✣ ✤ ✥ ✦ ✧ ✩ ✪ ✫ ✬ ✭ ✮ ✯ ✰ ★ \n",
"******************************\n",
Expand Down Expand Up @@ -1485,15 +1443,9 @@
"tent2\n",
"/\\\\ \n",
"******************************\n",
"text decoration\n",
"(¯`·._.··¸.-~*´¨¯¨`*·~-.,-(__)-,.-~*´¨¯¨`*·~-.¸··._.·´¯) \n",
"******************************\n",
"thanks\n",
"\\(^-^)/ \n",
"******************************\n",
"this guy\n",
"(☞゚∀゚)☞ \n",
"******************************\n",
"this is areku\n",
"d(^o^)b \n",
"******************************\n",
Expand Down Expand Up @@ -1540,13 +1492,7 @@
"(:) \n",
"******************************\n",
"victory\n",
"V(-.o)V \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"V(-.o)V \n",
"******************************\n",
"volcano1\n",
"/\"\\ \n",
Expand Down Expand Up @@ -1596,9 +1542,6 @@
"worm\n",
"_/\\__/\\__0> \n",
"******************************\n",
"worm2\n",
"~ \n",
"******************************\n",
"wtf dude?\n",
"\(◑д◐)>∠(◑д◐) \n",
"******************************\n",
Expand Down
Loading

0 comments on commit a38c0dd

Please sign in to comment.