europarl


Nameeuroparl JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryA Python HTTP client for accessing and analyzing European Parliament data
upload_time2025-08-01 19:43:21
maintainerNone
docs_urlNone
authorrobincvlr
requires_python<4.0,>=3.9
licenseMIT
keywords european parliament http client data analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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",
    )
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "europarl",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "european parliament, http client, data analysis",
    "author": "robincvlr",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/71/bf/99ff9824c21425d08701e45898dd14240a51e516380f7e9d345d6c3231cc/europarl-0.1.2.tar.gz",
    "platform": null,
    "description": "# europarl\nPython client for accessing and analyzing European Parliament data\n\n[![Build](https://github.com/robincvlr/europarl/actions/workflows/main.yml/badge.svg)](https://github.com/robincvlr/europarl/actions/workflows/main.yml)\n\n## Motivations\nBuilding 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.\n\n## Europarl Swagger\nhttps://data.europarl.europa.eu/en/developer-corner/opendata-api\n\n## Installation\n`pip install git+https://github.com/robincvlr/europarl.git`\n\n## Example\n```\nfrom europarl.client import EuroparlClient\n\nasync with EuroparlClient() as client:\n    status, data = await client.get(\n        query=\"meps/show-current\",\n        limit=10,\n        offset=0,\n        country_of_representation=\"FR\",\n        format=\"application/ld+json\",\n    )\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python HTTP client for accessing and analyzing European Parliament data",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/robincvlr/europarl",
        "Repository": "https://github.com/robincvlr/europarl"
    },
    "split_keywords": [
        "european parliament",
        " http client",
        " data analysis"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f66da3c017e2fd1bfc0432b58564e9aeaea5b91dbc685caed9327790782bbba8",
                "md5": "1ca5be2269f45b8cae3829cb17b608ba",
                "sha256": "6d928b060253835140447f8c559f2ada050c8dfc544c077cf0c4ec2953abbfcb"
            },
            "downloads": -1,
            "filename": "europarl-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ca5be2269f45b8cae3829cb17b608ba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 3759,
            "upload_time": "2025-08-01T19:43:20",
            "upload_time_iso_8601": "2025-08-01T19:43:20.478124Z",
            "url": "https://files.pythonhosted.org/packages/f6/6d/a3c017e2fd1bfc0432b58564e9aeaea5b91dbc685caed9327790782bbba8/europarl-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "71bf99ff9824c21425d08701e45898dd14240a51e516380f7e9d345d6c3231cc",
                "md5": "4e5854645b97265cc554b07f812f6819",
                "sha256": "e75fcb83d3a25401870510527e777612c63041672a81d21fbbbe0de778c64de2"
            },
            "downloads": -1,
            "filename": "europarl-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4e5854645b97265cc554b07f812f6819",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 3219,
            "upload_time": "2025-08-01T19:43:21",
            "upload_time_iso_8601": "2025-08-01T19:43:21.594941Z",
            "url": "https://files.pythonhosted.org/packages/71/bf/99ff9824c21425d08701e45898dd14240a51e516380f7e9d345d6c3231cc/europarl-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 19:43:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "robincvlr",
    "github_project": "europarl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "europarl"
}
        
Elapsed time: 0.67947s