Attribute management made easy
Project description
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"
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
Built Distribution
Close
Hashes for tombulled-attribute-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b855c79038c7ade0d335a24fcb09852313cafd160ebb6cccb7b75dc784ee643 |
|
MD5 | ee263e447b03028ffccfd94efeb8ec6a |
|
BLAKE2b-256 | 7aa095f5350cf16f988a182ba686916e582e2fae6cc83ea2b59c433db79cfe65 |
Close
Hashes for tombulled_attribute-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b178d877374af9463e59367e9664ccbfcdf3245a6774c476d0aa85ae1db765 |
|
MD5 | 15bc4b191728972382053068f34993ef |
|
BLAKE2b-256 | 976f239956df272ceb967ce4d718ebe27d58042c5f26259e5c14f742178a9e81 |