Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajthinking/epicprint
https://github.com/ajthinking/epicprint
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ajthinking/epicprint
- Owner: ajthinking
- License: other
- Created: 2019-02-02T02:28:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T08:39:07.000Z (about 6 years ago)
- Last Synced: 2025-02-01T01:49:13.843Z (13 days ago)
- Language: Python
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# epicprint
Custom print with super powers## installation
```
pip install epicprint
```## usage
```
from epicprint.Print import Printprint = Print()
print.info("Welcome").group()
print.success("Now we can").group()
print.success("Indent stuff").success("Use colors").success("Chain")
print.ungroup().warning("This is my first package")
print.reset().fail("Ending with a fail message. Bye.")
```
Result:
### How to prepare it for upload (note to future self)
```
# upgrade the version in setup.py
setup.py sdist bdist_wheel
# delete the old version files generated in /dist
python -m twine upload dist/*
```
When installing you might want to uninstall or ignore cache
```
pip uninstall epicprint
pip install epicprint --no-cache-dir
```