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.
- {atomhttp-1.0.0 → atomhttp-1.0.1}/PKG-INFO +1 -1
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/__init__.py +1 -1
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/client.py +8 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/PKG-INFO +1 -1
- {atomhttp-1.0.0 → atomhttp-1.0.1}/pyproject.toml +1 -1
- {atomhttp-1.0.0 → atomhttp-1.0.1}/LICENSE +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/README.md +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/http_adapter.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/adapters/mock_adapter.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/basic_auth.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/auth/bearer_auth.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/adapters.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/config.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/defaults.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/form_data.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/request.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/core/response.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/errors/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/errors/http_errors.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/manager.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/request_interceptor.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/interceptors/response_interceptor.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/progress/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/progress/upload_progress.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/data_serializer.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/request_transform.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/transforms/response_transform.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/__init__.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/cookies.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/helpers.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp/utils/redirect.py +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/SOURCES.txt +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/dependency_links.txt +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/requires.txt +0 -0
- {atomhttp-1.0.0 → atomhttp-1.0.1}/atomhttp.egg-info/top_level.txt +0 -0
- {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.
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|