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.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 pazufa-corelib 0.3.2
File Size Uploaded Provenance Actions
pazufa_corelib-0.3.2.tar.gz 143.1 kB Without provenance Details for pazufa_corelib-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 371.2 kB

Release files / pazufa_corelib-0.3.2.tar.gz

Download URL pazufa_corelib-0.3.2.tar.gz
Size 143.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c0aaa951144b6b681cb285ae2f42fc69e466d25d4e55d9c9dae37b5edfc11a
BLAKE2b-256 checksum
How to use checksums
96ec8d6b09d30bb5bee2d09699bc41ac3731b66e64f034c82de4dd6175b58978
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL pazufa_corelib-0.3.2-py3-none-any.whl
Size 228.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d7d8a161e4527ff0d15f18582332c2995216a82bdc829163151da96b069133
BLAKE2b-256 checksum
How to use checksums
76c78fd7ca90f2f19cbb0b75f2eb1e0c11e7a8d1e0753ac57c1a4ff7e1b472ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for pazufa-corelib 0.3.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