atomhttp 1.0.0__tar.gz → 1.0.1__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.
Files changed (41) hide show
  1. {atomhttp-1.0.0 → atomhttp-1.0.1}/PKG-INFO +1 -1
  2. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/__init__.py +1 -1
  3. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/client.py +8 -0
  4. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/PKG-INFO +1 -1
  5. {atomhttp-1.0.0 → atomhttp-1.0.1}/pyproject.toml +1 -1
  6. {atomhttp-1.0.0 → atomhttp-1.0.1}/LICENSE +0 -0
  7. {atomhttp-1.0.0 → atomhttp-1.0.1}/README.md +0 -0
  8. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/__init__.py +0 -0
  9. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/http_adapter.py +0 -0
  10. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/mock_adapter.py +0 -0
  11. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/__init__.py +0 -0
  12. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/basic_auth.py +0 -0
  13. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/bearer_auth.py +0 -0
  14. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/__init__.py +0 -0
  15. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/adapters.py +0 -0
  16. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/config.py +0 -0
  17. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/defaults.py +0 -0
  18. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/form_data.py +0 -0
  19. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/request.py +0 -0
  20. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/response.py +0 -0
  21. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/errors/__init__.py +0 -0
  22. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/errors/http_errors.py +0 -0
  23. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/__init__.py +0 -0
  24. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/manager.py +0 -0
  25. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/request_interceptor.py +0 -0
  26. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/response_interceptor.py +0 -0
  27. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/progress/__init__.py +0 -0
  28. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/progress/upload_progress.py +0 -0
  29. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/__init__.py +0 -0
  30. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/data_serializer.py +0 -0
  31. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/request_transform.py +0 -0
  32. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/response_transform.py +0 -0
  33. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/__init__.py +0 -0
  34. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/cookies.py +0 -0
  35. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/helpers.py +0 -0
  36. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/redirect.py +0 -0
  37. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/SOURCES.txt +0 -0
  38. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/dependency_links.txt +0 -0
  39. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/requires.txt +0 -0
  40. {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/top_level.txt +0 -0
  41. {atomhttp-1.0.0 → atomhttp-1.0.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomhttp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Professional asynchronous HTTP client for Python — interceptors, progress tracking, FormData, Blob, concurrent requests, and full type hints
5
5
  Author-email: Abolfazl Hosseini <tryuzr@gmail.com>
6
6
  License: MIT
@@ -48,7 +48,7 @@ from .core.form_data import FormData
48
48
  from .core.adapters import HTTPAdapter, MockAdapter
49
49
  from .interceptors.manager import InterceptorManager
50
50
 
51
- __version__ = "2.0.0"
51
+ __version__ = "1.0.1"
52
52
 
53
53
  __all__ = [
54
54
  # Main client
@@ -558,6 +558,14 @@ class AtomHTTP:
558
558
  >>> response = await client.post('/upload', data=form)
559
559
  """
560
560
  return FormData()
561
+
562
+ async def __aenter__(self):
563
+ """Enter async context manager."""
564
+ return self
565
+
566
+ async def __aexit__(self, exc_type, exc_val, exc_tb):
567
+ """Exit async context manager and close client."""
568
+ await self.close()
561
569
 
562
570
  async def close(self) -> None:
563
571
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomhttp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Professional asynchronous HTTP client for Python — interceptors, progress tracking, FormData, Blob, concurrent requests, and full type hints
5
5
  Author-email: Abolfazl Hosseini <tryuzr@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "atomhttp"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "Professional asynchronous HTTP client for Python — interceptors, progress tracking, FormData, Blob, concurrent requests, and full type hints"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
File without changes
File without changes
File without changes