mirror of
https://github.com/thecyberlearn/chat-backend.git
synced 2026-08-18 18:32:54 +00:00
Features: - Django REST API backend - Multi-strategy web scraping system (Beautiful Soup, Playwright, Firecrawl) - Anti-detection features (proxy rotation, user-agent rotation) - Data export functionality (JSON, CSV, TXT) - Business and CrawledPage models - Enhanced crawling service with fallback mechanisms 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
583 B
Python
21 lines
583 B
Python
from typing import Callable, List, Optional
|
|
|
|
from pip._internal.req.req_install import InstallRequirement
|
|
from pip._internal.req.req_set import RequirementSet
|
|
|
|
InstallRequirementProvider = Callable[
|
|
[str, Optional[InstallRequirement]], InstallRequirement
|
|
]
|
|
|
|
|
|
class BaseResolver:
|
|
def resolve(
|
|
self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
|
|
) -> RequirementSet:
|
|
raise NotImplementedError()
|
|
|
|
def get_installation_order(
|
|
self, req_set: RequirementSet
|
|
) -> List[InstallRequirement]:
|
|
raise NotImplementedError()
|