httpr 0.1.12__tar.gz → 0.1.14__tar.gz

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.

Potentially problematic release.


This version of httpr might be problematic. Click here for more details.

Files changed (38) hide show
  1. {httpr-0.1.12 → httpr-0.1.14}/.github/workflows/CI.yml +12 -12
  2. {httpr-0.1.12 → httpr-0.1.14}/PKG-INFO +1 -1
  3. httpr-0.1.14/benchmark.jpg +0 -0
  4. {httpr-0.1.12 → httpr-0.1.14}/httpr/__init__.py +1 -1
  5. {httpr-0.1.12 → httpr-0.1.14}/pyproject.toml +1 -1
  6. httpr-0.1.12/benchmark.jpg +0 -0
  7. {httpr-0.1.12 → httpr-0.1.14}/.github/workflows/mkdocs.yml +0 -0
  8. {httpr-0.1.12 → httpr-0.1.14}/.github/workflows/set_version.py +0 -0
  9. {httpr-0.1.12 → httpr-0.1.14}/.gitignore +0 -0
  10. {httpr-0.1.12 → httpr-0.1.14}/.pre-commit-config.yaml +0 -0
  11. {httpr-0.1.12 → httpr-0.1.14}/Cargo.lock +0 -0
  12. {httpr-0.1.12 → httpr-0.1.14}/Cargo.toml +0 -0
  13. {httpr-0.1.12 → httpr-0.1.14}/LICENSE +0 -0
  14. {httpr-0.1.12 → httpr-0.1.14}/README.md +0 -0
  15. {httpr-0.1.12 → httpr-0.1.14}/benchmark/README.md +0 -0
  16. {httpr-0.1.12 → httpr-0.1.14}/benchmark/benchmark.py +0 -0
  17. {httpr-0.1.12 → httpr-0.1.14}/benchmark/generate_image.py +0 -0
  18. {httpr-0.1.12 → httpr-0.1.14}/benchmark/pyproject.toml +0 -0
  19. {httpr-0.1.12 → httpr-0.1.14}/benchmark/requirements.txt +0 -0
  20. {httpr-0.1.12 → httpr-0.1.14}/benchmark/server.py +0 -0
  21. {httpr-0.1.12 → httpr-0.1.14}/docs/index.md +0 -0
  22. {httpr-0.1.12 → httpr-0.1.14}/docs/writings/index.md +0 -0
  23. {httpr-0.1.12 → httpr-0.1.14}/docs/writings/posts/2025-02-24-python-http-clients-suck.md +0 -0
  24. {httpr-0.1.12 → httpr-0.1.14}/httpr/httpr.pyi +0 -0
  25. {httpr-0.1.12 → httpr-0.1.14}/httpr/py.typed +0 -0
  26. {httpr-0.1.12 → httpr-0.1.14}/httpr.code-workspace +0 -0
  27. {httpr-0.1.12 → httpr-0.1.14}/mkdocs.yml +0 -0
  28. {httpr-0.1.12 → httpr-0.1.14}/scratch.ipynb +0 -0
  29. {httpr-0.1.12 → httpr-0.1.14}/src/lib.rs +0 -0
  30. {httpr-0.1.12 → httpr-0.1.14}/src/response.rs +0 -0
  31. {httpr-0.1.12 → httpr-0.1.14}/src/traits.rs +0 -0
  32. {httpr-0.1.12 → httpr-0.1.14}/src/utils.rs +0 -0
  33. {httpr-0.1.12 → httpr-0.1.14}/tests/httpx_conns.py +0 -0
  34. {httpr-0.1.12 → httpr-0.1.14}/tests/test_asyncclient.py +0 -0
  35. {httpr-0.1.12 → httpr-0.1.14}/tests/test_client.py +0 -0
  36. {httpr-0.1.12 → httpr-0.1.14}/tests/test_defs.py +0 -0
  37. {httpr-0.1.12 → httpr-0.1.14}/tests/test_ssl.py +0 -0
  38. {httpr-0.1.12 → httpr-0.1.14}/uv.lock +0 -0
@@ -365,16 +365,16 @@ jobs:
365
365
  sleep 10
366
366
  - name: Run benchmark
367
367
  run: python benchmark/benchmark.py
368
- - name: Generate image
369
- run: python benchmark/generate_image.py
370
- - name: Checkout main branch
371
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
368
+ - name: Generate and commit benchmark image
369
+ if: startsWith(github.ref, 'refs/tags/')
372
370
  run: |
373
- git checkout main
374
- - name: Commit generated image if changed
375
- uses: EndBug/add-and-commit@v9
376
- with:
377
- message: "Update generated image"
378
- add: "*.jpg"
379
- default_author: github_actions
380
- push: true
371
+ python benchmark/generate_image.py
372
+ git config --global user.name 'github-actions[bot]'
373
+ git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
374
+ git add *.jpg
375
+ if ! git diff --quiet --cached; then
376
+ git commit -m "Update benchmark image for ${{ github.ref_name }}"
377
+ git push
378
+ else
379
+ echo "No changes to commit"
380
+ fi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httpr
3
- Version: 0.1.12
3
+ Version: 0.1.14
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3 :: Only
Binary file
@@ -46,7 +46,7 @@ class Client(RClient):
46
46
  ca_cert_file: str | None = None,
47
47
  client_pem: str | None = None,
48
48
  https_only: bool | None = False,
49
- # http2_only: bool | None = False,
49
+ http2_only: bool | None = False,
50
50
  ):
51
51
  """
52
52
  Args:
@@ -10,7 +10,7 @@ keywords = [ "python", "request",]
10
10
  classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules",]
11
11
  dynamic = [ "version",]
12
12
  dependencies = []
13
- version = "0.1.12"
13
+ version = "0.1.14"
14
14
  [[project.authors]]
15
15
  name = "thomasht86"
16
16
 
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes