Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 832 Bytes

File metadata and controls

24 lines (16 loc) · 832 Bytes

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