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.3.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file attributes-0.0.3.tar.gz.
File metadata
- Download URL: attributes-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5fa4bae0c1f5c32c9a6b27015163ccf21f557ff1a6617b7944fb4322ab9d34e
|
|
| MD5 |
22b709205afe09982e586d80c883303e
|
|
| BLAKE2b-256 |
625ef74161b4f57369ee82b1c423759eb3c7ddd2e3debac6629fa282d9f9f6a4
|
File details
Details for the file attributes-0.0.3-py3-none-any.whl.
File metadata
- Download URL: attributes-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
403f5b2d17303198d63c4af91161487b0beb828bf071fb9e0a5bc2d04ca8be55
|
|
| MD5 |
ddcbe44882cfa41d7860387ea011b414
|
|
| BLAKE2b-256 |
c10ecf912d3da93a27a2d9d3ba0b6c9a2950a8e204b341da13bcd4e5671a820d
|