# arskom/spyne

A transport agnostic sync/async RPC library that focuses on exposing services with a well-defined API using popular protocols.

Repository: https://github.com/arskom/spyne
Canonical: https://ross.abutalabs.com/products/spyne
Homepage: http://spyne.io
Language: Python
License: NOASSERTION
License Family: other
Topics: python, twisted, soap, http, msgpack, rpc, rpc-framework, json, api, api-rest, api-server
Last push: 2025-10-23T07:15:20+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 48, release rhythm 8, longevity 100
- inputs: {"age_days": 5885, "days_push": 314, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1152, forks 321 (observed 2026-08-28T04:03:46.820032+00:00)

## What it is
Spyne is a transport-agnostic Python RPC framework for exposing services with well-defined typed APIs over multiple protocols such as SOAP, HTTP RPC, JSON, and MessagePack. It decouples model, protocol, and transport layers and integrates with WSGI, Twisted, Django, Pyramid, SQLAlchemy, and ZeroMQ.

## Use cases
- expose a python function as a soap web service
- build an rpc api server supporting  and msgpack
- serve the same service over multiple protocols and transports
- integrate typed rpc endpoints into django or pyramid apps
- map sqlalchemy models to api service types
- build a zeromq req/rep rpc service in python

## When to choose
- you need soap or multi-protocol service exposure in python with a strict typed api
- you want protocol/transport-agnostic rpc with wsgi, twisted, or zeromq support

## When to avoid
- you are building a modern rest or graphql api where fastapi or flask fit better
- you need an actively evolving framework with a large community

## Facets
- artifact type: framework
- maturity: maintenance
- function: rpc, api-framework, serialization, web-framework
- domain: web-development, backend, apis
- platform: python, cross-platform
- tags: soap, msgpack, twisted, wsgi, service-definition, multi-protocol, web-server

## Member repositories
- arskom/spyne (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.820032+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:31.956230+00:00, confidence not recorded.
  - readme: https://github.com/arskom/spyne (fetched 2026-08-28T04:03:46.820032+00:00, sha 14364c3faac5)
  - homepage: http://spyne.io (fetched 2026-08-29T12:38:18.457748+00:00, sha e884129176ef)
  - site_page: http://spyne.io/docs/index.html (fetched 2026-08-29T12:38:18.463696+00:00, sha 68e55ee03b8d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
