Easy peasy Python decorators
Project description
Decorators are great, but they’re hard to write, especially if you want to include arguments to your decorators, or use your decorators on class methods as well as functions. I know that, no matter how many I write, I still find myself looking up the syntax every time. And that’s just for simple function decorators. Getting decorators to work consistently at the class and method level is a whole ‘nother barrel of worms.
PyDecor aims to make function decoration easy and straightforward, so that developers can stop worrying about closures and syntax in triply nested functions and instead get down to decorating!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pydecor-1.1.0.tar.gz
.
File metadata
- Download URL: pydecor-1.1.0.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf9a06c94f5afcd5eda3589bbc3bfafbe31f3e80f9032f77c1107e5bd3e2359 |
|
MD5 | 6317ee3d5ea33402618fd04ca5ca1a1d |
|
BLAKE2b-256 | 225516ac4f2a0086e98305800f828540d6d3d1134eb945ff4b99127d3771b1b1 |