Django pluggable application to ActivityPub servers
Project description
Django ActivityPub Toolkit
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_activitypub_toolkit-0.2.0.tar.gz.
File metadata
- Download URL: django_activitypub_toolkit-0.2.0.tar.gz
- Upload date:
- Size: 123.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34b62071fb3faa6e4a70aaf5537a8e51e8934b765f6125142a6a005b7c438369
|
|
| MD5 |
32f0887ab0d119e478781afed1b0c516
|
|
| BLAKE2b-256 |
30667982bc5677bdf6b513cc2b5e69bc9f120bec18fbf8724c236d649ade5ea5
|
File details
Details for the file django_activitypub_toolkit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_activitypub_toolkit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 148.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ca40dded9d9bad67b23ca22441980b90f12318a747d08dac6b79c487c8b1838
|
|
| MD5 |
9496a13ea779d2d6b52a0287a51d9430
|
|
| BLAKE2b-256 |
1c701259ec2b25c6eb1e08f7ca68dcb028a77cc9a11d226771ca0215df0efb44
|