Skip to main content

swisstip-builder

Last update: 20 September 2026

The workstation tools of Swiss TIP, the grounding MCP server for Swiss public information. They turn a source catalogue into a validated, reviewed knowledge release that swisstip-mcp serves.

Command Does
swisstip-admin Local web console: sources, saved documents, reading view, review queue, tool sandbox, release
swisstip-build The whole pipeline of a pack: acquire, gaps, extract, validate, build, accept, ready
swisstip-download, swisstip-gaps Bounded source acquisition (robots.txt, rate limits, request budget) and the gap report
swisstip-extract, swisstip-extract-validate Saved pages and PDFs to labelled text blocks with offsets and hashes
swisstip-build-release Curation file plus text dataset to release.json
swisstip-concepts, swisstip-concepts-package Model-proposed concept candidates with a separate review

Install

Python 3.14 or newer. Install it as an isolated tool; the extraction libraries are pinned exactly, because the text hashes of a release depend on them:

uv tool install swisstip-builder              # or: pipx install swisstip-builder
uv tool install "swisstip-builder[office]"    # adds legacy Office and RTF extraction

Use

The tools work on a packs directory, one that holds releases/<pack>/ (a source catalogue, a curation file, saved pages and a text dataset), for example a clone of a packs repository such as swiss-tip-mvp or an unpacked pack workspace. Pass it as --packs-dir, or set SWISSTIP_PACKS:

swisstip-admin --packs-dir .                 # console on http://127.0.0.1:8765
swisstip-build <pack> --packs-dir . --from build --until accept
swisstip-build <pack> --packs-dir . --from accept --until ready --attested-by "A. Person"

The resulting releases/<pack>/release.json and readiness.json are what swisstip-mcp --release serves.

Licence: Apache-2.0.

Release files for swisstip-builder 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swisstip-builder 0.3.2
File Size Uploaded
swisstip_builder-0.3.2.tar.gz 296.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swisstip-builder 0.3.2
File Interpreter ABI Platform
swisstip_builder-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 656.9 kB

Release files / swisstip_builder-0.3.2.tar.gz

Download URL swisstip_builder-0.3.2.tar.gz
Size 296.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ee35810d09b137ac6346c92fc5311e13a3437559ce54fee58eb70c8d78a0117
BLAKE2b-256 checksum
How to use checksums
f123fe3e40ecd00694ac525be5e92ffed228182bcf25daf625777c498c60784b
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 24, 2026.

Transparency log

Release files / swisstip_builder-0.3.2-py3-none-any.whl

Download URL swisstip_builder-0.3.2-py3-none-any.whl
Size 360.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72a0b024e7d9ecedaa2b3112c841a54f8dd74e4ff05e36498587548ee5198a39
BLAKE2b-256 checksum
How to use checksums
4c25163dafdde3d0ffb8ce39336b416b827e94f8889236049456a1c99c718d9c
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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