========= exceptiom
Make python exceptions fun.
Installation
Install exceptiom using pip.
pip install exceptiom
We are on PyPi
Visit us on Github
Usage
Import Exceptiom
from exceptiom import Exceptiom
and then raise exceptiom like
try:
5 / 0
except Exception:
raise Exceptiom('Failed while performing division')
You can also make it as the base class for all your derived exception.
Instead of doing class MyException(Exception) you can write class MyException(Exceptiom)
Contributon
To add jokes, just add joke in exceptiom/jokes_en and raise a PR.
For any other features raise a PR
For Developers
-
Version bump
bumpversion --current-version 1.2.0 minor setup.py -
Publishing to PyPi
1.
python setup.py sdist2.
python setup.py sdist
Metadata
Release files for exceptiom 1.3.0
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 |
|---|---|---|---|---|
| exceptiom-1.3.0.tar.gz | 5.5 kB | Without provenance | Details for exceptiom-1.3.0.tar.gz |
Release files / exceptiom-1.3.0.tar.gz
| Download URL | exceptiom-1.3.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
184ee524eece320381447c1a4be6d2a1a1aa8cd6314896ace623416f1ff3e26c
|
|
BLAKE2b-256 checksum How to use checksums |
312476fa89be62fc9f205c7cda742043b7451ed65cdcffe23f8cb1356808c4e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.5
|
Security for exceptiom 1.3.0
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.