Introduction
Exception handling is one of the most cruicial part of the coding practices. And it is always a good idea to handle the specific exception using try-except rather than just handling the Exception class in Python. This package can help you achieve the same.
Steps
- Install the package using
pip install know-your-exceptions - Import the decorator in your file using
from know_your_exceptions.decorators import exc_finder - Add this decorator over your function, and make sure that you function does not have any try-except block (so that this package can suggest you accurate exception handling method)
Example Response
Metadata
Release files for know-your-exceptions 0.3
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 |
|---|---|---|---|---|
| know_your_exceptions-0.3.tar.gz | 3.5 kB | Without provenance | Details for know_your_exceptions-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| know_your_exceptions-0.3-py3-none-any.whl | Python 3 | none | any | Details for know_your_exceptions-0.3-py3-none-any.whl |
Total release size: 7.2 kB
Release files / know_your_exceptions-0.3.tar.gz
| Download URL | know_your_exceptions-0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b77ce20f9588e5c42baec741d9c1ef3c5c5b364a42d145f710bd5617b90c71cc
|
|
BLAKE2b-256 checksum How to use checksums |
c81235e622d9792e22981e2621de4e4b7c51c18f3bb6be075f748ce1752779f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|
Release files / know_your_exceptions-0.3-py3-none-any.whl
| Download URL | know_your_exceptions-0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04041221973910854ea3640bce6693e054fb2031ef87fadce55d6daab4cd55e4
|
|
BLAKE2b-256 checksum How to use checksums |
49958b925fa0374d159d93258dbb23240ea610f423d24405c5177ef56ef987a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|
Security for know-your-exceptions 0.3
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.