stapel-social
Composite preset for a social surface around any entity: wires stapel-chat (messaging), stapel-profiles (user profiles) and stapel-reviews into one INSTALLED_APPS/urls/config bundle. Mounts no urls and writes no business logic of its own (preset.py).
Part of the Stapel framework — composable Django apps that deploy as a monolith or as microservices without changing module code.
Install
pip install stapel-social
At a glance
| Fact | Value |
|---|---|
| Version | 0.1.6 |
| Python | >=3.11 (3.11, 3.12, 3.13, 3.14) |
| Fleet dependencies | stapel-chat · stapel-profiles · stapel-reviews |
Documentation
capabilities.json · llms.txt (for agents)
Likes/favourites are NOT included yet:
stapel-engagementdoes not exist. They arrive as a MINOR bump of this composite once it does.
Assemble (one line)
pip install stapel-tools
stapel-assemble mysocial --libs social
cd mysocial && make test
That expands social through the STAPEL_LIBS requires
closure and wires every member module into INSTALLED_APPS,
requirements.txt, urls.py and CONFIG.MD, then runs the verify gates.
Manual wiring (no scaffold)
# settings.py
from stapel_social import preset
INSTALLED_APPS = [
# ... django/stapel-core baseline (incl. stapel_core.django.projections)
"stapel_chat",
"stapel_profiles",
"stapel_reviews",
"stapel_social",
]
for _k, _v in preset.SETTINGS_DEFAULTS.items():
globals().setdefault(_k, _v)
# urls.py
from django.urls import include, path
urlpatterns = [
path("chat/", include("stapel_chat.urls")),
path("profiles/api/", include("stapel_profiles.urls")),
path("reviews/", include("stapel_reviews.urls")),
]
Config checklist (fill these, in the generated project's CONFIG.MD too)
| Key | Note |
|---|---|
STAPEL_REVIEWS["TARGET_TYPES"] |
prefilled by stapel_social.preset.SETTINGS_DEFAULTS (targets profile) |
STAPEL_CHAT[...] |
see stapel-chat CONFIG.MD |
STAPEL_PROFILES[...] |
see stapel-profiles CONFIG.MD |
License
MIT — see LICENSE.
This page is assembled by stapel-readme from docs/readme.md plus the contract artifacts in docs/. Edit the prose in docs/readme.md; the badges, facts and links above and below it are generated — do not hand-edit README.md.
Metadata
Release files for stapel-social 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stapel_social-0.1.6.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stapel_social-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.1 kB