A Python HTTP client for accessing and analyzing European Parliament data
Project description
europarl
Python client for accessing and analyzing European Parliament data
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",
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file europarl-0.1.2.tar.gz.
File metadata
- Download URL: europarl-0.1.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e75fcb83d3a25401870510527e777612c63041672a81d21fbbbe0de778c64de2
|
|
| MD5 |
4e5854645b97265cc554b07f812f6819
|
|
| BLAKE2b-256 |
71bf99ff9824c21425d08701e45898dd14240a51e516380f7e9d345d6c3231cc
|
Provenance
The following attestation bundles were made for europarl-0.1.2.tar.gz:
Publisher:
main.yml on robincvlr/europarl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
europarl-0.1.2.tar.gz -
Subject digest:
e75fcb83d3a25401870510527e777612c63041672a81d21fbbbe0de778c64de2 - Sigstore transparency entry: 340840484
- Sigstore integration time:
-
Permalink:
robincvlr/europarl@c4d431d3fb60df8abff07729e0803a3bf02485f8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/robincvlr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@c4d431d3fb60df8abff07729e0803a3bf02485f8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file europarl-0.1.2-py3-none-any.whl.
File metadata
- Download URL: europarl-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d928b060253835140447f8c559f2ada050c8dfc544c077cf0c4ec2953abbfcb
|
|
| MD5 |
1ca5be2269f45b8cae3829cb17b608ba
|
|
| BLAKE2b-256 |
f66da3c017e2fd1bfc0432b58564e9aeaea5b91dbc685caed9327790782bbba8
|
Provenance
The following attestation bundles were made for europarl-0.1.2-py3-none-any.whl:
Publisher:
main.yml on robincvlr/europarl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
europarl-0.1.2-py3-none-any.whl -
Subject digest:
6d928b060253835140447f8c559f2ada050c8dfc544c077cf0c4ec2953abbfcb - Sigstore transparency entry: 340840545
- Sigstore integration time:
-
Permalink:
robincvlr/europarl@c4d431d3fb60df8abff07729e0803a3bf02485f8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/robincvlr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@c4d431d3fb60df8abff07729e0803a3bf02485f8 -
Trigger Event:
push
-
Statement type: