Skip to main content

Django pluggable application to ActivityPub servers

Project description

Django ActivityPub Toolkit

PyPI version Python versions Django versions

A comprehensive Django application that brings ActivityPub federation to your web projects. Transform your Django applications into active participants in the decentralized social web.

What is ActivityPub?

ActivityPub is the protocol that powers the decentralized social web, enabling different social platforms to communicate and share content seamlessly. It's the technology behind Mastodon, PeerTube, and many other federated services.

Philosophy

Reference-First Architecture: Instead of replicating social graph data, we use references to connect your application data to the federated social graph. This approach keeps your business logic pure while enabling federation.

Vocabulary Agnostic: Support any ActivityStreams vocabulary through extensible context models. Whether you're building a microblog, video platform, or something entirely new, the toolkit adapts to your domain.

Standards Compliant: Full ActivityPub implementation with proper HTTP signatures, JSON-LD contexts, and WebFinger discovery.

Quick Start

pip install django-activitypub-toolkit

Add to your Django settings:

INSTALLED_APPS = [
    # ... your other apps
    'activitypub',
]

FEDERATION = {
    'DEFAULT_URL': 'https://yourdomain.com',
}

Features

  • Complete ActivityPub Implementation: Server-to-server and client-to-server APIs
  • Reference Architecture: Connect existing Django models to the fediverse
  • Extensible Contexts: Support custom vocabularies and platform extensions
  • Background Processing: Celery-based task processing for federation activities
  • Security: HTTP signature verification and cryptographic key management
  • WebFinger: Automatic actor discovery and profile resolution

Relevant Links

License

BSD 3-Clause License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_activitypub_toolkit-0.1.5.tar.gz (76.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_activitypub_toolkit-0.1.5-py3-none-any.whl (91.2 kB view details)

Uploaded Python 3

File details

Details for the file django_activitypub_toolkit-0.1.5.tar.gz.

File metadata

  • Download URL: django_activitypub_toolkit-0.1.5.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_activitypub_toolkit-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8ceba281a8f9a293f5b403881b9e5b19845bf00340c301e9a5a475bcfc0eedbc
MD5 13cdd9d39c103663854d4a5ea9fc0869
BLAKE2b-256 02ade529cc38f9f6f8ec55fd4d900f8837db0e07296b4ce6ba5b5e66ae58aef6

See more details on using hashes here.

File details

Details for the file django_activitypub_toolkit-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: django_activitypub_toolkit-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 91.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_activitypub_toolkit-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4b933914eaceb3ef7caea27635b3bd91ac696cce565fc8c6ed7b65e2e47e4c97
MD5 ab16af127829c67f98b8b9e2ad68a703
BLAKE2b-256 c375db10ad98a27c07b7aad30cea05df2ca619a20f57d1a6035c3c97da88d9b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page