synapse-controller
A Python CLI + backend that drives Azure Synapse Analytics from a single
config.yaml. Wraps azure-synapse-artifacts to start, monitor, list, and
cancel pipeline runs, and to run / debug notebooks against a Spark session.
See ARCHITECTURE.md for the architectural source of
truth: stack, layout, config shape, CLI behavior, and project conventions.
Quickstart
uv sync --extra dev
uv run python -m synapse_controller --help
Copy config.example.yaml to config.yaml, fill in your workspace identity,
then:
uv run python -m synapse_controller --config config.yaml --profile dev pipelines list
Note — invoke as
python -m synapse_controller, not as a script entry point. Defender on Belastingdienst-managed Windows blocks executing binaries from.venv\Scripts\, so all tools (black, isort, flake8, mypy, pytest, this CLI) are launched viapython -m.
Notebook output streaming caveat —
notebooks runandnotebooks debugexecute a workspace notebook by submitting each code cell to a Livy Spark session. Synapse's Livy returns a cell's captured output only when the cell finishes, so per-line stdout during a long-running cell is not available. Feedback granularity is one cell.
Development
uv run python -m black .
uv run python -m isort .
uv run python -m flake8 src tests
uv run python -m mypy src tests
uv run python -m pytest
Authentication is always DefaultAzureCredential. Make sure you are signed in
(e.g. az login) before running commands that touch the workspace.
Metadata
Release files for synapse-controller 0.1.1
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 |
|---|---|---|---|---|
| synapse_controller-0.1.1.tar.gz | 29.8 kB | With provenance | Details for synapse_controller-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| synapse_controller-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for synapse_controller-0.1.1-py3-none-any.whl |
Total release size: 68.6 kB
Release files / synapse_controller-0.1.1.tar.gz
| Download URL | synapse_controller-0.1.1.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69edd39b6e0100e2fbb3b6de7f923f8ad597e40f1d03ee95e4e079150533a5e7
|
|
BLAKE2b-256 checksum How to use checksums |
f395afb42ff51e1c2f2e40c4582770bde859a5bbc6a810d601d4069a0487a141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logRelease files / synapse_controller-0.1.1-py3-none-any.whl
| Download URL | synapse_controller-0.1.1-py3-none-any.whl |
|---|---|
| Size | 38.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae500fbd6617a35255fac675974dda4febc84e7a14c5ce0dc1f5768779c62665
|
|
BLAKE2b-256 checksum How to use checksums |
dd01cb8ef9d264f98c3e5b261be0fc24eb656a41a6bfe50dc049fa8d3b5e6124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logSecurity for synapse-controller 0.1.1
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 synapse_controller-0.1.1.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 Sep 9, 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.