Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

# pyception [![Build Status](https://travis-ci.org/jonathansp/pyception.svg?branch=master)](https://travis-ci.org/jonathansp/pyception) [![PyPI version](https://badge.fury.io/py/pyception.svg)](https://badge.fury.io/py/pyception) [![JSPDicas](https://img.shields.io/badge/jspdicas-approved-blue.svg)](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
```

Metadata

Release files for pyception 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyception 0.1.4
File Interpreter ABI Platform
pyception-0.1.4-py2-none-any.whl Python 2 none any Details

Release files / pyception-0.1.4-py2-none-any.whl

Download URL pyception-0.1.4-py2-none-any.whl
Size 9.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
53ad4fac9ef2e477211a3e3e44ef2efee75425c9d8b01def250e0375fb22911c
BLAKE2b-256 checksum
How to use checksums
1cd0f86c3bf8b2f67257f4c1ba553421fc03c003569fabd0eb452a4e342f52d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page