hyper-status

A status indicator that you can modify.


License
MIT
Install
pip install hyper-status==1.3

Documentation

hyper-status

A status indicator that you can modify.

examples - Changelog

Examples

# Custom print example
Status('This is a test warning. Be warned!', 'warn')
Status('Oh no, something has totally failed!', 'fail')
Status('This is fine. Everything is fine.', 'ok')
Status('Something happened.')
Status()

Changelog

v1.2:

Changed:

  • Fixed bug where time wouldn't change after Status is called multiple times.

v1.1:

Changed:

  • The way this package is imported. From from hyper_status.status import Status to from hyper_status import Status

v1.0:

Added:

  • Ability to change colors just by editing the module's color dictionary after importing.
  • You don't need to put anything at all in the Status, and it will print just the date.

Changed:

  • Amounts of colors, and the statuses that go with them.
  • Where the status is placed. The warning string is now the first priority.

Removed:

  • Wrapper for catching errors, since a person should know how to catch errors and then use this package.

v0.2:

Added:

  • Wrapper that now catches any incorrect indexes of colors.
  • If status file is called, then there will be some examples of what you can get out of the status.

Changed:

  • Comments for readability.
  • Colors within the timestamps.
  • Different formatting for the change log.

Removed:

  • 0s before times in timestamps.

v0.1:

Added:

  • Files imported from Xythrion.

Changed:

  • How the comments are formatted.

Removed:

  • Useless classmethods that didn't do anything useful.