mirror of
https://github.com/NohamR/trio_http_proxy.git
synced 2025-05-24 00:59:27 +00:00
Update dependencies.
This commit is contained in:
parent
f3f36cf8bf
commit
a8c5e2250b
@ -4,7 +4,7 @@ trio_http_proxy.py
|
|||||||
Simple HTTP CONNECT proxy implemented with
|
Simple HTTP CONNECT proxy implemented with
|
||||||
`Trio <https://trio.readthedocs.io>`__.
|
`Trio <https://trio.readthedocs.io>`__.
|
||||||
|
|
||||||
Tested with Python 3.8 and Trio 0.17.0
|
Tested with Python 3.12 and Trio 0.25.0
|
||||||
(but other versions probably work too).
|
(but other versions probably work too).
|
||||||
|
|
||||||
|
|
||||||
@ -46,11 +46,12 @@ Why
|
|||||||
Instructions
|
Instructions
|
||||||
------------
|
------------
|
||||||
|
|
||||||
#. Install Trio if you haven't already.
|
#. Install Trio and h11 if you haven't already.
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
pip install trio
|
uv venv .venv # create a virtualenv (recommended)
|
||||||
|
uv pip install -r requirements-lock.txt # install dependencies
|
||||||
|
|
||||||
#. In one shell session, run this script to start the proxy on port 8080:
|
#. In one shell session, run this script to start the proxy on port 8080:
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# Copyright 2018-2019 Joshua Bronson. All Rights Reserved.
|
|
||||||
#
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
from .trio_http_proxy import *
|
|
16
requirements-lock.txt
Normal file
16
requirements-lock.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# This file was autogenerated by uv via the following command:
|
||||||
|
# uv pip compile requirements.in -o requirements-lock.txt
|
||||||
|
attrs==23.2.0
|
||||||
|
# via
|
||||||
|
# outcome
|
||||||
|
# trio
|
||||||
|
h11==0.14.0
|
||||||
|
idna==3.7
|
||||||
|
# via trio
|
||||||
|
outcome==1.3.0.post0
|
||||||
|
# via trio
|
||||||
|
sniffio==1.3.1
|
||||||
|
# via trio
|
||||||
|
sortedcontainers==2.4.0
|
||||||
|
# via trio
|
||||||
|
trio==0.25.0
|
@ -1,14 +0,0 @@
|
|||||||
#
|
|
||||||
# This file is autogenerated by pip-compile
|
|
||||||
# To update, run:
|
|
||||||
#
|
|
||||||
# pip-compile
|
|
||||||
#
|
|
||||||
async-generator==1.10 # via trio
|
|
||||||
attrs==20.2.0 # via trio
|
|
||||||
h11==0.10.0 # via -r requirements.in
|
|
||||||
idna==2.10 # via trio
|
|
||||||
outcome==1.0.1 # via trio
|
|
||||||
sniffio==1.1.0 # via trio
|
|
||||||
sortedcontainers==2.2.2 # via trio
|
|
||||||
trio==0.17.0 # via -r requirements.in
|
|
Loading…
x
Reference in New Issue
Block a user