Skip to main content

A status indicator that you can modify.

Project description

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.3:

Changed:

  • Put 0's back for now in timestamps so all statuses are aligned.

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:

Changed:

  • How the comments are formatted.

Removed:

  • Useless classmethods that didn't do anything useful.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hyper-status, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size hyper_status-1.3-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size hyper_status-1.3.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page