careful 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
careful/httpx/_types.py CHANGED
@@ -3,4 +3,4 @@ from typing import Callable
3
3
 
4
4
  ResponsePredicate = Callable[[Response], bool]
5
5
 
6
- CacheKeyfunc = Callable[[str,str,dict], str]
6
+ CacheKeyfunc = Callable[[str, str, dict], str]
@@ -150,7 +150,7 @@ class FileCache(CacheStorageBase):
150
150
 
151
151
  Parameters:
152
152
  cache_dir: directory for storing responses
153
-
153
+
154
154
  Example:
155
155
 
156
156
  make_careful_client(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: careful
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: careful extensions to httpx: throttle, retry, cache
5
5
  Project-URL: Repository, https://codeberg.org/jpt/careful
6
6
  Author-email: jpt <dev@jpt.sh>
@@ -18,23 +18,20 @@ Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
19
  Requires-Python: >=3.10
20
20
  Requires-Dist: httpx>=0.28.1
21
- Requires-Dist: mkdocs-material>=9.6.18
22
- Requires-Dist: mkdocstrings-python>=1.18.2
23
- Requires-Dist: mkdocstrings>=0.30.0
24
- Requires-Dist: pytest-httpbin>=2.1.0
25
- Requires-Dist: pytest>=8.4.2
26
21
  Description-Content-Type: text/markdown
27
22
 
28
23
  # careful
29
24
 
30
- <img src="/carefully-3681327.svg" width=100 height=100 alt="logo of a warning sign">
31
-
32
- **careful** is a library for making requests to unreliable websites with httpx.
25
+ <img src="https://careful.jpt.sh/carefully-3681327.svg" width=100 height=100 alt="logo of a warning sign">
33
26
 
27
+ **careful** is a Python library for making requests to unreliable websites with `httpx`.
28
+
34
29
  **Code**: <https://codeberg.org/jpt/careful>
35
30
 
36
31
  **Docs**: <https://careful.jpt.sh>
37
32
 
33
+ [![status-badge](https://ci.codeberg.org/api/badges/15185/status.svg)](https://ci.codeberg.org/repos/15185)
34
+
38
35
  It offers enhancements to
39
36
  [`httpx.Client`](https://www.python-httpx.org)
40
37
  useful for writing long-running scrapers & crawlers, particularly against sites that are slow or have intermittent errors.
@@ -1,11 +1,11 @@
1
1
  careful/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  careful/httpx/__init__.py,sha256=u-n0uKIWAd3NXsZUd1UA4wzJJTEhRR74diHzDV2EpEU,4885
3
- careful/httpx/_types.py,sha256=NwyQ-ItodN9HnO7d7b0M1M4M9y90TjRkhQFqNuypKRI,149
4
- careful/httpx/dev_cache.py,sha256=KR35u0CvutqTOWQ8pO-hzwbPy0lDBhShJfhCAbOvqv0,11032
3
+ careful/httpx/_types.py,sha256=jefYDxSbLRUatU8QKeyxStc9UC3AJwAba2SfhNkM0RY,151
4
+ careful/httpx/dev_cache.py,sha256=HNtEXncPpqsjIEoz5UhRf4YO2iVwz5uowKc4_B74fZg,11024
5
5
  careful/httpx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  careful/httpx/retries.py,sha256=Kszm0wDITyPZ3qx5TsDL__HjCYVJyAZ2WehrlpXV5Cc,2500
7
7
  careful/httpx/throttle.py,sha256=ZpuFABYHGQ4D0zks922SCXp7WZG_-Ysafz-Npa2QVwQ,1096
8
- careful-0.2.0.dist-info/METADATA,sha256=A82D5ltN7bDh1dXkOqdBLcW8fxxxqsonFgf9hZQlors,2541
9
- careful-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- careful-0.2.0.dist-info/licenses/LICENSE,sha256=oHe4LmCuo6CZne42DRXfiR3uqqIfGsk4dAvDKucAi4M,1315
11
- careful-0.2.0.dist-info/RECORD,,
8
+ careful-0.2.1.dist-info/METADATA,sha256=ZAKwiwqykmep0LiYCzFLWJfTgharbvhW3FCJ3p0b_-8,2498
9
+ careful-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ careful-0.2.1.dist-info/licenses/LICENSE,sha256=oHe4LmCuo6CZne42DRXfiR3uqqIfGsk4dAvDKucAi4M,1315
11
+ careful-0.2.1.dist-info/RECORD,,