attribute
Attribute management made easy
Installation
pip install git+https://github.com/tombulled/attribute@main
Usage
Custom Attribute
from attribute import Attribute
class Foo:
bar: str = "hello!"
>>> bar = Attribute("bar")
>>> bar.get(Foo)
"hello!"
Bundled Attribute
import attribute
class Foo:
pass
>>> attribute.name.get(Foo)
"Foo"
Metadata
Release files for tombulled-attribute 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tombulled-attribute-0.1.5.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tombulled_attribute-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / tombulled-attribute-0.1.5.tar.gz
| Download URL | tombulled-attribute-0.1.5.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b855c79038c7ade0d335a24fcb09852313cafd160ebb6cccb7b75dc784ee643
|
|
BLAKE2b-256 checksum How to use checksums |
7aa095f5350cf16f988a182ba686916e582e2fae6cc83ea2b59c433db79cfe65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-124-generic
|
Release files / tombulled_attribute-0.1.5-py3-none-any.whl
| Download URL | tombulled_attribute-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69b178d877374af9463e59367e9664ccbfcdf3245a6774c476d0aa85ae1db765
|
|
BLAKE2b-256 checksum How to use checksums |
976f239956df272ceb967ce4d718ebe27d58042c5f26259e5c14f742178a9e81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-124-generic
|