Versions

Description

**PySynthetic** is a set of tools that aims to make writing Python classes shorter and "cleaner". For instance, one can add properties and accessors *(getters/setters)* to a class with only one line of code *(using respectively* ``synthesize_property`` *and* ``synthesize_member`` *decorators)*, thus making the code more than 5 times shorter. One can even avoid the laborious task of members initialization by using the ``synthesize_constructor`` decorator that takes care of writing the ``__init__`` method. **PySynthetic** is also useful for applying strict type checking with no pain just by using the decorators' ``contract`` argument *(see* `PyContracts <http://andreacensi.github.com/contracts/>`_ *)*.

Repository

https://github.com/wishtack/pysynthetic.git

Project Slug

pysynthetic

Last Built

7 years, 5 months ago passed

Maintainers

Badge

Tags

python, python3

Short URLs

pysynthetic.readthedocs.io
pysynthetic.rtfd.io

Default Version

latest

'latest' Version

master