Skip to content

Welcome

ActivityPub for Python is a set of libraries for implementing the ActivityPub protocol in Python. This facilitates the development of distributed social network applications.

Libraries

apkit

apkit is a toolkit that makes it easier to create implementations using apsig, and apmodel.

features

  • Integration with popular web frameworks (e.g. Starlette/FastAPI)

apsig

The apsig is a set of signatures commonly used among ActivityPub implementations.

RsaSignature2017 was ported from Takahē.

features

apmodel

apmodel is a set of model implementations often used in nodeinfo 2.0/2.1 and ActivityStreams 2.0 and ActivityPub.

features

  • nodeinfo support
  • Automatically convert json to a suitable model