Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tombulled-attribute-0.1.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tombulled_attribute-0.1.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for tombulled-attribute-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9b855c79038c7ade0d335a24fcb09852313cafd160ebb6cccb7b75dc784ee643
MD5 ee263e447b03028ffccfd94efeb8ec6a
BLAKE2b-256 7aa095f5350cf16f988a182ba686916e582e2fae6cc83ea2b59c433db79cfe65

See more details on using hashes here.

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

Hashes for tombulled_attribute-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 69b178d877374af9463e59367e9664ccbfcdf3245a6774c476d0aa85ae1db765
MD5 15bc4b191728972382053068f34993ef
BLAKE2b-256 976f239956df272ceb967ce4d718ebe27d58042c5f26259e5c14f742178a9e81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page