flexible python error messaging
Project description
What is sabaka?
In Belter Creole, in the TV show The Expanse (and in the books on which the show was based), "Sabaka" means "a general-purpose curse; "Dammit!" or "You bastard!", a suitable name for an error messaging package. The purpose of sabaka is to expand options for error messages beyond passed strings to include:
- a message composed from passed args and kwargs; and
- a default message.
This is done by either using one of the included Exception subclasses or by mixing-in one of the mixin classes which add other messaging options to Python's base exceptions.
Examples
API
Exceptions
Exception Mixins
Contributing
Contributors are always welcome and should find sabaka easy to work with. The project is highly documented so that users and developers can make sabaka work with their projects. It is designed for Python coders at all levels. Beginners should be able to follow the readable code and internal documentation to understand how it works. More advanced users should find complex and tricky problems addressed through efficient code.
Project details
Release history Release notifications | RSS feed
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
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 sabaka-0.1.0.tar.gz.
File metadata
- Download URL: sabaka-0.1.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.2 Linux/5.10.0-21-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae8f6c4d348a129e28658476d3792f933ecd36eeb94bec95d82543a407f39c48
|
|
| MD5 |
6564092956ddbf58d06d5967f36543d8
|
|
| BLAKE2b-256 |
1369b21ad62f7fd5f41281b1454672f2e8401f990ccdade7ee7df2d8771bd7f6
|
File details
Details for the file sabaka-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sabaka-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.2 Linux/5.10.0-21-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b4500151a12814f86a5daea7dbc82f060ee99a196a82efdd9226732548122a
|
|
| MD5 |
bfef8842742801dd59e201a086d0b466
|
|
| BLAKE2b-256 |
3a69cc625e6da7972cbf1e359d60d9184b7bcb5d2320cd29fd2d2fc4f8fea757
|