exutils
扩展工具包。
当前包含:
catch_exception:异常捕获装饰器,自动打印详细参数和堆栈信息。
安装
pip install exutils
from exutils import catch_exception
@catch_exception(return_value="error", suppress=True)
def divide(x, y):
return x / y
print(divide(10, 0))
LICENSE
(MIT License,开放使用)
MIT License
Copyright (c) 2025
Permission is hereby granted, free of charge, to any person obtaining a copy
...
Metadata
Release files for exutils 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exutils-0.1.9.tar.gz | 8.0 kB | Without provenance | Details for exutils-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exutils-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for exutils-0.1.9-py3-none-any.whl |
Total release size: 13.4 kB
Release files / exutils-0.1.9.tar.gz
| Download URL | exutils-0.1.9.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b7bd798f78ca036f70a19efe21d21cf464c651545b60f8dd52610c1e356e27e
|
|
BLAKE2b-256 checksum How to use checksums |
ba8bc44de20a276ae598fab0b3a1c46bb8a723ce091bd597bdf737ecfe2c98ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / exutils-0.1.9-py3-none-any.whl
| Download URL | exutils-0.1.9-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e3fc7a380d30690f5375c76c42d7e64827f930aa259b2793f955df31840821d
|
|
BLAKE2b-256 checksum How to use checksums |
c9f73a61a80bf64e7d5a1e38238b8700cd96e4b715178845efebcce84cef5f50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for exutils 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.