Skip to main content

PyPI PyPI - Python Version License: GPL v3 Pydantic v2 Ruff Checked with mypy Poetry pytest

Scraper-core

Core library for collectors/scrapers of PaZuFa, providing shared functionality and base classes.

Status: Work in Progress (WIP). For a detailed status overview, see the status page in the wiki (German).

The detailed documentation can be found in the wiki (German).

Requests

If you have a request for the Scraper-core, the best way to voice it is to write a Codeberg issue. Please add the label external-request to it.

If it is a bug you can alternatively use the label Bug.

For requests and questions, you can, of course, contact us on Mattermost.

Structure

The library consists of three parts:

  1. CoreLib: shared classes and utilities used by all scrapers regardless of implementation approach. This includes Pydantic validation models, API client helpers, common data transformation functions, standardised phrases and tag mappings (e.g. normalising committee names, document types, and Schlagworte across parliaments), and reusable components for tasks like LLM enrichment.
  2. Scrapy-based: Opinionated implementation of Corelib in Scrapy based classes.
  3. Collector-based: Our project's scaffolding for scrapers, implemented in an opinionated manner using Corelib.

Requirements

  • Python 3.12+
  • Poetry 2.x

For the full dependency list, see pyproject.toml.

Setup

See SETUP.md for the full setup guide, which is versioned alongside the code.

Contribution

See CONTRIBUTING.md for development setup, git workflow, code generation, documentation and project context.

License

GPL-3.0

Metadata

Release files for pazufa-corelib 0.2.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 pazufa-corelib 0.2.2
File Size Uploaded Provenance Actions
pazufa_corelib-0.2.2.tar.gz 129.2 kB Without provenance Details for pazufa_corelib-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pazufa-corelib 0.2.2
File Interpreter ABI Platform Actions
pazufa_corelib-0.2.2-py3-none-any.whl Python 3 none any Details for pazufa_corelib-0.2.2-py3-none-any.whl

Total release size: 338.4 kB

Release files / pazufa_corelib-0.2.2.tar.gz

Download URL pazufa_corelib-0.2.2.tar.gz
Size 129.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dc212086021d617a54606915a9a1dba874c121f0b3a5680f9b3c3fca2ba2d6dc
BLAKE2b-256 checksum
How to use checksums
f23757b97f42c142190a8b2ce41ff368936c56a327a6b9ab9bffc69364db85c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / pazufa_corelib-0.2.2-py3-none-any.whl

Download URL pazufa_corelib-0.2.2-py3-none-any.whl
Size 209.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c8771af813c07fe5866c71b05d28771d2a4031ea4182872bcf4ef1eca675c61
BLAKE2b-256 checksum
How to use checksums
853aa7ab7602623feec40d01417f3a4cf7ae2394874da936db0c03ce5268bf1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for pazufa-corelib 0.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

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