Skip to main content

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

omniwrap-1.1.0.tar.gz (53.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omniwrap-1.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file omniwrap-1.1.0.tar.gz.

File metadata

  • Download URL: omniwrap-1.1.0.tar.gz
  • Upload date:
  • Size: 53.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for omniwrap-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d13ad5e6cbeb95891777066c97132640b73af43450e0151a1daf3c585a4562bd
MD5 b9720157406ed97709eb690f318801bb
BLAKE2b-256 cb7c6477a6d80731535725da4bbd6dd57171a7983ed95927713505d70bc73327

See more details on using hashes here.

Provenance

The following attestation bundles were made for omniwrap-1.1.0.tar.gz:

Publisher: publish.yml on omniviser/omniray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omniwrap-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: omniwrap-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for omniwrap-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d9c87e9bd8fe860c8b56fd6498831a572fadb4ea3337a545b240a432e30b44c
MD5 3dcc308773c0459703be7ad42d5eb910
BLAKE2b-256 e7f827f8907d5657df4eeac63e9d42cb8e1e244191df473db7131d64d6014892

See more details on using hashes here.

Provenance

The following attestation bundles were made for omniwrap-1.1.0-py3-none-any.whl:

Publisher: publish.yml on omniviser/omniray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page