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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hyper_status-1.3.tar.gz.

File metadata

  • Download URL: hyper_status-1.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for hyper_status-1.3.tar.gz
Algorithm Hash digest
SHA256 f21d40454385eb7685bf7460fddc677f80aea1a9295756a4b8b01414b28af132
MD5 0b74a3514bb6afe6a470dad34d26310c
BLAKE2b-256 d7e20ed31d28f936b33f313152e5d11944e921fb5feb148210f2f389c22c1464

See more details on using hashes here.

File details

Details for the file hyper_status-1.3-py3-none-any.whl.

File metadata

  • Download URL: hyper_status-1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for hyper_status-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8400a434e290ae358348bbf23244a0746946ed8efe8af41f59c4e4f7582227
MD5 e4dd081639e0e6f0c76bd6dd19812a1b
BLAKE2b-256 47c846fb0c553b9efdc862cb951dc7784b7e63b67311a81b6c26782e2776bf1a

See more details on using hashes here.

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