Skip to main content

stapel-booking

CI coverage pypi downloads python license llms.txt

Composite preset for bookable resources (coworking, equipment rental, scheduled services): wires stapel-calendar (availability/slots) and stapel-listings (the resource) into one INSTALLED_APPS/urls/config bundle. Mounts no urls and writes no business logic of its own — the app slot is reserved for future cross-module glue (MODULE.md, 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-booking

At a glance

Fact Value
Version 0.1.6
Python >=3.11 (3.11, 3.12, 3.13, 3.14)
Fleet dependencies stapel-calendar · stapel-listings

Documentation

capabilities.json · llms.txt (for agents)

Assemble (one line)

pip install stapel-tools
stapel-assemble mybooking --libs booking
cd mybooking && make test

That expands booking 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_booking import preset

INSTALLED_APPS = [
    # ... django/stapel-core baseline (incl. stapel_core.django.projections)
    "stapel_calendar",
    "stapel_categories",
    "stapel_listings",
    "stapel_booking",
]
for _k, _v in preset.SETTINGS_DEFAULTS.items():
    globals().setdefault(_k, _v)

# urls.py
from django.urls import include, path

urlpatterns = [
    path("calendar/", include("stapel_calendar.urls")),
    path("categories/api/", include("stapel_categories.urls")),
    path("listings/api/", include("stapel_listings.urls")),
]

Config checklist (fill these, in the generated project's CONFIG.MD too)

Key Note
STAPEL_CALENDAR[...] presets/slots — see stapel-calendar CONFIG.MD
STAPEL_LISTINGS["BASE_CURRENCY"] default USD — set your currency
STAPEL_LISTINGS["DEFAULT_LISTING_TTL_DAYS"] default 30 (a bookable resource usually wants None)

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-booking 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stapel-booking 0.1.6
File Size Uploaded Provenance Actions
stapel_booking-0.1.6.tar.gz 12.5 kB With provenance Details for stapel_booking-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stapel-booking 0.1.6
File Interpreter ABI Platform Actions
stapel_booking-0.1.6-py3-none-any.whl Python 3 none any Details for stapel_booking-0.1.6-py3-none-any.whl

Total release size: 27.2 kB

Release files / stapel_booking-0.1.6.tar.gz

Download URL stapel_booking-0.1.6.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
552be6c2998d1c269cd917313d1097c253eaba99a39cb0aa00fd1c446ce7f643
BLAKE2b-256 checksum
How to use checksums
6d6bbd949342a049adab73da0bd422db5474f8e9dba0c8238c97850c3e430a70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / stapel_booking-0.1.6-py3-none-any.whl

Download URL stapel_booking-0.1.6-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fc5690d71b70966c0ea42122f8e9b6337670161c206efec6dc8891b5834f2cd
BLAKE2b-256 checksum
How to use checksums
ff27e3032766e001db79e36ab19b4dbcf7fd726c3c6eb5df5aea8276851e87c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for stapel-booking 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stapel_booking-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page