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). It declares the listing search source (stapel_booking.search_sources.listing_source, named by SETTINGS_DEFAULTS['STAPEL_SEARCH']['SOURCES']), so a host that installs the stapel-search companion indexes the resources instead of booting with stapel_search.W001.

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.7
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.7

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.7
File Size Uploaded Provenance Actions
stapel_booking-0.1.7.tar.gz 16.1 kB With provenance Details for stapel_booking-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 35.5 kB

Release files / stapel_booking-0.1.7.tar.gz

Download URL stapel_booking-0.1.7.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
36a7e51fddc42faefdc15fdf46df9530ea51dcf78f3a5ed81ad89073b7e5b7bd
BLAKE2b-256 checksum
How to use checksums
7bd199224129593b35f041c49e10230f4d48e9a3f1e34e9789111d0343ae2f62
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 Nov 5, 2026.

Transparency log

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

Download URL stapel_booking-0.1.7-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39f141d6966cac53d1e3bf2de76c8d594d17a6a458fded57c1609c7711b10cc2
BLAKE2b-256 checksum
How to use checksums
4e5d8dbb407c544caa03cec13796b0c9acb4815ea3896bd43c6bdf603dac26d8
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 Nov 5, 2026.

Transparency log

Security for stapel-booking 0.1.7

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.7.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 Nov 5, 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