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.3.tar.gz (71.8 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.3-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_activitypub_toolkit-0.1.3.tar.gz
  • Upload date:
  • Size: 71.8 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.3.tar.gz
Algorithm Hash digest
SHA256 2b8482175528cf2ca5af9639d7cabc29300a46d66d9fb9ec158f879e87728ec4
MD5 c1a360cd1e00408cb82be7355a2e13e4
BLAKE2b-256 515a8944b02b4d0fcc631ed7cc087d3be8f313c8cc09148c2dd49cf4f8241658

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_activitypub_toolkit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 85.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb8b93ab5bcd4a307f13d2b1bf13dc35642cd20a6a4cb5e45f154557c765cb2
MD5 ac1039684d4687c1d2a622f80855f216
BLAKE2b-256 249a42d91c2b65ff47371d0f6f4231e71e51b42877ccb244135dc82be4a784ca

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