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.6.0.tar.gz (1.9 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.6.0-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stadt_bonn_oparl-1.6.0.tar.gz
Algorithm Hash digest
SHA256 17c66e1accc91a1acadd8470a402f028debf2f2af8bfe53231dd71ee3abc8791
MD5 1036ee8decd32306bac853b487b938be
BLAKE2b-256 5a79eaae6b5c5fcc2ee5785e2d376d8da5316c7b650be0e0052925be82f33102

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stadt_bonn_oparl-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 575784e2a349818f49372d8115f0dce5cb5d12a396266a11fe9825f262b21bba
MD5 d0a5c34b0349aa4011866ad15520fbc4
BLAKE2b-256 877034fcde4353baf65a1993b862d337f0837703f7c5f3e03630dfd501a573ec

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