Skip to main content

Python library to abstract social web federation protocols like ActivityPub, Matrix and Diaspora.

Project description

The aim of federation is to provide and abstract multiple social web protocols like ActivityPub and Diaspora in one package, over an easy to use and understand Python API. This way applications can be built to (almost) transparently support many protocols without the app builder having to know everything about those protocols.



Currently three protocols are being focused on.

  • Diaspora is considered to be stable with most of the protocol implemented.

  • ActivityPub support should be considered as beta - inbound payload are handled by a jsonld processor (calamus)

  • Matrix support cannot be considered usable as of yet.

The code base is well tested and in use in several projects. Backward incompatible changes will be clearly documented in changelog entries.

Additional information

Installation and requirements

See installation documentation.

Usage and API documentation

See usage documentation.

Support and help

See development and support documentation.


BSD 3-clause license.


Jason Robinson / / / GitLab / GitHub

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

federation-0.24.1.tar.gz (116.1 kB view hashes)

Uploaded source

Built Distribution

federation-0.24.1-py3-none-any.whl (150.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page