swiss-caselaw-scrapers
The Python distribution for OpenCaseLaw, an open pipeline for collecting, normalising, searching, and analysing published Swiss federal and cantonal court decisions.
The package ships the scraper registry and pipeline, quality-control tools,
search stack, REST/MCP server modules, and two command-line entry points:
swiss-caselaw and swiss-caselaw-gap-report.
Install
Use a virtual environment and install the capabilities you need:
python -m pip install swiss-caselaw-scrapers
python -m pip install "swiss-caselaw-scrapers[api]"
This is an alpha release of an actively developed research infrastructure project. Scrapers make network requests to official publication systems when you invoke them; review the selected source and applicable terms before a run.
Documentation and provenance
- Project and public search: https://opencaselaw.ch
- Source and issue tracker: https://github.com/jonashertner/opencaselaw
- API documentation: https://mcp.opencaselaw.ch/api/docs
- Dataset: https://huggingface.co/datasets/voilaj/swiss-caselaw
Official releases are built from the public repository and published to PyPI through GitHub Actions trusted publishing. The release workflow uses short-lived OIDC credentials; the repository does not store a long-lived PyPI token.
Licensing
The software is MIT-licensed. Published datasets are generally CC0; source- specific exceptions and the governance/removal policy are documented in the repository and on the project website.
Metadata
Release files for swiss-caselaw-scrapers 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 | |
|---|---|---|---|---|
| swiss_caselaw_scrapers-0.1.0.tar.gz | 1.5 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swiss_caselaw_scrapers-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / swiss_caselaw_scrapers-0.1.0.tar.gz
| Download URL | swiss_caselaw_scrapers-0.1.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdd802894a8c74f9978bf863db06f4c412d22c54ef36ad416f98196b6d821a9d
|
|
BLAKE2b-256 checksum How to use checksums |
d9adfdd663e5686284057b8c0bb48045e75f046ed3e078b5f81eac96ca2f1017
|
| 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 Aug 28, 2026.
Transparency logRelease files / swiss_caselaw_scrapers-0.1.0-py3-none-any.whl
| Download URL | swiss_caselaw_scrapers-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cd0ee85cd8c0b7bd860a33245d91af7e9353d73b2ce22cc216e5d982db23f5c
|
|
BLAKE2b-256 checksum How to use checksums |
23f5a9c64943e3eb00025507f0a2a78bae7483a53e448afda2b0124620e60922
|
| 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 Aug 28, 2026.
Transparency logSecurity for swiss-caselaw-scrapers 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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for swiss_caselaw_scrapers-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 Aug 28, 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.