writable property
Project description
Installation
$ [sudo] pip install writable-property
Examples
>>> from writable_property import writable_property
>>> class Class:
@writable_property
def prop(self):
return "value"
>>> obj = Class()
>>> obj.prop
"value"
>>> obj.prop = "new"
>>> obj.prop
"new"
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
File details
Details for the file writable-property-2020.12.3.tar.gz
.
File metadata
- Download URL: writable-property-2020.12.3.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed0f084e453a3de74841511d5f8961c660fcae264cba155c49009caf85255abd |
|
MD5 | 010561f9978c91fbfd5950a7a920cf92 |
|
BLAKE2b-256 | 55f9e94ab19adb171876d461eaaff3830e43c790cbcc0d83e23954a79a84d6aa |