WSME 0.5b1 released
Christophe de Vienne
cdevienne at gmail.com
Wed Jan 30 18:50:32 CET 2013
About WSME
----------
Web Service Made Easy (WSME) simplify the writing of REST web services
by providing simple yet powerful typing which removes the need to
directly manipulate the request and the response objects.
WSME can work standalone or on top of your favorite python web
(micro)framework, so you can use both your prefered way of routing your
REST requests and most of the features of WSME that rely on the typing
system like:
* Alternate protocols, including ones supporting batch-calls
* Easy documentation through a Sphinx extension
Main Changes
------------
* Introduce a new kind of adapters that rely on the framework routing.
Adapters are provided for Pecan, TurboGears and cornice.
* The default rest ``@expose`` decorator does not wrap the decorated
function anymore. If needed to expose a same function several
times, a parameter ``multiple_expose=True`` has been introduced.
* Remove the wsme.release module
* Adapted the wsme.sphinxext module to work with the function exposed
by the ``wsme.pecan`` adapter.
* Allow promotion of ``int`` to ``float`` on float attributes
(Doug Hellman)
* Add a ``samples_slot`` option to the ``.. autotype`` directive to
choose where the data samples whould be inserted (Doug Hellman).
* Add ``sample()`` to ArrayType and DictType (Doug Hellman).
* New syntax for object arrays as GET parameters, without brackets.
Ex:
``?o.f1=a&o.f1=b&o.f2=c&o.f2=d`` is an array of two objects:
[{'f1': 'a', 'f2': 'c']}, {'f1': 'b', 'f2': 'd'}].
* @signature (and its @wsexpose frontends) has a new parameter:
``ignore_extra_args``.
* Fix boolean as input type support in the soap implementation (Craig
McDaniel).
* Fix empty/nil strings distinction in soap (Craig McDaniel).
* Improved unittests code coverage.
* Ported the soap implementation to python 3.
* Moved non-core features (adapters, sphinx extension) to the
``wsmeext`` module.
* Change the GET parameter name for passing the request body as a
parameter is now from 'body' to '__body__'
* The soap, extdirect and sqlalchemy packages have been merged into
the main package.
* Changed the documentation theme to "Cloud".
Documentation
-------------
http://packages.python.org/WSME/
Download
--------
http://pypi.python.org/pypi/WSME/
Cheers,
Christophe de Vienne
More information about the Python-announce-list
mailing list