Skip to main content

A small collection of decorators I like to use often

Project description

Tecoradors

Python decorators that I like to use a lot.

Find the github repo here

Find the pypi package here

Named based on my name which starts with a T. You can find more information reading the docstrings of the functions

Decorators are

  • enforce_annotations (new in 6.3.0!): improves @accepts and @returns
  • deprecated
  • accepts
  • returns
  • interruptable
  • json_serializable
  • spread
  • builder
  • tattle
  • timed
  • squash
  • stringable
  • equatable
  • hashable
  • orderable
  • dataclass
  • final
  • freeze
  • log
  • synchronized
  • count_calls
  • lazy
  • precompute

Support from types

  • Self
  • PredicateType
  • TattleOptions
  • FrozenClassError
  • PrecomputeStorage
  • NoSuchValue

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

tecoradors_elunico-6.3.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

tecoradors_elunico-6.3.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file tecoradors_elunico-6.3.0.tar.gz.

File metadata

  • Download URL: tecoradors_elunico-6.3.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for tecoradors_elunico-6.3.0.tar.gz
Algorithm Hash digest
SHA256 742ec00cded054d5a55ffc49a80403ffe2dfe34ad8bbbb7a13b2a1699107ec0f
MD5 ff8599d01753e9487d0db0aab54341b8
BLAKE2b-256 0952b8a0c76a312273b91e165dbdfed449a4fe990621b7a677bf7e66033747a0

See more details on using hashes here.

File details

Details for the file tecoradors_elunico-6.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tecoradors_elunico-6.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0751b3867aa14f4853e9bf433d63a4aaee75bf9dc57c22b30e69aebd99367f2
MD5 560d2a5871a4ead75a6bc7e928ec8ad4
BLAKE2b-256 cf819b56ddc363f1e66e928dc2fa870ffcd87af26fce4db76ed81fd74ea3b8c8

See more details on using hashes here.

Supported by

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