bestway

the best way to craft exit codes


License
Unlicense
Install
pip install bestway==0.1.1

Documentation

bestway 🤸

https://img.shields.io/pypi/dm/bestway https://img.shields.io/pypi/v/bestway https://img.shields.io/pypi/l/bestway?label=PyPi%20License

The best way to craft exit codes: xor'ing a string

Installing

$ pip install bestway

Usage Examples

from bestway import fromstr

raise SystemExit(fromstr('oops'))

Or in case of emergencies:

from bestway import Exit

raise Exit('error')