Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajthinking/epicprint


https://github.com/ajthinking/epicprint

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# epicprint
Custom print with super powers

## installation
```
pip install epicprint
```

## usage
```
from epicprint.Print import Print

print = 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
```