semvec/pypi-packages huggingface dataset:
cde-submit-migration 0.14.0
Lightweight spark-based migration runner for executing SQL migrations on Spark catalog tables in Cloudera Data Engineering (CDE).
Requires Python: >=3.11

# cde-submit-migration

Lightweight Spark-based migration runner for executing SQL migrations on Spark catalog tables in Cloudera Data Engineering (CDE).

This repository contains a small CLI and a Spark job that can apply SQL migration files (single .sql file or a zipped folder containing multiple .sql files) to a Spark catalog. It was created to make it easy to run migrations either locally (for testing) or by submitting the job through CDE's `cde spark submit` command.

## Highlights
- Run a single SQL migration file or a folder (zipped automatically) containing multiple ordered `.sql` files.
- Local mode (uses a local path-based Iceberg catalog) for development and testing.
- Integration with Cloudera Data Engineering (`cde spark submit`) for production runs.

## Requirements
- Python 3.11 or later
- `pyspark==3.5.1`


## Install
```bash
uv tool install cde-submit-migration
```

```bash
pip install cde-submit-migration
```

After installation you should have following console command available:
    - `submit-cde-migration` to perform migration on CDE environment,
    - `submit-local-migration` to perform migration in local environment (for testing purposes)

To upgrade package to the latest version use following commands:
```bash
uv tool upgrade cde-submit-migration 
```

```bash
pip install --upgrade cde-submit-migration
```

## Usage
```bash
submit-cde-migration --path path/to/migrations --db target_database --profile my-cde-profile
```

```bash
submit-local-migration --path path/to/migrations --db target_database
```

Notes on arguments:
- `--path` — path to a single `.sql` file or a folder containing `.sql` files. When passing a folder in non-local mode, the folder is copied and zipped before submission.
- `--db` — target database name to use as the current catalog database. If the database does not exist, it will be created.
- `--profile` — optional CDE configuration profile name used when calling `cde spark submit`.


## Project structure
- `src/cde_submit_migration/main.py` — CLI entrypoint that either runs locally or packages and submits to CDE.
- `src/cde_submit_migration/migration.py` — Spark job that executes SQL migration(s).
- `pyproject.toml` — project metadata and dependencies.


## Troubleshooting
- If `cde spark submit` is not in your PATH, the CDE mode will fail. Make sure the `cde` CLI is installed and configured in the environment you use to run `submit-cde-migration`.
- If you see Spark/Java version incompatibilities when running locally, verify your local Spark/PySpark installation matches the expected runtime (the project pins `pyspark==3.5.1`).
iflow-mcp_mohamed-hanfy_codeforces-mcp 0.1.1
A Model Context Protocol (MCP) server that provides seamless access to the Codeforces API
Requires Python: >=3.8

# Codeforces MCP Server

A Model Context Protocol (MCP) server that provides seamless access to the Codeforces API. This server allows you to interact with Codeforces contests, user data, submissions, and ratings through a standardized MCP interface.

## Features

- **Contest Management**: Get contest lists, standings, and rating changes
- **User Information**: Retrieve user profiles, rating history, and submissions
- **Submission Tracking**: Access recent submissions and contest-specific submissions
- **Rating Data**: Get user rating changes and rated user lists
- **Async Support**: Built with async/await for optimal performance

## Available Tools

### Contest Tools
- `get_contest_list` - Get list of contests (with optional gym and group filters)
- `get_contest_rating_changes` - Get rating changes after a specific contest
- `get_contest_standings` - Get contest standings with customizable filters
- `get_contest_status` - Get submissions for a specific contest

### User Tools
- `get_user_info` - Get detailed user information
- `get_user_rating` - Get user's complete rating history
- `get_user_submissions` - Get user's submission history
- `get_rated_users` - Get list of all rated users

### General Tools
- `get_recent_submissions` - Get recent submissions across the platform

## Project Structure

```
.
├── Dockerfile              # Docker container configuration 
├── LICENSE                 
├── README.md              
└── src/                   
    ├── codeforces_mcp.py  # Main MCP server implementation with Codeforces API integration.
    └── requirements.txt   # Python dependencies.
```
## Installation

### Docker (Recommended)

1. **Pull the image from Docker Hub:**
```bash
docker pull mohamed2x/codeforces-mcp
```

2. **Run the container:**
```bash
docker run -i --rm mohamed2x/codeforces-mcp:latest
```

## Configuration

The server runs on stdio transport by default and connects to the official Codeforces API at `https://codeforces.com/api`.

### Dependencies

- `fastmcp` - MCP server framework
- `httpx` - Async HTTP client
- `urllib.parse` - URL parameter encoding