Metadata-Version: 2.4
Name: anytask-scraper
Version: 1.2.0
Summary: CLI, TUI and Python library for anytask.org
Author: Coldish-elf
License-Expression: MIT
Project-URL: Homepage, https://github.com/Coldish-elf/anytask-scraper
Project-URL: Repository, https://github.com/Coldish-elf/anytask-scraper
Project-URL: Issues, https://github.com/Coldish-elf/anytask-scraper/issues
Project-URL: Documentation, https://github.com/Coldish-elf/anytask-scraper/tree/main/docs-en
Keywords: anytask,cli,tui,scraper,education,fastapi
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Education
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: lxml>=5.0
Requires-Dist: rich>=13.0
Provides-Extra: tui
Requires-Dist: textual>=8.2.5; extra == "tui"
Provides-Extra: api
Requires-Dist: fastapi>=0.111; extra == "api"
Requires-Dist: uvicorn[standard]>=0.30; extra == "api"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.4; extra == "dev"
Requires-Dist: mypy>=1.10; extra == "dev"
Requires-Dist: rich>=13.0; extra == "dev"
Requires-Dist: textual>=8.2.5; extra == "dev"
Dynamic: license-file

# Anytask Scraper

[![CI](https://github.com/Coldish-elf/anytask-scraper/actions/workflows/ci.yml/badge.svg)](https://github.com/Coldish-elf/anytask-scraper/actions/workflows/ci.yml)
[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)

[Русский](README.ru.md)

`anytask-scraper` is a Python toolkit for working with [anytask.org](https://anytask.org/). It includes:

- a CLI
- a TUI for interactive browsing
- an optional HTTP API for local automation
- a Python library for scripting and integrations

## Requirements

- Python `3.10+`

## Installation

Library only:

```bash
pip install "git+https://github.com/Coldish-elf/anytask-scraper.git"
```

With CLI and TUI:

```bash
pip install "anytask-scraper[tui] @ git+https://github.com/Coldish-elf/anytask-scraper.git"
```

With HTTP API server:

```bash
pip install "anytask-scraper[tui,api] @ git+https://github.com/Coldish-elf/anytask-scraper.git"
```

For local development:

```bash
git clone https://github.com/Coldish-elf/anytask-scraper.git
cd anytask-scraper
pip install -e ".[dev,api]"
```

## Quick Start

Initialize settings and fill a credential template:

```bash
anytask-scraper settings init
```

Check the CLI:

```bash
anytask-scraper -h
```

Fetch a course summary with a placeholder course ID:

```bash
anytask-scraper course -c 12345 --show
```

Fetch the review queue:

```bash
anytask-scraper queue -c 12345 --show
```

Start the TUI:

```bash
anytask-tui
```

Start the HTTP API:

```bash
anytask-api
```

## Documentation

English:

- [Quick Start](docs-en/QuickStart.md)
- [CLI](docs-en/CLI.md)
- [TUI](docs-en/TUI.md)
- [HTTP API](docs-en/API.md)
- [Configuration](docs-en/Configuration.md)
- [Export Formats](docs-en/Export_Formats.md)
- [Architecture](docs-en/Architecture.md)
- [Library Reference](docs-en/Library_Reference.md)

Russian:

- [Быстрый старт](docs-ru/QuickStart.md)
- [CLI](docs-ru/CLI.md)
- [TUI](docs-ru/TUI.md)
- [HTTP API](docs-ru/API.md)
- [Конфигурация](docs-ru/Configuration.md)
- [Форматы экспорта](docs-ru/Export_Formats.md)
- [Архитектура](docs-ru/Architecture.md)
- [Справочник библиотеки](docs-ru/Library_Reference.md)
