Skip to content
This repository was archived by the owner on Sep 14, 2026. It is now read-only.

Repository files navigation

apmodel

Caution

Project Archived This project is no longer actively maintained. For more details regarding this decision, please read our discussion: Project Status.

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

7 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages