# free-slots

List free booking slots from working hours, busy times, buffers and minimum notice in the right time zone

- **Space:** scheduling-public (https://github.com/Tech-Realm/space-scheduling-public/tree/main/free-slots)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** stdlib, calcom; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use scheduling-public/free-slots` or MCP `get_pack scheduling-public/free-slots`
- **Files:** CHANGELOG.md, code/slots.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/availability.json, outcome/fixtures/expected.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

List free booking slots from working hours, busy times, buffers and minimum notice in the right time zone.

## Steps

1. Fill `availability.json`: time zone, days, working hours per weekday, slot length, buffer, minimum notice, busy intervals (UTC, from the calendar).
2. `python3 code/slots.py availability.json` lists free slot starts in local time.
3. Check with the fixture: `python3 code/slots.py selftest ...`.

## Edge cases

- DST zones: zoneinfo handles the shift; never add fixed offsets by hand.
- Busy times come from CalDAV/Google free-busy; refresh before offering slots.

## Don'ts

- Don't offer slots inside the minimum notice window.

## Check

`lp pack check scheduling/free-slots` runs outcome/checks.yaml.



---

Canonical URL: https://logicpacks.io/packs/scheduling-public/free-slots

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
