Python library to abstract social web federation protocols like ActivityPub, Diaspora and Matrix.
 
 
Go to file
Jason Robinson 4b778112d8 Add test for ActivityPub Follow post receive Accept sending 2019-03-20 22:38:09 +02:00
docs
federation Add test for ActivityPub Follow post receive Accept sending 2019-03-20 22:38:09 +02:00
.coveragerc
.gitignore
.gitlab-ci.yml
CHANGELOG.md
LICENSE.txt
MANIFEST.in
README.md
dev-requirements.txt
pytest.ini
setup.cfg
setup.py
tox.ini

README.md

pipeline status codecov.io Code Health

PyPI version Documentation Status PyPI PyPI

federation

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

Introduction

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

While the library does aim to provide an easy way to implement protocols like Diaspora into your application, it will not be a one to one mirror image of said protocols. The idea is to present one unified collection of entities and high level methods to the application to use. Since protocols can support different feature sets or have different ideas on even simple entities like status messages, it would be impossible to model the core entities according to a single protocol.

Status

Currently two protocols are being focused on. Diaspora is considered in relatively stable status with most of the protocol implemented. ActivityPub support is work in progress.

The code base is well tested and in use in several projects. Backward incompatible changes will however be made at this stage still, however those 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://git.feneas.org/jaywink / https://github.com/jaywink