Skip to main content

Work with OParl Papers (and it's related types).

Project description

Stadt Bonn Ratsinfo

Dieses Projekt enthält Tools zur Verarbeitung von Ratsinformationen der Stadt Bonn.

Beschreibung

...

Installation

Install uv

The first thing to do is make sure uv is installed, as uv is used in this project.

For installation instructions, see the uv installation docs.

If you already have an older version of uv installed, you might need to update it with uv self update.

uv install

Nutzung

uv run oparl download paper --data-path data/ --max-pages 1

und uv run oparl convert paper --data-path data/ --all

uv run oparl classify \
 --data-path data/2025-05-19_253130-02_Bürgerantrag_Stopp_des_Bauvorhabens_Nr._7213-2_Schloßallee/2025-05-16_253130-02_Buergerantrag_Stopp_SAO.md

Filter

Die Filter können mit uv run oparl filter aufgerufen werden.

Beispielsweise können bestimmte Attribute aus allen analysis.json-Dateien in einem Verzeichnis gefiltert werden:

uv run --active oparl filter analysis --data-path data-100-haiku --attributes summary tags

Es werden auf jeden Fall die Attibute title und date in der Ausgabe enthalten sein.

MCP Server starten

uv run fastmcp run src/stadt_bonn_oparl/mcp/server.py --transport sse

OpenAPI Server starten

uv run fastapi run src/stadt_bonn_oparl/api/server.py --port 8000

Topic Scout testen

uv run scripts/test_topic_scout.py

Datenexploration 📊

Im Notebook explore analysis finden Sie eine erste Analyse der Daten. Für eine umfassendere Datenexploration können Sie auch das Dataset auf Kaggle nutzen: Stadt Bonn Allris Partial. Hier werden verschiedene Aspekte der Daten untersucht, um ein besseres Verständnis für die Struktur und den Inhalt der Ratsinformationen zu gewinnen.

Rechtliches

Die Daten stammen von der Stadt Bonn und unterliegen den jeweiligen Lizenzbedingungen. Bitte beachten Sie die Lizenzbedingungen, bevor Sie die Daten verwenden oder weitergeben. Die Dateien in diesem Repository unterliegen der GPL-3.0-Lizenz. Weitere Informationen finden Sie in der Datei LICENSE.


Dieses Projekt fördert transparente, nachvollziehbare und partizipative Konsensbildung. Für Fragen oder Beiträge bitte die verlinkten Dokumente als Ausgangspunkt nutzen.

Mach!Den!Staat! ❤️ Open Source AI

Project details


Download files

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

Source Distribution

stadt_bonn_oparl-1.7.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

stadt_bonn_oparl-1.7.0-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

Details for the file stadt_bonn_oparl-1.7.0.tar.gz.

File metadata

  • Download URL: stadt_bonn_oparl-1.7.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for stadt_bonn_oparl-1.7.0.tar.gz
Algorithm Hash digest
SHA256 14c8dca04c916a6b507e534a08012f93311918416d037554879c8f63efd1ce59
MD5 71193b2b76c651e088756767277fd4bd
BLAKE2b-256 22f209fda6d0c8b26b3a0ad61cefe59331dbee637f6dff5b5d76b3e698a0279d

See more details on using hashes here.

File details

Details for the file stadt_bonn_oparl-1.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stadt_bonn_oparl-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b88bc439c20742ce36b3deeb80421053805c7117471cf42fc6b91669e712d9a
MD5 ac4a17ecf121df82db5eaa03451d7d3c
BLAKE2b-256 6d78e32af9b2b89d3cce96764382bb14b78ceb599f9fb58482ed842aeb9fee20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page