This release is a pre-release and may not be stable for production use.
noerr
Catch exceptions via context manager in Python.
Super simple to use:
from noerr import no_err
with no_err:
raise Exception("This won't crash my code!")
print("Yup, still going with no error!")
Also possible to log errors:
from noerr import log_err
with log_err:
raise Exception("Should probably warn the user about this one.")
print("We now see the error, but don't stop because of it")
Outputs:
Exception logged by "LogError"
Traceback (most recent call last):
File "<input>", line 4, in <module>
Exception: Should probably warn the user about this one.
We now see the error, but don't stop because of it
Install
pip install noerr
License
MIT License - Copyright (c) 2020 Chris Griffith - See LICENSE
Metadata
Release files for noerr 1.0.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| noerr-1.0.0a0.tar.gz | 2.6 kB | Without provenance | Details for noerr-1.0.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| noerr-1.0.0a0-py3-none-any.whl | Python 3 | none | any | Details for noerr-1.0.0a0-py3-none-any.whl |
Total release size: 5.4 kB
Release files / noerr-1.0.0a0.tar.gz
| Download URL | noerr-1.0.0a0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71441ef2e8a8a97987e8cb47639f83a6a1c0154bb5cf690f2dab77684d7c39cc
|
|
BLAKE2b-256 checksum How to use checksums |
21442fba04cccad5d96996baa3394a9700f8bd77208b50dd1111746a20ae9dfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.8
|
Release files / noerr-1.0.0a0-py3-none-any.whl
| Download URL | noerr-1.0.0a0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6916390b048458d91b3325b698fec727853f05c7cf7ad8632347f76608e2ed2f
|
|
BLAKE2b-256 checksum How to use checksums |
cf72cc7911a90e5b963224ea52a413faf3ec1b466bdfa5a810b03c45eed28840
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.8
|
Security for noerr 1.0.0a0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.