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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pazufa_corelib-0.2.1.tar.gz (127.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pazufa_corelib-0.2.1-py3-none-any.whl (206.3 kB view details)

Uploaded Python 3

File details

Details for the file pazufa_corelib-0.2.1.tar.gz.

File metadata

  • Download URL: pazufa_corelib-0.2.1.tar.gz
  • Upload date:
  • Size: 127.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for pazufa_corelib-0.2.1.tar.gz
Algorithm Hash digest
SHA256 07ef73b6077bb02a4900b36bd85f3ddef00ec682cae4eda9e77f71bed0ed9645
MD5 5f95aef8f24fcdcbf19439c774ea215f
BLAKE2b-256 54747411289ee71c599fd0900473b746c5540fa81ae054143da307039b254664

See more details on using hashes here.

File details

Details for the file pazufa_corelib-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pazufa_corelib-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 206.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for pazufa_corelib-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 930bf4470b9b17792eee5913103f6d7f97da8e41374f5503506fe03ed940252e
MD5 d58439ac73d4ca0a171d371503b194aa
BLAKE2b-256 0d824668f4dc2470fb005622deccb082d349797eaa8ebbe7fa0acb46cb860511

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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