Metadata-Version: 2.3
Name: europarl
Version: 0.1.2
Summary: A Python HTTP client for accessing and analyzing European Parliament data
License: MIT
Keywords: european parliament,http client,data analysis
Author: robincvlr
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aiohttp (>=3.9.5,<4.0.0)
Project-URL: Homepage, https://github.com/robincvlr/europarl
Project-URL: Repository, https://github.com/robincvlr/europarl
Description-Content-Type: text/markdown

# europarl
Python client for accessing and analyzing European Parliament data

[![Build](https://github.com/robincvlr/europarl/actions/workflows/main.yml/badge.svg)](https://github.com/robincvlr/europarl/actions/workflows/main.yml)

## Motivations
Building a Python wrapper to access the European Parliament's Europarl API is a powerful step toward democratizing access to legislative data and fostering transparency in European governance. By simplifying and streamlining the process of querying parliamentary information, such as debates, documents, voting records, and member data, this wrapper can empower researchers, journalists, civic tech developers, and engaged citizens alike.

## Europarl Swagger
https://data.europarl.europa.eu/en/developer-corner/opendata-api

## Installation
`pip install git+https://github.com/robincvlr/europarl.git`

## Example
```
from europarl.client import EuroparlClient

async with EuroparlClient() as client:
    status, data = await client.get(
        query="meps/show-current",
        limit=10,
        offset=0,
        country_of_representation="FR",
        format="application/ld+json",
    )
```

