semvec/pypi-packages huggingface dataset:
mp-scrape-export-sqlite 0.1.1
Export data as SQLite
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape Export SQLite

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Consumer to export data in SQLite

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_export_sqlite
```

## Arguments

- `dest` Where the SQLite database is (or will be) stored.
- (Optional) `track_changes` When enabled, instead of overwritting the existing tables, new tables will be created. These new tables define the data as was at a certain point in time. References to these tables and when were they created will be stored in a `time_mappings` table.
- (Optional) `table_name` Where will the data be stored
- (Optional) `separate_sources` When enabled, each data source will have its own table
- (Optional) `overwrite` If the database already exists, overwrite all of the contents
sonucv 1.2
A Python package that displays my resume in the terminal
Requires Python: >=3.6

# SonuCV

SonuCV is a Python package that displays an interactive and formatted resume directly in the terminal. It allows users to view the resume in both **full** and **interactive** modes.

---

## 🚀 Installation

You can install SonuCV from PyPI using:

```sh
pip install sonucv

To view the full resume, run:

resumeviewer

To use the interactive mode, run:

resumeviewer --interactive
mp-scrape-export-csv 0.1.0
Export data as CSV
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape Export CSV

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Consumer to export data in CSV

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_export_csv
```

## Arguments

- `dest` Where will the CSV file be stored.
- (Optional) `index` When enabled, the index will be kept.
mp-scrape-source-nrw 0.1.0
Obtain data of North Rine-Westphalia MPs
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape Nordrhein-Westfalen

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Source for the Nordrhein-Westfalen parliament.

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_source_nrw
```

## Arguments

- (Optional) `display_browser` When enabled, a browser window is opened displaying the actions being performed.
- (Optional) `url` URL from where the data is extracted
- (Optional) `retrieve_emails` When enabled, e-mails will be retrieved. This takes a long time.
mp-scrape-source-euparl 0.1.0
Obtain data of EU MPs
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape EUParl

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Source for the European Parliament.

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_source_euparl
```

## Arguments

- (Optional) `display_browser` When enabled, a browser window is opened displaying the actions being performed.
- (Optional) `mep_url_template` URL template to obtain data from each MEP, `{ID}` will be replaced with the MEP ID.
- (Optional) `full_list_url` URL from where the full list of MEPs is extracted.
- (Optional) `retrieve_emails` When enabled, e-mails will be retrieved. This takes a long time.
- (Optional) `retrieve_committees` When enabled, membership to committees will be retrieves. This takes a long time.
- (Optional) `timeout` Only valid when `retrieve_emails` or `retrieve_committees` are true, time to wait between pages.
mp-scrape-source-bundestag 0.1.0
Obtain data of Bundestag MPs
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape Bundestag

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

Data Source for the Bundestag.

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_source_bundestag
```

## Arguments

- (Optional) `display_browser` When enabled, a browser window is opened displaying the actions being performed.
- (Optional) `skip_retired` Skip members who are retired, deceased, or refused mandate.
- (Optional) `url` URL from where the data is extracted.
- (Optional) `infer_email` When enabled, e-mails are inferred based on the pattern they typically follow.
- (Optional) `check_cdu_csu` Obtain e-mails and check information with CDU/CSU sources.
- (Optional) `cdu_csu_url` The URL where the data will be scraped from.
- (Optional) `check_grune` Obtain e-mails and check information with  Bündnis 90/Die Grünen sources.
- (Optional) `grune_url` The URL where the data will be scraped from.
mp-scrape-core 0.1.0
Gather up-to-date and reliable information about Members of Parliament
Requires Python: >=3.11

<!--
SPDX-FileCopyrightText: 2025 Sofía Aritz <sofiaritz@fsfe.org>

SPDX-License-Identifier: AGPL-3.0-only
-->

# MP Scrape Core

Part of the [MP Scrape](https://git.fsfe.org/mp-scrape/mp-scrape) project.

MP Scrape Core is the core of the MP Scrape project, defining the primitives for data sources, processes, and data consumers.

## Where to get it

You can get it through the [Python Package Index (PyPI)](https://pypi.org/project/mp_scrape_core/):

```sh
$ pip3 install mp_scrape_core
```
monapi-sdk 0.1.4
SDK for integrating with the Monapi Marketplace
Requires Python: >=3.7

# Monapi SDK for Python

This SDK allows providers to easily integrate with the Monapi Marketplace.

## Installation

```bash
pip install monapi-sdk
```

## Usage

```python
from fastapi import FastAPI, Request
from monapi import MarketplaceProvider
import os

app = FastAPI()

# Initialize the marketplace provider with your secret key
marketplace = MarketplaceProvider(
    provider_secret=os.getenv("MARKETPLACE_SECRET"),
)

# Add the marketplace middleware to validate incoming requests
@app.middleware("http")
async def marketplace_middleware(request: Request, call_next):
    return await marketplace.validate_request_middleware(request, call_next)

# Create your API endpoints
@app.post("/api/webhook")
async def handle_webhook(request: Request):
    # The request has already been validated by the middleware
    # You can now process the webhook
    data = await request.json()
    return {"status": "success", "data": data}
```

## Features

- Request validation using HMAC-SHA256 signatures
- FastAPI middleware for easy integration
- Automatic timestamp validation
- Detailed logging for debugging

## Requirements

- Python 3.7+
- FastAPI

## License

MIT