RPC plugins for pyramid. XML-RPC, JSON-RPC, etc.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs switch to pip and drop references to paste.http Nov 1, 2016
pyramid_rpc Fix the failing tests in test_amfgateway.py Dec 9, 2015
.gitignore update to new tox.ini for py2/3 coverage reports May 12, 2015
.travis.yml Drop Python 2.6 support Oct 26, 2016
CHANGES.txt prep 0.8 Nov 1, 2016
CONTRIBUTORS.txt updated CONTRIBUTERS.txt Nov 17, 2015
COPYRIGHT.txt Initial commit. Nov 5, 2010
README.rst switch to pip and drop references to paste.http Nov 1, 2016
rtd.txt require amf when building pyramid_rpc docs on rtd May 12, 2015
setup.cfg fix test runner, we do not have a separate tests folder May 14, 2015
setup.py update author email Apr 11, 2017


RPC Services for Pyramid

https://travis-ci.org/Pylons/pyramid_rpc.png?branch=master Latest Documentation Status

pyramid_rpc is a package of RPC related add-on's to make it easier to create RPC services.

from pyramid.config import Configurator
from pyramid_rpc.jsonrpc import jsonrpc_method

def say_hello(request, name):
    return 'hello, %s!' % name

def main(global_conf, **settings):
    config = Configurator(settings=settings)
    config.add_jsonrpc_endpoint('api', '/api')
    return config.make_wsgi_app()

if __name__ == '__main__':
    from wsgiref.simple_server import make_server
    app = main({})
    server = make_server('', 8080, app)

Support and Documentation

See the pyramid_rpc website to view documentation, report bugs, and obtain support.


pyramid_rpc is offered under the BSD-derived Repoze Public License.


pyramid_rpc is made available by Agendaless Consulting and a team of contributors.