Core Features: - Async API client for Kwork.ru (45+ endpoints) - Pydantic models for type-safe responses - Comprehensive error handling (KworkAuthError, KworkApiError, etc.) - 93% test coverage (57 unit tests) CI/CD Pipeline: - 3 parallel jobs: lint, test, security - Ruff for linting/formatting (150x faster than flake8) - MyPy for static type checking - pip-audit for security scanning - Pre-commit hooks for code quality E2E Testing: - Login/logout authentication - Session restoration - All endpoints tested against real API Documentation: - API reference with examples - Usage guide - Contributing guidelines Based on HAR analysis (mitmproxy + har-analyzer skill): - Correct endpoints: api.kwork.ru - Proper authentication: Basic auth + cookies - Form-urlencoded login payload
6 lines
161 B
Bash
6 lines
161 B
Bash
# Kwork.ru credentials for E2E testing
|
|
# Copy this file to .env and fill in your test credentials
|
|
|
|
KWORK_USERNAME=JTJagOmega
|
|
KWORK_PASSWORD=8AQhyzQRcTJ6v81maCNa
|