Sandling
Small, temporary Git workspaces that know when to leave. A Sandling is for debugging, building, and pushing—not becoming an archaeological layer in your home directory.
Sandling creates an isolated clone for a configured project, selects exactly the branch you ask for, runs explicit bootstrap commands, and can remind you when the workspace is ready to retire. It never deletes automatically. Sandboxes are disposable; your work is not.
What it does
- Manages one or more explicit project profiles. A new install has no repository configured.
- Creates workspaces from a freshly fetched base branch or an existing remote branch unchanged.
- Runs profile bootstrap steps as argument arrays, never through a shell.
- Optionally launches your configured editor.
- Installs a local post-push reminder. It can mark a workspace ready; it cannot delete one.
- Refuses ordinary destruction when a workspace is dirty, contains untracked files, has unpushed commits, or lacks a usable upstream.
Install
Sandling supports Linux and macOS with Python 3.11 or later.
pipx install sandling
sandling --help
Upgrade a published installation with pipx upgrade sandling. Sandling does not try to update
itself from a random checkout; that is how tools acquire hobbies.
For local development:
python -m pip install -e '.[dev]'
python -m pytest
python -m ruff check src tests
python -m ruff format --check src tests
Configure a project
Create a profile for any Git repository:
sandling profile init demo --repository-url https://example.test/demo.git --base-branch main
This creates ~/.config/sandling/config.toml (or $XDG_CONFIG_HOME/sandling/config.toml). Add
optional bootstrap and editor commands as shell-free argument arrays:
[profiles.demo]
repository_url = "https://example.test/demo.git"
base_branch = "main"
editor_command = ["code", "."]
bootstrap = [
["python3", "-m", "venv", ".venv"],
["{sandbox}/.venv/bin/python", "-m", "pip", "install", "-r", "requirements.txt"],
]
Recognised placeholders are {sandbox}, {profile}, and {branch}. The profile is your
configuration; review it with the same calm suspicion you reserve for shell aliases copied from
the internet.
Start work
Create a new branch from the profile's freshly fetched base branch:
sandling start demo --new-branch fix/parse-dates
Or check out an existing remote branch without merging or rebasing it:
sandling start demo fix/parse-dates
List known workspaces and mark one after its push is accepted:
sandling list
sandling flag fix_parse_dates-20261110-090000
In an interactive Bash shell, source scripts/sandling-shell.bash if you want successful
sandling start calls to enter the newly created workspace. A Python process cannot move its
parent shell; physics is rude but consistent.
Safe cleanup
Destroying requires an exact-name confirmation:
sandling destroy fix_parse_dates-20261110-090000
Normal destruction refuses dirty, untracked, unpushed, and upstream-less workspaces. --force
bypasses those Git-state checks but still requires the exact workspace name. Use it slowly, after
checking the path, and ideally after coffee.
Destroyed-workspace metadata remains for seven days. sandling prune-metadata removes only those
expired records; it never removes a workspace directory. There is deliberately no clean-all and no
remote-branch deletion command.
Security and scope
Sandling runs only the commands you place in a profile and never invokes a shell for bootstrap steps. It does not manage credentials, install system dependencies, configure project services, or make remote Git changes other than normal user-initiated pushes from a workspace.
Report vulnerabilities through the process in SECURITY.md. Contributions are welcome; see CONTRIBUTING.md.
Created by Camilla Buys. Build fast. Push clean. Leave no clones behind.
Metadata
Release files for sandling 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sandling-0.1.0.tar.gz | 14.9 kB | With provenance | Details for sandling-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sandling-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sandling-0.1.0-py3-none-any.whl |
Total release size: 26.9 kB
Release files / sandling-0.1.0.tar.gz
| Download URL | sandling-0.1.0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb46b55638e7a97745ed02666c0644e3e382d6a1ab48e5c207990de15894aa2c
|
|
BLAKE2b-256 checksum How to use checksums |
64d415e1118f492dc9ef71d9437eda1ca5d4464edf613b2db47a85c7f0f91335
|
| 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 10, 2026.
Transparency logRelease files / sandling-0.1.0-py3-none-any.whl
| Download URL | sandling-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379c9e0d5a58fe1c58cbe69caae66d56a74cc0bdee9bd2184c127ad1555f8f7d
|
|
BLAKE2b-256 checksum How to use checksums |
95af13f13e2fcbc0ea5298116dc6e51edca796f17ec0a2eb9c212fa1f7deff1d
|
| 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 10, 2026.
Transparency logSecurity for sandling 0.1.0
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.
Attestation for sandling-0.1.0.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 10, 2026.
Transparency logA 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.