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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swiss_caselaw_scrapers-0.1.0.tar.gz.
File metadata
- Download URL: swiss_caselaw_scrapers-0.1.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdd802894a8c74f9978bf863db06f4c412d22c54ef36ad416f98196b6d821a9d
|
|
| MD5 |
336d6e2d0cd0e94d15637b0617e45cb0
|
|
| BLAKE2b-256 |
d9adfdd663e5686284057b8c0bb48045e75f046ed3e078b5f81eac96ca2f1017
|
Provenance
The following attestation bundles were made for swiss_caselaw_scrapers-0.1.0.tar.gz:
Publisher:
release.yml on jonashertner/opencaselaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swiss_caselaw_scrapers-0.1.0.tar.gz -
Subject digest:
cdd802894a8c74f9978bf863db06f4c412d22c54ef36ad416f98196b6d821a9d - Sigstore transparency entry: 2630312066
- Sigstore integration time:
-
Permalink:
jonashertner/opencaselaw@3d5376f9736246409880c7fa2a900591c2c2d34d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jonashertner
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3d5376f9736246409880c7fa2a900591c2c2d34d -
Trigger Event:
push
-
Statement type:
File details
Details for the file swiss_caselaw_scrapers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: swiss_caselaw_scrapers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cd0ee85cd8c0b7bd860a33245d91af7e9353d73b2ce22cc216e5d982db23f5c
|
|
| MD5 |
49abbbcf2203bea3c877e18958c786db
|
|
| BLAKE2b-256 |
23f5a9c64943e3eb00025507f0a2a78bae7483a53e448afda2b0124620e60922
|
Provenance
The following attestation bundles were made for swiss_caselaw_scrapers-0.1.0-py3-none-any.whl:
Publisher:
release.yml on jonashertner/opencaselaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swiss_caselaw_scrapers-0.1.0-py3-none-any.whl -
Subject digest:
6cd0ee85cd8c0b7bd860a33245d91af7e9353d73b2ce22cc216e5d982db23f5c - Sigstore transparency entry: 2630312096
- Sigstore integration time:
-
Permalink:
jonashertner/opencaselaw@3d5376f9736246409880c7fa2a900591c2c2d34d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jonashertner
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3d5376f9736246409880c7fa2a900591c2c2d34d -
Trigger Event:
push
-
Statement type: