Last Update: 2024-09-14
Changes and improvements are more than welcome! ❤️ Feel free to fork and open a pull request.
Please consider the following :
- Fork it!
- Create your feature branch (under
dev
branch) - Add your new features or fix detected bugs
- Add standard
docstring
to your functions - Add tests for new features (
doctest
)- ASCII fonts/arts in
tests/test.py
- Other in
tests/test2.py
- ASCII fonts/arts in
- Update
README.md
(if needed) - Pass all CI tests
- Update
CHANGELOG.md
- Describe changes under
[Unreleased]
section
- Describe changes under
- Update
AUTHORS.md
- Add your name under
# Other Contributors #
section
- Add your name under
- Submit a pull request into
dev
(please complete the pull request template)
- Select a non-duplicate name
- Add new font data as a dictionary to the end of
data/fonts3.py
(support 95 printable ASCII characters)- You can use
font_wizard.py
inotherfile
folder (need to install latest version ofart
package)
- You can use
- Map font name and data in
FONT_MAP
dictionary - Select case sensitive mode in
FONT_MAP
dictionaryFalse
: If font is case sensitive (Example :"eftiwater": [eftiwater_dic, False]
)True
: If font is not case sensitive (Example :"poison": [poison_dic, True]
)- This is an optional step for memory saving, if you haven't removed capital letters from font data, you can simply select case sensitive mode
- If font only support capital letters:
- Add font name to
UPPERCASE_FONTS
- Add font name to
- If font is Non-ASCII:
- Add font name to
NON_ASCII_FONTS
list - Add a test case to
tests/test2.py
(Alphabetical order) - Add font name to
MIX_FILTERED_FONTS
list to remove it from mix mode (Optional)
- Add font name to
- If font is ASCII:
- Add a test case to
tests/test.py
(Alphabetical order) - Add font name to
RANDOM_FILTERED_FONTS
list to remove it from random modes (Optional)
- Add a test case to
- Re-run
FontList.ipynb
- Before this step you should re-install
art
package :pip install .
- Before this step you should re-install
- Update 2 font counters in
README.md
- Badge section
- Overview section
- Update
References
section inREADME.md
- Run
autopep8.bat
/autopep8.sh
(Optional, need to install latest version ofautopep8
package)
- Select a non-duplicate name
- Add 1-line art to the end of
art_dic
dictionary indata/arts.py
- Add as string (Example :
"1-line art name": "string"
)
- Add as string (Example :
- If 1-line art is Non-ASCII:
- Add 1-line art name to
NON_ASCII_ARTS
list - Add a test case to
tests/test2.py
(Alphabetical order)
- Add 1-line art name to
- If 1-line art is ASCII:
- Add a test case to
tests/test.py
(Alphabetical order) - Add 1-line art name to
RANDOM_FILTERED_ARTS
list to remove it from random mode (Optional)
- Add a test case to
- Re-run
ArtList.ipynb
- Before this step you should re-install
art
package :pip install .
- Before this step you should re-install
- Update 2 art counters in
README.md
- Badge section
- Overview section
- Update
References
section inREADME.md
- Select a non-duplicate name
- Add new decoration data as a list to the end of
data/decorations.py
- Map decoration name and data in
DECORATIONS_MAP
dictionary - Add a test case to
tests/test2.py
(Alphabetical order) - Re-run
DecorList.ipynb
- Before this step you should re-install
art
package :pip install .
- Before this step you should re-install
- Update 2 decor counters in
README.md
- Badge section
- Overview section
- Update
References
section inREADME.md