Skip to main content

pypi python mit

error-helper

This is a minimalistic python module which helps you print colorful messages for CLI tools. It's available on PyPi, but you can also add it to your project as a git submodule.

Usage

>>> from error_helper import *
>>> info("this is information")                    # output will be blue
this is information
>>> hint("this is less important information")     # output will be grayed out
this is less important information
>>> warning("something didn't go quite right...")  # output will be yellow
warning: something didn't go quite right...
>>> error("something went terribly wrong")         # output will be red
error: something went terribly wrong
>>> success("completed the operation!")            # output will be green
successfully completed the operation!

prompt(...) and prompt_input(...)

The prompt(...) function, by default, prints a newline, followed by the provided values, a colon and another newline:

>>> prompt("enter the server url")

enter the server url:
>>>

The prompt_input(...) function, by default, prints the provided values, followed by a colon and a space. Then it calls the default input(...) function and returns it's result. The result will be stripped if strip=True (default).

>>> prompt("enter the server url"); url = prompt_input("url:")

enter the server url:
url:  https://30350n.de
>>> url
'https://30350n.de'

Metadata

Release files for error-helper 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for error-helper 1.5
File Size Uploaded Provenance Actions
error_helper-1.5.tar.gz 2.8 kB With provenance Details for error_helper-1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for error-helper 1.5
File Interpreter ABI Platform Actions
error_helper-1.5-py3-none-any.whl Python 3 none any Details for error_helper-1.5-py3-none-any.whl

Total release size: 6.3 kB

Release files / error_helper-1.5.tar.gz

Download URL error_helper-1.5.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ee46f31a689db19ce1a04e69f437639faa0373e1d4ce4374db2912d1ed09a1d6
BLAKE2b-256 checksum
How to use checksums
708bccc4ebf65e3e6ea3144f7c5f3d0ac3a3f2c9382421856d58fbd21c953d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2025.

Transparency log

Release files / error_helper-1.5-py3-none-any.whl

Download URL error_helper-1.5-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe3b0d05b843ff7eba0436519ddebdce6825d00aeb29c386824decc09d56673f
BLAKE2b-256 checksum
How to use checksums
e7952e28e21f9a458ce88328796c73fab57376c716f4e56d157a650588026d96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2025.

Transparency log

Security for error-helper 1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for error_helper-1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page