{"library":"spyne","title":"Spyne","type":"library","description":"A transport and architecture agnostic RPC library focusing on exposing public services with a well-defined API. Current version 2.14.0. Release cadence is irregular; last major release was 2020, with minor patches since.","language":"python","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["pip install spyne"],"cli":null},"imports":["from spyne import Application","from spyne import rpc","from spyne import ServiceBase"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"http://spyne.io","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spyne/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spyne import Application, rpc, ServiceBase, Iterable, Integer, Unicode\nfrom spyne.protocol.soap import Soap11\nfrom spyne.server.wsgi import WsgiApplication\n\nclass HelloWorldService(ServiceBase):\n    @rpc(Unicode, _returns=Unicode)\n    def say_hello(ctx, name):\n        return 'Hello, %s!' % name\n\napplication = Application([HelloWorldService], 'spyne.examples.hello',\n                          in_protocol=Soap11(), out_protocol=Soap11())\n\nif __name__ == '__main__':\n    from wsgiref.simple_server import make_server\n    server = make_server('0.0.0.0', 8000, WsgiApplication(application))\n    server.serve_forever()","lang":"python","description":"Create a minimal SOAP service with Spyne 2.14.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}