without-http 0.0.3__tar.gz → 0.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: without-http
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: A sans-IO-backed ASGI server and HTTP client for without: h11/h2/wsproto over asyncio sockets.
5
5
  Author: Josh Karpel
6
6
  Author-email: Josh Karpel <josh.karpel@gmail.com>
@@ -16,11 +16,13 @@ Classifier: Topic :: Internet :: WWW/HTTP
16
16
  Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
17
17
  Classifier: Topic :: Software Development :: Libraries
18
18
  Classifier: Typing :: Typed
19
- Requires-Dist: without-core==0.0.3
20
- Requires-Dist: without-asgi==0.0.3
19
+ Requires-Dist: without-core==0.0.4
20
+ Requires-Dist: without-asgi==0.0.4
21
21
  Requires-Dist: h11>=0.16
22
22
  Requires-Dist: h2>=4.1
23
23
  Requires-Dist: wsproto>=1.2
24
+ Requires-Dist: aiohappyeyeballs>=2.6
25
+ Requires-Dist: brotli>=1.1
24
26
  Requires-Python: >=3.14
25
27
  Description-Content-Type: text/markdown
26
28
 
@@ -73,4 +75,7 @@ those are built from, for a test that writes frames rather than requests.
73
75
  See the
74
76
  [`without-http` guide](https://without.help/without-http/)
75
77
  (with the [API reference](https://without.help/reference/without_http/))
76
- for the full surface, including the deferred work (WebSockets over HTTP/2, HTTP/3).
78
+ for the full surface, and
79
+ [Alternatives](https://without.help/without-http/alternatives/) for where the
80
+ client and server stand against httpx, aiohttp, niquests, and the ASGI servers,
81
+ including which absences are gaps and which are positions.
@@ -47,4 +47,7 @@ those are built from, for a test that writes frames rather than requests.
47
47
  See the
48
48
  [`without-http` guide](https://without.help/without-http/)
49
49
  (with the [API reference](https://without.help/reference/without_http/))
50
- for the full surface, including the deferred work (WebSockets over HTTP/2, HTTP/3).
50
+ for the full surface, and
51
+ [Alternatives](https://without.help/without-http/alternatives/) for where the
52
+ client and server stand against httpx, aiohttp, niquests, and the ASGI servers,
53
+ including which absences are gaps and which are positions.
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["uv_build>=0.11.32,<0.12"]
2
+ requires = ["uv_build>=0.12.3,<0.13"]
3
3
  build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "without-http"
7
- version = "0.0.3"
7
+ version = "0.0.4"
8
8
  description = "A sans-IO-backed ASGI server and HTTP client for without: h11/h2/wsproto over asyncio sockets."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -23,11 +23,13 @@ classifiers = [
23
23
  "Typing :: Typed",
24
24
  ]
25
25
  dependencies = [
26
- "without-core==0.0.3",
27
- "without-asgi==0.0.3",
26
+ "without-core==0.0.4",
27
+ "without-asgi==0.0.4",
28
28
  "h11>=0.16",
29
29
  "h2>=4.1",
30
30
  "wsproto>=1.2",
31
+ "aiohappyeyeballs>=2.6",
32
+ "brotli>=1.1",
31
33
  ]
32
34
 
33
35
  [[project.authors]]
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["uv_build>=0.11.32,<0.12"]
2
+ requires = ["uv_build>=0.12.3,<0.13"]
3
3
  build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "without-http"
7
- version = "0.0.3"
7
+ version = "0.0.4"
8
8
  description = "A sans-IO-backed ASGI server and HTTP client for without: h11/h2/wsproto over asyncio sockets."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -26,11 +26,13 @@ classifiers = [
26
26
  "Typing :: Typed",
27
27
  ]
28
28
  dependencies = [
29
- "without-core==0.0.3",
30
- "without-asgi==0.0.3",
29
+ "without-core==0.0.4",
30
+ "without-asgi==0.0.4",
31
31
  "h11>=0.16",
32
32
  "h2>=4.1",
33
33
  "wsproto>=1.2",
34
+ "aiohappyeyeballs>=2.6",
35
+ "brotli>=1.1",
34
36
  ]
35
37
 
36
38
  [tool.uv.sources]
@@ -1,20 +1,35 @@
1
+ from without_http.client import DEFAULT_DECOMPRESSORS
2
+ from without_http.client import USER_AGENT
1
3
  from without_http.client import Client
2
4
  from without_http.client import ClientMiddleware
3
5
  from without_http.client import ClientRequest
4
6
  from without_http.client import ClientResponse
7
+ from without_http.client import Compressor
5
8
  from without_http.client import Connect
6
9
  from without_http.client import ConnectionPool
7
10
  from without_http.client import CookieJar
11
+ from without_http.client import Decompressor
12
+ from without_http.client import Resolve
8
13
  from without_http.client import ResponseBody
9
14
  from without_http.client import ResponseHead
10
15
  from without_http.client import ResponseTrailers
11
16
  from without_http.client import add_headers
17
+ from without_http.client import basic_auth
18
+ from without_http.client import bearer_auth
19
+ from without_http.client import brotli_compress
20
+ from without_http.client import compressing
12
21
  from without_http.client import cookies
13
22
  from without_http.client import deadline
23
+ from without_http.client import decompress
24
+ from without_http.client import default_headers
14
25
  from without_http.client import follow_redirects
26
+ from without_http.client import gzip_compress
15
27
  from without_http.client import request
16
28
  from without_http.client import stack
29
+ from without_http.client import tcp_connect
30
+ from without_http.client import user_agent
17
31
  from without_http.client import wrap
32
+ from without_http.client import zstd_compress
18
33
  from without_http.h2_wire import early_hint_headers
19
34
  from without_http.h2_wire import request_headers
20
35
  from without_http.h2_wire import response_headers
@@ -38,25 +53,33 @@ from without_http.timeouts import ReadTimeout
38
53
  from without_http.timeouts import Timeout
39
54
  from without_http.timeouts import WriteTimeout
40
55
  from without_http.tls import ALPN_PROTOCOLS
56
+ from without_http.tls import distinguished_name
57
+ from without_http.tls import extensions_with_tls
41
58
  from without_http.tls import server_ssl_context
59
+ from without_http.tls import tls_extension
42
60
  from without_http.ws_wire import is_websocket_upgrade
43
61
  from without_http.ws_wire import websocket_scope_from_request
44
62
  from without_http.ws_wire import ws_events_from_outbound
45
63
 
46
64
  __all__ = [
47
65
  "ALPN_PROTOCOLS",
66
+ "DEFAULT_DECOMPRESSORS",
67
+ "USER_AGENT",
48
68
  "Client",
49
69
  "ClientMiddleware",
50
70
  "ClientRequest",
51
71
  "ClientResponse",
72
+ "Compressor",
52
73
  "Connect",
53
74
  "ConnectTimeout",
54
75
  "ConnectionPool",
55
76
  "CookieJar",
77
+ "Decompressor",
56
78
  "HTTPTimeout",
57
79
  "LifespanError",
58
80
  "PoolTimeout",
59
81
  "ReadTimeout",
82
+ "Resolve",
60
83
  "ResponseBody",
61
84
  "ResponseHead",
62
85
  "ResponseTrailers",
@@ -65,10 +88,19 @@ __all__ = [
65
88
  "Timeout",
66
89
  "WriteTimeout",
67
90
  "add_headers",
91
+ "basic_auth",
92
+ "bearer_auth",
93
+ "brotli_compress",
94
+ "compressing",
68
95
  "cookies",
69
96
  "deadline",
97
+ "decompress",
98
+ "default_headers",
99
+ "distinguished_name",
70
100
  "early_hint_headers",
101
+ "extensions_with_tls",
71
102
  "follow_redirects",
103
+ "gzip_compress",
72
104
  "h11_events_from_outbound",
73
105
  "inbound_from_event",
74
106
  "is_websocket_upgrade",
@@ -84,8 +116,12 @@ __all__ = [
84
116
  "server_ssl_context",
85
117
  "serving",
86
118
  "stack",
119
+ "tcp_connect",
87
120
  "tcp_keepalive",
121
+ "tls_extension",
122
+ "user_agent",
88
123
  "websocket_scope_from_request",
89
124
  "wrap",
90
125
  "ws_events_from_outbound",
126
+ "zstd_compress",
91
127
  ]