Skip to content

fedi-libs/apmodel

Repository files navigation

apmodel

ActivityStreams 2.0 / ActivityPub model library for Python, built on Pydantic v2.

  • Parse ActivityPub JSON-LD payloads into typed Python objects with a single load() call.
  • Serialize objects back to ActivityPub-compliant JSON with obj.dump().
  • Includes WebFinger helpers, NodeInfo support, and FEP-8b32 Multikey / Data Integrity Proof types.

Installation

pip install apmodel

Documentation

Full documentation lives in docs/.
Migration guide from 0.5.x: docs/migration.md.

Links

About

ActivityStreams 2.0 and nodeinfo 2.0/2.1 implementation for Python.

Topics

Resources

Stars

Watchers

Forks

Contributors