exitcode-0.1.0
توضیحات
Preferred system exit codes as defined by sysexits.h
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | exitcode-0.1.0 |
| نام | exitcode |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | ['Stefan Tatschner'] |
| ایمیل نگهدارنده | ['stefan@rumpelsepp.org'] |
| نویسنده | Stefan Tatschner |
| ایمیل نویسنده | stefan@rumpelsepp.org |
| آدرس صفحه اصلی | https://github.com/rumpelsepp/exitcode |
| آدرس اینترنتی | https://pypi.org/project/exitcode/ |
| مجوز | MIT |
# exitcode
Preferred system exit codes as defined by [`sysexits.h`](https://man.openbsd.org/sysexits).
This library is inspired by this [rust library](https://docs.rs/exitcode).
## Example
All constants from the manpage [sysexits(3)](https://man.openbsd.org/sysexits) are available without the `EX_` prefix.
``` python
import exitcode
import sys
sys.exit(exitcode.OK)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl exitcode-0.1.0:
pip install exitcode-0.1.0.whl
نصب پکیج tar.gz exitcode-0.1.0:
pip install exitcode-0.1.0.tar.gz