Automatically wrap every function and method in your codebase.
Project description
omniwrap
Automatically wrap every function and method in your codebase with a single call.
See the main README for full documentation.
Installation
pip install omniwrap
Quick Start
from omniwrap import wrap_all
def log_calls(wrapped, instance, args, kwargs):
print(f"Calling {wrapped.__qualname__}")
return wrapped(*args, **kwargs)
wrap_all(log_calls)
License
Apache 2.0
Project details
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 omniwrap-1.0.1.tar.gz.
File metadata
- Download URL: omniwrap-1.0.1.tar.gz
- Upload date:
- Size: 50.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b387331baec6ace1da14f0fe6855239b1e1e83234387ba20647bb495d305f0c
|
|
| MD5 |
7ce5f010ccab38c530cf9aa8acaa7952
|
|
| BLAKE2b-256 |
07559b54ea1d1af23ce5ce64183d3f512ecef9037d8af2ab6f6cc85ef0a28bb0
|
Provenance
The following attestation bundles were made for omniwrap-1.0.1.tar.gz:
Publisher:
publish.yml on omniviser/omniray
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omniwrap-1.0.1.tar.gz -
Subject digest:
0b387331baec6ace1da14f0fe6855239b1e1e83234387ba20647bb495d305f0c - Sigstore transparency entry: 1185706427
- Sigstore integration time:
-
Permalink:
omniviser/omniray@de7ffbebadae2ad10e2f0f9611c67eaa24dd85df -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/omniviser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@de7ffbebadae2ad10e2f0f9611c67eaa24dd85df -
Trigger Event:
release
-
Statement type:
File details
Details for the file omniwrap-1.0.1-py3-none-any.whl.
File metadata
- Download URL: omniwrap-1.0.1-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
700d21a447239cf8a704a417f6bffb7ebbcd3bc3b44f9e9e86dab470190dc764
|
|
| MD5 |
570b0db0fcc7f07be87d935d81d02cbb
|
|
| BLAKE2b-256 |
c2ca85807d4e6b6d0cb79856326da9ce2278d71b00aff6e575f110fea4ed64b7
|
Provenance
The following attestation bundles were made for omniwrap-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on omniviser/omniray
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omniwrap-1.0.1-py3-none-any.whl -
Subject digest:
700d21a447239cf8a704a417f6bffb7ebbcd3bc3b44f9e9e86dab470190dc764 - Sigstore transparency entry: 1185706436
- Sigstore integration time:
-
Permalink:
omniviser/omniray@de7ffbebadae2ad10e2f0f9611c67eaa24dd85df -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/omniviser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@de7ffbebadae2ad10e2f0f9611c67eaa24dd85df -
Trigger Event:
release
-
Statement type: