Use checked exceptions in Python.
Project description
Checked Exception
This is a checked exception library, which tries to implement checked exceptions in Python.
Install building tools
Before publishing, you need to install some tools.
pip install wheel twine
Publish to test.pypi.org (for testing purpose)
This makes you test your package before actually publishing it.
# Build & Upload & Cleanup
python setup.py sdist bdist_wheel && python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* && rm -rf dist build *egg-info
install it with:
pip install -i https://test.pypi.org/simple/ checked-exception
Publish to pypi.org
This makes you actually publish the package to pypi.org
(where you can pip install
packages from it).
# Build & Upload & Cleanup
python setup.py sdist bdist_wheel && python -m twine upload dist/* && rm -rf dist build *egg-info
You can then install it with regular pip command you normally use:
pip install checked-exception
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
Built Distribution
File details
Details for the file checked-exception-0.0.5.tar.gz
.
File metadata
- Download URL: checked-exception-0.0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7176888497972d1a19a57baabd578a41f20821355e958650b5eac92354de7141 |
|
MD5 | 4056f60041854a2becdefdfd8bae60e2 |
|
BLAKE2b-256 | 29b17d06e50b457c45d2ea7eb711ec80eb42ac844524491435aa1740a7390b6b |
File details
Details for the file checked_exception-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: checked_exception-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4881f905092816a9537c40b5646263287f47086f290d26718ee1c4963808a88 |
|
MD5 | 9073914594e0166315d69f005e8c5fae |
|
BLAKE2b-256 | 9fd0f3fecfe6b5f8672c9c22ef39038a6fe617fb24401e58b2cf145edfa6aa77 |