envoy-server 1.36.4__py3-none-win_amd64.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.
- envoy/__init__.py +5 -0
- envoy/_bin/__init__.py +0 -0
- envoy/_bin/envoy.dll +0 -0
- envoy/_envoy.py +13 -0
- envoy/_main.py +15 -0
- envoy_server-1.36.4.dist-info/METADATA +76 -0
- envoy_server-1.36.4.dist-info/RECORD +10 -0
- envoy_server-1.36.4.dist-info/WHEEL +5 -0
- envoy_server-1.36.4.dist-info/entry_points.txt +3 -0
- envoy_server-1.36.4.dist-info/licenses/LICENSE +21 -0
envoy/__init__.py
ADDED
envoy/_bin/__init__.py
ADDED
|
File without changes
|
envoy/_bin/envoy.dll
ADDED
|
Binary file
|
envoy/_envoy.py
ADDED
envoy/_main.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: envoy-server
|
|
3
|
+
Version: 1.36.4
|
|
4
|
+
Summary: A Python wheel distribution of the Envoy server
|
|
5
|
+
Keywords: envoy
|
|
6
|
+
Author: CurioSwitch
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
+
Classifier: Topic :: Internet :: Proxy Servers
|
|
23
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
24
|
+
Classifier: Topic :: System :: Networking
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Project-URL: Changelog, https://github.com/curioswitch/py-envoy-server/releases
|
|
27
|
+
Project-URL: Homepage, https://github.com/curioswitch/py-envoy-server
|
|
28
|
+
Project-URL: Issues, https://github.com/curioswitch/py-envoy-server/issues
|
|
29
|
+
Project-URL: Repository, https://github.com/curioswitch/py-envoy-server.git
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# envoy-server
|
|
33
|
+
|
|
34
|
+
A Python package containing a runnable [Envoy](https://github.com/envoyproxy/envoy) command.
|
|
35
|
+
|
|
36
|
+
On platforms supported natively by Envoy, typically glibc Linux or macOS on arm64, the package
|
|
37
|
+
embeds the Envoy binary itself and runs it directly. On other platforms such as Windows, it runs
|
|
38
|
+
the official [Envoy docker image](https://hub.docker.com/r/envoyproxy/envoy) - Docker must be installed
|
|
39
|
+
to run. The Docker fallback is primarily meant for non-production usage, for example when your
|
|
40
|
+
project runs Envoy on Linux in production but should still be runnable on a Windows developer
|
|
41
|
+
machine.
|
|
42
|
+
|
|
43
|
+
Note, this package is for Python users. If you're not already using Python, you may want to try
|
|
44
|
+
[func-e](https://github.com/tetratelabs/func-e/) instead.
|
|
45
|
+
|
|
46
|
+
## Usage
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
uv add envoy-server # or pip install
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The package defines a script named `envoy` which will be available on the `PATH` as normal and can
|
|
53
|
+
then be run as you need.
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
uv run envoy --version # or just envoy if in the system Python or an activated virtualenv
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
If you just want to run Envoy on a machine with `uv` (or `pipx`, etc) available without a project to
|
|
60
|
+
add to, you can.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
uvx --from envoy-server envoy --version
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The path to the actual Envoy binary can be found with `get_envoy_path`. Note, this will not be available
|
|
67
|
+
on Windows or other unsupported Envoy platforms and looking up `envoy` on `PATH` is recommended when
|
|
68
|
+
supporting such platforms.
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
import subprocess
|
|
72
|
+
|
|
73
|
+
from envoy import get_envoy_path
|
|
74
|
+
|
|
75
|
+
subprocess.run([get_envoy_path(), "--version"], check=True)
|
|
76
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
envoy/__init__.py,sha256=-Ha6PCjz2m26RnFKNSKxD3QgCL_wYei12FoMCvnJkHI,101
|
|
2
|
+
envoy/_bin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
envoy/_bin/envoy.dll,sha256=xnle8WVf0-wph66S3Vv_6FNhlleD-LopPk8qCdVAJWk,54129152
|
|
4
|
+
envoy/_envoy.py,sha256=NHjgJSHyJ-dG5RaqtCCGIRIXjn-Iv2-v9eR_6dk30nA,260
|
|
5
|
+
envoy/_main.py,sha256=Y6eakUzsom9akirvztnrkdFx91NRyjiFeSiDiA-VwDE,228
|
|
6
|
+
envoy_server-1.36.4.dist-info/licenses/LICENSE,sha256=e7sDs6pM-apXvhJO1bLtzngKeI1aQ6bDIyJxO7Sgv1E,1085
|
|
7
|
+
envoy_server-1.36.4.dist-info/WHEEL,sha256=DhAIiH9459raPzScQawXLtGw_QD3WzqYwUVB4UhPdxo,87
|
|
8
|
+
envoy_server-1.36.4.dist-info/entry_points.txt,sha256=utcc2pM2eohcNd0950Dz0zu22WimXBcNRzur2j9xj38,44
|
|
9
|
+
envoy_server-1.36.4.dist-info/METADATA,sha256=cTxmBdvK-MnHE-VBpnc2jP9Ab63VDUOS0MVBKQyh8PA,2960
|
|
10
|
+
envoy_server-1.36.4.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) CurioSwitch (oss@curioswitch.org)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|