Skip to main content

stapel-booking

license status llms.txt

Не опубликовано на PyPI. Установка из исходников: pip install git+https://github.com/usestapel/stapel-booking Composite: bookable resources — calendar + listings.

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_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("listings/", 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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stapel_booking-0.1.4.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stapel_booking-0.1.4-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file stapel_booking-0.1.4.tar.gz.

File metadata

  • Download URL: stapel_booking-0.1.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_booking-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5b6e91b6d53df7aeea0f82d8b65229d12746193b68db361c9d72f7f21f3c91bb
MD5 7b6231f7bc6165ae0db4f1c7d66eae4f
BLAKE2b-256 96e6c8a59874fe9dbf35421ada69edf7c46b25626c16dcb2aad1f3c7f1a74854

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_booking-0.1.4.tar.gz:

Publisher: publish.yml on usestapel/stapel-booking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stapel_booking-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: stapel_booking-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_booking-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa5440f9fd6bcedc5fa75af3de1a4c1505c296e70fb23369d1aa4f741b14dcf
MD5 3414d647de8fe8f85ff27fecafd0bfda
BLAKE2b-256 9802ab5082572d6eb4983f2b47dfbb838be4f90203150c6591286a26d03eb4b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_booking-0.1.4-py3-none-any.whl:

Publisher: publish.yml on usestapel/stapel-booking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page