A decorator to set some attribute to a function.
Project description
# attributetools
A decorator to set some attribute to a function
## install
pip install git+https://github.com/paulo-romano/attributetools.git
## usage
```python
from attributetools import attribute
@attribute(short_description='Mark me as paid')
def doitfunc(request, queryset):
pass
```
A decorator to set some attribute to a function
## install
pip install git+https://github.com/paulo-romano/attributetools.git
## usage
```python
from attributetools import attribute
@attribute(short_description='Mark me as paid')
def doitfunc(request, queryset):
pass
```
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
attributetools-0.1.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for attributetools-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73682bee2e0bb1702c3d1b14693c5924d3993d137ef879633db137132b44c1f0 |
|
MD5 | 5d35269d59054f7a90d7b070c7702005 |
|
BLAKE2b-256 | 5242a710c7c7dd39d4eb1a409c342a5f41bcd33faf2b515f99fb2eecde046423 |