Skip to main content

DecTools

DecTools provides a library of tools for creating Python decorators. It unifies usage between class decorators, decorators requiring arguments, and simple decorators. It also provides correct names, doc, and function signatures for decorated functions. Typical usage often looks like this:

@make_call_once
def register_callback(function):
      gui.callback_create(function.__name__, function)

@make_call_before
def require_login(function, args, kwargs, page_name):
     while not current_user_id():
        ...

@register
@require_login("Summary of Items")
def view_summary():
    ...

You can find manuals in docs/index.html.

Metadata

Release files for dectools 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dectools 0.1.4
File Size Uploaded Provenance Actions
dectools-0.1.4.tar.gz 3.7 MB Without provenance Details for dectools-0.1.4.tar.gz

Release files / dectools-0.1.4.tar.gz

Download URL dectools-0.1.4.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
ca47183111fa5b603c6a00c9de33a760ef6c91c0f9c8d94271b7a7299e3cd664
BLAKE2b-256 checksum
How to use checksums
09eed4c6448ac8a61b50120a54b0561a555adbe18668b1fb58001eee40e3065d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dectools 0.1.4

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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page