A comprehensive Python API for Competitive Programming sites like Codeforces
Project description
CF Pipeline
A command-line interface tool for automating Codeforces competitive programming workflows.
Overview
CF Pipeline is a CLI application that streamlines interaction with the Codeforces competitive programming platform. Built with a "plumbing and porcelain" architecture (inspired by Git), it provides a set of composable commands for automating common Codeforces tasks.
Features
- Problem retrieval: Download contest problems directly to your local environment
- Solution testing: Test your solutions against sample test cases before submission
- Workflow automation: Combine commands to create custom workflows
- Framework extensibility: Build your own commands on top of the core framework
Installation
pip install -r requirements.txt
python setup.py install
Usage
Basic commands:
# Get a specific problem
cfp get-problem <contest-id> <problem-index>
# Test your solution against problem test cases
cfp test-solution <solution-file> <contest-id> <problem-index>
Architecture
CF Pipeline follows a modular approach:
- Core modules: Problem representation, contest data, and configuration management
- Commands: Single-purpose tools that can be combined into workflows
- API utilities: Tools for interacting with the Codeforces API
Why Use CF Pipeline?
- Save time: Automate repetitive tasks in the competitive programming workflow
- Focus on coding: Reduce time spent on administrative tasks
- Integration: Use from your terminal without switching to the browser
- Customization: Build and extend with your own commands and workflows
Development Status
This project is in early alpha development (version 0.0.5 "AlmostAlpha"). Many planned features are still in progress.
Contributing
Contributions are welcome! See our contribution guidelines for details.
License
See the LICENSE file for details.
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 cf_pipeline-0.0.6.tar.gz.
File metadata
- Download URL: cf_pipeline-0.0.6.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd27d98315032861fa19d5c4cb8752cc66097f1414f5c588d65119eae2c7d5df
|
|
| MD5 |
bcb6af2e4d23704cd1dfb1b3e80529cf
|
|
| BLAKE2b-256 |
c86a6e8ad543009799e180c34cda0247b2944fc05de32e5a0c0db0c3529827c4
|
File details
Details for the file cf_pipeline-0.0.6-py3-none-any.whl.
File metadata
- Download URL: cf_pipeline-0.0.6-py3-none-any.whl
- Upload date:
- Size: 44.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1a3684cb0e7ecc8c4bc4a3c367761a819f6d9020192b94c684583f20cca1f1a
|
|
| MD5 |
9206f39062b2353ecdbbe28dde985178
|
|
| BLAKE2b-256 |
dc3936c4120dff7547082254322a5d40d3726808090c56ef86dcfeb13125f705
|