No project description provided
Project description
attributes
a python version attribute like attribute of csharp.
Usage
from attributes import Attribute
class Data(Attribute): # make your own attribute
def __init__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
@Data(1, 2) # use your attribute
class SomeClass:
pass
data, = Attribute.get_attrs(SomeClass) # than load on runtime and use it.
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
attributes-0.0.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for attributes-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8189f5f2a5cc1fb4415f1019ceb503e36c1648031ebd943749dd27c035d69fd5 |
|
MD5 | f336d256c71978723ff03a96c41e61ae |
|
BLAKE2b-256 | 55b7b8f4db2518f73e492ab24cce406134055787dc04fb223605f1d1ae5d33ac |