Registry / web-framework / spyne
library2.14.0pypypiunverified

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.

pip install spyne
INSTALL
IMPORT
SIG · SPYNE
S
spyne
web-frameworkpythonv2.14.0
Install
3.3s avg
Import
490ms
Disk
24MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.14.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.330s · 26.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.3s · import 0.258s · 27MB
24MB installed
● package 24MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Application
from spyne import Application
from spyne import Application

Create a minimal SOAP service with Spyne 2.14.

from spyne import Application, rpc, ServiceBase, Iterable, Integer, Unicode from spyne.protocol.soap import Soap11 from spyne.server.wsgi import WsgiApplication class HelloWorldService(ServiceBase): @rpc(Unicode, _returns=Unicode) def say_hello(ctx, name): return 'Hello, %s!' % name application = Application([HelloWorldService], 'spyne.examples.hello', in_protocol=Soap11(), out_protocol=Soap11()) if __name__ == '__main__': from wsgiref.simple_server import make_server server = make_server('0.0.0.0', 8000, WsgiApplication(application)) server.serve_forever()
Debug
Known issues
breakingSpyne 2.13 dropped support for Python 2.7 and Python 3.4. Use Python 3.5+.
fix
Upgrade Python environment to 3.5 or higher.
affects: >=2.13.0
deprecatedThe 'spyne.application' module is deprecated; import directly from 'spyne'.
fix
Replace 'from spyne.application import Application' with 'from spyne import Application'.
affects: >=2.10
gotchaWsgiApplication is deprecated in favor of WsgiApplication (note: same name) but the import location changed; use 'from spyne.server.wsgi import WsgiApplication'.
fix
Import from 'spyne.server.wsgi' instead of 'spyne.server.wsgi' (it's the same path but verify spelling: WsgiApplication).
affects: >=2.14
gotchaSpyne does not officially support async/await. Using asyncio with Spyne may cause unpredictable behavior.
fix
Use synchronous WSGI/HTTP servers; consider a different library for async RPC.
affects: all
Upgrade
Version history
2.14.0latest on PyPI · released Feb 3, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
spyne — pip install spyne · libregistry