A heavily improved subclass of the `property` descriptor, plus more.
Project description
PropertyPlus
Provides a heavily improved extension subclass of the property decorator called Property, a number of use-case specific subclasses of Property, and 7 module level decorator functions to manipulate Property objects.
The Property Class
Property Subclasses
TODO: write this
Helper Decorators
PropertyPlus also embraces a new notation for Property descriptors.
This optional feature is purely stylistic, but we like it.
getter(prop)
setter(prop)
deleter(prop)
validator(prop)
normalizer(prop)
typefixer(prop)
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
propertyplus-1.0.2.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file propertyplus-1.0.2.tar.gz
.
File metadata
- Download URL: propertyplus-1.0.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36735ba464c2db7c057dd5e7f67b13be608b94a215ebb29d4850f597f02b37aa |
|
MD5 | e8d4e92ba440248eb37200a2a1c09018 |
|
BLAKE2b-256 | 4df8805d52df88eeb57363ded3dcc86f68eb015f44f5e16fe90212d89bd7d91a |
File details
Details for the file PropertyPlus-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: PropertyPlus-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2a526fd1dfac6d28353fdb0bb7aa8276f18dd93c19ca8bedabaa5c50d43b0d |
|
MD5 | 36b285d5efe4de559baec05e3fadac12 |
|
BLAKE2b-256 | 07f2d917bc311b10be4c0ac3afd40e0c5ec61177f0ee2dbb48026645a6dec27f |