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.

Source Distribution

hyper_status-1.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

hyper_status-1.3-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page