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.4.tar.gz (76.1 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.4-py3-none-any.whl (90.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_activitypub_toolkit-0.1.4.tar.gz
  • Upload date:
  • Size: 76.1 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.4.tar.gz
Algorithm Hash digest
SHA256 04616bdb553446720bb93301b109e9d5350c3f189f4f8159f9288bc05afe63c2
MD5 6ecf1bfcd9887b93de1e5a59359ae02e
BLAKE2b-256 429c5fbeb1ac0ba4561088eee027c23f0c565ed16f63448a3830ee0018e6e7de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_activitypub_toolkit-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 90.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 24214016c4cb9c7b24e42def1c47af186f67d201c6e2512c6b5a6fc636277275
MD5 7c795a0416e12f5839a804d4cb0bec2b
BLAKE2b-256 4cc23bc15ca796e3c8565501014980aeef774b79a101bd982222094483fa0b5c

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