A more meaningful exception's collection for Python
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
# pyception [](https://travis-ci.org/jonathansp/pyception) [](https://badge.fury.io/py/pyception) [](https://mest.re)
A more meaningful exception's collection for Python.
Exceptions are important in Python. Throwing and handling it correctly avoid application stopping abruptly and make debug better.
- Simple and lightweight library.
- Collection inspired by frameworks and languages such as .NET, javasdk, ruby, php etc.
Feel free to open a pull request! (Please, use [Jeremy Mack's](http://seesparkbox.com/foundry/semantic_commit_messages) commit style.)
Simple usage:
```python
from pyception.security import PrivilegeNotHeldException
if not user.has_previlege('admin'):
raise PrivilegeNotHeldException('Not allowed.')
# instead of EnvironmentError or even Exception
```
Namespaces:
```python
import pyception.application
import pyception.configuration
import pyception.collection
import pyception.data
import pyception.io
import pyception.networking
import pyception.security
import pyception.system
import pyception.text
```
A more meaningful exception's collection for Python.
Exceptions are important in Python. Throwing and handling it correctly avoid application stopping abruptly and make debug better.
- Simple and lightweight library.
- Collection inspired by frameworks and languages such as .NET, javasdk, ruby, php etc.
Feel free to open a pull request! (Please, use [Jeremy Mack's](http://seesparkbox.com/foundry/semantic_commit_messages) commit style.)
Simple usage:
```python
from pyception.security import PrivilegeNotHeldException
if not user.has_previlege('admin'):
raise PrivilegeNotHeldException('Not allowed.')
# instead of EnvironmentError or even Exception
```
Namespaces:
```python
import pyception.application
import pyception.configuration
import pyception.collection
import pyception.data
import pyception.io
import pyception.networking
import pyception.security
import pyception.system
import pyception.text
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyception-0.1.4-py2-none-any.whl.
File metadata
- Download URL: pyception-0.1.4-py2-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53ad4fac9ef2e477211a3e3e44ef2efee75425c9d8b01def250e0375fb22911c
|
|
| MD5 |
5060031b3ab3353c603b1d8ba2b471df
|
|
| BLAKE2b-256 |
1cd0f86c3bf8b2f67257f4c1ba553421fc03c003569fabd0eb452a4e342f52d8
|