You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/python3_capsolver/AGENTS.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# PYTHON3_CAPSOLVER PACKAGE
2
2
3
-
**Generated:** 2026-01-13
3
+
**Generated:** 2026-03-15
4
+
**Commit:** b797332
4
5
5
6
## OVERVIEW
6
7
Main library package containing service-specific captcha solving implementations. Provides high-level interfaces for various captcha types (ReCaptcha, Cloudflare Turnstile, DataDome, etc.) through a unified API.
@@ -11,17 +12,19 @@ Each service class inherits from `core.CaptchaParams` and implements synchronous
11
12
```
12
13
src/python3_capsolver/
13
14
├── core/ # Base classes, instruments, serializers
14
-
├── control.py # Control class for direct API methods
├── __init__.py # Exports only __version__ (minimal)
27
+
└── __version__.py # Version string
25
28
```
26
29
27
30
## WHERE TO LOOK
@@ -41,3 +44,12 @@ src/python3_capsolver/
41
44
-**Task Payload**: Passed via `task_payload` dict, merged with internal task params
42
45
-**Response Structure**: Returns dict with `errorId`, `taskId`, `status`, `solution` fields
43
46
-**Context Managers**: Support `with` and `async with` for session cleanup
47
+
48
+
## ANTI-PATTERNS (THIS PACKAGE)
49
+
-**Minimal `__init__.py`**: Does NOT export service classes. Users cannot do `from python3_capsolver import ReCaptcha` — must use full path `from python3_capsolver.recaptcha import ReCaptcha`
50
+
-**AGENTS.md in package dir**: Will ship with distribution unless excluded in `pyproject.toml`
51
+
52
+
## UNIQUE STYLES
53
+
-**control.py (431 lines)**: Largest file, provides raw API access without abstraction
54
+
-**Service files**: 2-5k lines each, focused on single captcha type
55
+
-**No type stubs**: Type hints inline, no `.pyi` files
0 commit comments