Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Announce

Be synthetic with PySynthetic (0.4.6 release)

 

 

Python announce RSS feed   Index | Next | Previous | View Threaded


yjaaidi at gmail

Mar 9, 2013, 12:55 PM

Post #1 of 1 (200 views)
Permalink
Be synthetic with PySynthetic (0.4.6 release)

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 [at] googlegroups>
--
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/

Python announce RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.