Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #877 > unrolled thread
| Started by | Younes JAAIDI <yjaaidi@gmail.com> |
|---|---|
| First post | 2013-03-09 20:55 +0100 |
| Last post | 2013-03-09 20:55 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
Be synthetic with PySynthetic (0.4.6 release) Younes JAAIDI <yjaaidi@gmail.com> - 2013-03-09 20:55 +0100
| From | Younes JAAIDI <yjaaidi@gmail.com> |
|---|---|
| Date | 2013-03-09 20:55 +0100 |
| Subject | Be synthetic with PySynthetic (0.4.6 release) |
| Message-ID | <mailman.3153.1362921471.2939.python-announce-list@python.org> |
Hi, PySynthetic first public version has just been released! 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 (see examples https://pysynthetic.readthedocs.org/en/latest/#examples). 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/). Thank you for trying it! ---------------------------------------------------------------------- * Documentation: http://pysynthetic.readthedocs.org/en/latest/ * Bug Tracker: https://github.com/yjaaidi/pysynthetic/issues * Code: https://github.com/yjaaidi/pysynthetic * Mailing list: https://groups.google.com/forum/?fromgroups#!forum/pysynthetic < pysynthetic@googlegroups.com>
Back to top | Article view | comp.lang.python.announce
csiph-web