RPC support for the Pyramid web framework
Project description
RPC Services for Pyramid
========================
``pyramid_rpc`` is a package of RPC related add-on's to make it easier to
create RPC services.
Support and Documentation
-------------------------
See the `pyramid_rpc website
<http://docs.pylonsproject.org/projects/pyramid_rpc/en/latest/>`_ to view
documentation, report bugs, and obtain support.
License
-------
``pyramid_rpc`` is offered under the BSD-derived `Repoze Public License
<http://repoze.org/license.html>`_.
Authors
-------
``pyramid_rpc`` is made available by `Agendaless Consulting
<http://agendaless.com>`_ and a team of contributors.
0.5.1 (2012-11-25)
==================
Bug Fixes
---------
- XML-RPC
+ Fix an issue generating responses containing non-ascii characters.
0.5 (2012-11-08)
================
Features
--------
- JSON-RPC
+ Added support for JSON-RPC requests over HTTP GET. All version 2.0
parameters are required, but should be embedded in the query string.
+ The ``renderer`` can now be overridden. This will allow
any renderer to be used to convert a method's results to a
JSON-encoded string. Pyramid 1.4+ has a very flexible JSON
renderer that will allow a custom serializer and adapters for
custom data types (see :class:`pyramid.renderers.JSON` for more).
+ Endpoints support ``default_mapper`` and ``default_renderer`` which
are propagated to all methods attached to the endpoint. Individual
methods can override these values if necessary on a case-by-case basis.
- XML-RPC
+ Endpoints support ``default_mapper`` which is propagated to all methods
attached to the endpoint. Individual methods can override this
values if necessary on a case-by-case basis.
Backwards Incompatibilities
---------------------------
- JSON-RPC
+ With HTTP GET support added, any existing installation will now allow
JSON-RPC requests over GET. To disable this, add
``request_method='POST'`` to your endpoint.
+ Notification requests (``id == null``) used to return a
HTTP ``204 No Content`` response. Now they return ``200 OK`` like
everything else, with an empty response.
0.4.1 (2012-10-27)
==================
Features
--------
- Python 3 compatibility.
+ PyAMF is not Python 3 compatible, only JSON-RPC and XML-RPC are
supported for now.
- JSON-RPC
+ The ``data`` attribute of :class:`pyramid_rpc.jsonrpc.JsonRpcError` is
now encoded into the error response.
Backwards Incompatibilities
---------------------------
- JSON-RPC
+ The default exception views are now registered with
:data:`pyramid.security.NO_PERMISSION_REQUIRED` to ensure they are
always invoked.
- XML-RPC
+ Removed deprecated xmlrpc_view API.
+ The default exception views are now registered with
:data:`pyramid.security.NO_PERMISSION_REQUIRED` to ensure they are
always invoked.
0.3.1 (2011-12-12)
==================
Features
--------
- JSON-RPC
+ Added support for named parameters.
0.3 (2011-08-30)
================
Features
--------
- XML-RPC
+ Deprecated the xmlrpc_view API in favor of a new API that
supports more features expected from routes and views including
the ability to set permissions on RPC methods, perform traversal,
and a default view mapper.
- JSON-RPC
+ Removed the *unreleased* JSON-RPC support that was in master.
+ Added a new API for JSON-RPC that supports more features expected
from routes and views including the ability to set permissions on
RPC methods, perform traversal, and a default view mapper.
- Pyramid 1.1+ compatibility.
0.2 (2011-02-26)
================
Features
--------
- AMF support via a PyramidGateway that implements a Pyramid view gateway
for PyAMF.
0.1 (2010-11-09)
================
Features
--------
- XML-RPC support with xmlrpc_view decorator and xmlrpc_endpoint.
========================
``pyramid_rpc`` is a package of RPC related add-on's to make it easier to
create RPC services.
Support and Documentation
-------------------------
See the `pyramid_rpc website
<http://docs.pylonsproject.org/projects/pyramid_rpc/en/latest/>`_ to view
documentation, report bugs, and obtain support.
License
-------
``pyramid_rpc`` is offered under the BSD-derived `Repoze Public License
<http://repoze.org/license.html>`_.
Authors
-------
``pyramid_rpc`` is made available by `Agendaless Consulting
<http://agendaless.com>`_ and a team of contributors.
0.5.1 (2012-11-25)
==================
Bug Fixes
---------
- XML-RPC
+ Fix an issue generating responses containing non-ascii characters.
0.5 (2012-11-08)
================
Features
--------
- JSON-RPC
+ Added support for JSON-RPC requests over HTTP GET. All version 2.0
parameters are required, but should be embedded in the query string.
+ The ``renderer`` can now be overridden. This will allow
any renderer to be used to convert a method's results to a
JSON-encoded string. Pyramid 1.4+ has a very flexible JSON
renderer that will allow a custom serializer and adapters for
custom data types (see :class:`pyramid.renderers.JSON` for more).
+ Endpoints support ``default_mapper`` and ``default_renderer`` which
are propagated to all methods attached to the endpoint. Individual
methods can override these values if necessary on a case-by-case basis.
- XML-RPC
+ Endpoints support ``default_mapper`` which is propagated to all methods
attached to the endpoint. Individual methods can override this
values if necessary on a case-by-case basis.
Backwards Incompatibilities
---------------------------
- JSON-RPC
+ With HTTP GET support added, any existing installation will now allow
JSON-RPC requests over GET. To disable this, add
``request_method='POST'`` to your endpoint.
+ Notification requests (``id == null``) used to return a
HTTP ``204 No Content`` response. Now they return ``200 OK`` like
everything else, with an empty response.
0.4.1 (2012-10-27)
==================
Features
--------
- Python 3 compatibility.
+ PyAMF is not Python 3 compatible, only JSON-RPC and XML-RPC are
supported for now.
- JSON-RPC
+ The ``data`` attribute of :class:`pyramid_rpc.jsonrpc.JsonRpcError` is
now encoded into the error response.
Backwards Incompatibilities
---------------------------
- JSON-RPC
+ The default exception views are now registered with
:data:`pyramid.security.NO_PERMISSION_REQUIRED` to ensure they are
always invoked.
- XML-RPC
+ Removed deprecated xmlrpc_view API.
+ The default exception views are now registered with
:data:`pyramid.security.NO_PERMISSION_REQUIRED` to ensure they are
always invoked.
0.3.1 (2011-12-12)
==================
Features
--------
- JSON-RPC
+ Added support for named parameters.
0.3 (2011-08-30)
================
Features
--------
- XML-RPC
+ Deprecated the xmlrpc_view API in favor of a new API that
supports more features expected from routes and views including
the ability to set permissions on RPC methods, perform traversal,
and a default view mapper.
- JSON-RPC
+ Removed the *unreleased* JSON-RPC support that was in master.
+ Added a new API for JSON-RPC that supports more features expected
from routes and views including the ability to set permissions on
RPC methods, perform traversal, and a default view mapper.
- Pyramid 1.1+ compatibility.
0.2 (2011-02-26)
================
Features
--------
- AMF support via a PyramidGateway that implements a Pyramid view gateway
for PyAMF.
0.1 (2010-11-09)
================
Features
--------
- XML-RPC support with xmlrpc_view decorator and xmlrpc_endpoint.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyramid_rpc-0.5.1.tar.gz
(29.6 kB
view details)
File details
Details for the file pyramid_rpc-0.5.1.tar.gz
.
File metadata
- Download URL: pyramid_rpc-0.5.1.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 705c552cde8f9a55a74de5fd2afa958af1fb610f11c70f65a5421c0ae43be209 |
|
MD5 | a3d25d17ee7b52c187029dc3887d8c5f |
|
BLAKE2b-256 | 6c2410799d5bd31d8c192373ad827d7b6f3d0df500643caca572595bf7426b44 |