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
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 tombulled-attribute-0.1.5.tar.gz.
File metadata
- Download URL: tombulled-attribute-0.1.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b855c79038c7ade0d335a24fcb09852313cafd160ebb6cccb7b75dc784ee643
|
|
| MD5 |
ee263e447b03028ffccfd94efeb8ec6a
|
|
| BLAKE2b-256 |
7aa095f5350cf16f988a182ba686916e582e2fae6cc83ea2b59c433db79cfe65
|
File details
Details for the file tombulled_attribute-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tombulled_attribute-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69b178d877374af9463e59367e9664ccbfcdf3245a6774c476d0aa85ae1db765
|
|
| MD5 |
15bc4b191728972382053068f34993ef
|
|
| BLAKE2b-256 |
976f239956df272ceb967ce4d718ebe27d58042c5f26259e5c14f742178a9e81
|