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


Keywords
federation, diaspora, activitypub, matrix, protocols, federate, fediverse, social, protocol, python-library
License
BSD-3-Clause
Install
pip install federation==0.25.1

Documentation

pipeline status issue tracker

PyPI version Documentation Status PyPI PyPI

federation

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

Introduction

The aim of federation is to provide and abstract multiple social web protocols like ActivityPub, Diaspora and Matrix 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.

Status

Currently, three protocols are being focused on.

  • Diaspora is considered to be stable with most of the protocol implemented.
  • ActivityPub is considered to be stable with working federation with most ActivityPub platforms.
  • Matrix support is in early phase and not to be considered useful 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.

License

BSD 3-clause license

Author

Jason Robinson / https://jasonrobinson.me / https://gitlab.com/jaywink / https://github.com/jaywink