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.4

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.4
File Size Uploaded
swisstip_builder-0.3.4.tar.gz 296.9 kB Details

Built distribution (wheel)

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

Total release size: 657.7 kB

Release files / swisstip_builder-0.3.4.tar.gz

Download URL swisstip_builder-0.3.4.tar.gz
Size 296.9 kB
Tags Source
SHA-256 checksum
How to use checksums
86ae6256c14d2ad61e4b04d1558a04cd053a0886ff679a140422a523a633c461
BLAKE2b-256 checksum
How to use checksums
b086486b74eb3d227a5b0ce97a97c86cb41d1fb7c85edad56461104dc388086b
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 25, 2026.

Transparency log

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

Download URL swisstip_builder-0.3.4-py3-none-any.whl
Size 360.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1abcb4b35371573bb9be9cd511b8ef1109671f05c268c189e46329efc0b579d8
BLAKE2b-256 checksum
How to use checksums
9990324ca1f38a58345b57c4feffdf473d619442eeb4496a57d7da270b1a5478
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

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