Python library to abstract social web federation protocols like ActivityPub, Diaspora and Matrix.
 
 
Go to file
Alain St-Denis d7e6a56eb6 AP mention finding and marking now also relying on the url property which is expected to be set as the remote_url property of the client app profiles.
Add the url property to some tests.
The get_profile function now expected to OR the query fields.
2023-07-23 08:50:40 -04:00
.github Update FUNDING.yml 2019-05-31 20:47:59 +00:00
docs Switch to BeautifulSoup for content processing. Outbound rendered content is now provided by the client app. Mark inbound AP HTML content hashtags and mentions. Fix missing href attribute crashing process_text_links. 2023-07-08 07:34:44 -04:00
federation AP mention finding and marking now also relying on the url property which is expected to be set as the remote_url property of the client app profiles. 2023-07-23 08:50:40 -04:00
.coveragerc Add tox and gitlab CI 2018-07-23 19:15:34 +03:00
.gitignore Add http_cache.sqlite to .gitignore 2023-02-08 11:19:34 +01:00
.gitlab-ci.yml Add audio and video media objects and much more. 2022-08-19 17:01:44 +00:00
.readthedocs.yaml Explicitly set version in docs/conf.py 2023-03-18 02:06:17 +02:00
CHANGELOG.md Switch to BeautifulSoup for content processing. Outbound rendered content is now provided by the client app. Mark inbound AP HTML content hashtags and mentions. Fix missing href attribute crashing process_text_links. 2023-07-08 07:34:44 -04:00
LICENSE.txt Add metadata and push 0.3.2 to PyPi 2016-07-15 20:40:33 +03:00
MANIFEST.in Add docs introduction to manifest 2016-10-04 22:42:11 +03:00
README.md Update readme note on AP stabiity and setup.py Python versions 2023-02-08 11:24:49 +01:00
dev-requirements.txt Refactor jsonld context management. Move LD signing to entities/activitypub. Move jsonld document_loader caching to __init__.py. Fix tests. 2023-03-24 18:34:15 -04:00
pytest.ini Move test settings and utils for Django to tests root 2018-09-29 12:12:34 +03:00
setup.cfg Add metadata and push 0.3.2 to PyPi 2016-07-15 20:40:33 +03:00
setup.py Add funcy to the reqs 2023-03-12 17:20:16 -04:00
tox.ini Add audio and video media objects and much more. 2022-08-19 17:01:44 +00:00

README.md

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