Skip to main content

common-decorators

Delightful Python decorators for daily use

Install

$ pip install common-decorators

Usage

from common_decorators import (
  lazy
)

@lazy

Defines a getter property and will assign the attribute as a normal value after the first get

class Foo:
    @lazy
    def bar(self):
        return theVeryHeavyCalculation()

foo = Foo()

print(foo.bar)

License

MIT

Metadata

Release files for common-decorators 0.0.1

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

Source distribution (sdist)

Source distribution for common-decorators 0.0.1
File Size Uploaded Provenance
common-decorators-0.0.1.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for common-decorators 0.0.1
File Interpreter ABI Platform
common_decorators-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / common-decorators-0.0.1.tar.gz

Download URL common-decorators-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
39cb2c0083a28ee6c11d095a98ad031a50903abe0c71ab7f8eeaa580576083f0
BLAKE2b-256 checksum
How to use checksums
4fe2dc5f35ff6bf0c72e00ffe84644bec5f0e650f2440cefde9ca3e419eca48c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / common_decorators-0.0.1-py3-none-any.whl

Download URL common_decorators-0.0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22c922ddf52f3d1fb25c372459a5b8f1e33a45bbec9e38992db3b98c0268bb15
BLAKE2b-256 checksum
How to use checksums
347cd597e2f9bc69cd69002b9ce668da3be81f36cf4162d4055c918296b5cd2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Security for common-decorators 0.0.1

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.0.1 This release

2 release files No provenance

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