{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Infer properties from accessor methods","compare":null,"dependentCount":null,"description":"Properties are a feature in python that allow accessor functions (i.e. getters\nand setters) to masquerade as regular attributes. This makes it possible to\nprovide transparent APIs for classes that need to cache results, lazily load\ndata, maintain invariants, or react in any other way to attribute access.\n\nUnfortunately, making a property requires an annoying amount of boilerplate\ncode. There are a few ways to do it, but the most common and most succinct\nrequires you to decorate two functions (with two different decorators) and\nto type the name of the attribute three times:","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-autoprop/","kind":"port","lastUpdate":null,"license":["MIT"],"maintainer":"db@FreeBSD.org","name":"py311-autoprop","newest":true,"newestVersion":"1.0.1","noVulnData":false,"origin":"devel/py-autoprop","otherSystems":[{"maintainer":"db@FreeBSD.org","newest":true,"origin":"devel/py-autoprop","path":"/devel/py-autoprop/","system":"FreeBSD","version":"1.0.1_1"},{"maintainer":"db@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-autoprop","path":"","system":"HardenedBSD","version":"1.0.1_1"},{"maintainer":"db@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-autoprop","path":"","system":"GhostBSD","version":"1.0.1_1"}],"packages":null,"pkgName":"py311-autoprop-1.0.1_1","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["lang/python311"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"1.0.1_1","versions":null,"vulnerabilities":null,"www":"https://pypi.org/project/autoprop/"}
