tiny-proxy 0.2.1
pip install tiny-proxy
Latest version
Released:
Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache 2
- Author: Roman Snegirev
- Tags socks, socks5, socks4, http, proxy, server, asyncio, trio, anyio
Project description
tiny-proxy
Simple proxy (SOCKS4(a), SOCKS5(h), HTTP tunnel) server built with anyio. It is used for testing python-socks, aiohttp-socks and httpx-socks packages.
Requirements
- Python >= 3.7
- anyio>=3.6.1
Installation
pip install tiny-proxy
Usage
import anyio
from tiny_proxy import Socks5ProxyHandler
async def main():
handler = Socks5ProxyHandler(username='user', password='password')
listener = await anyio.create_tcp_listener(local_host='127.0.0.1', local_port=1080)
await listener.serve(handler.handle)
if __name__ == '__main__':
anyio.run(main)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache 2
- Author: Roman Snegirev
- Tags socks, socks5, socks4, http, proxy, server, asyncio, trio, anyio
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tiny_proxy-0.2.1.tar.gz
.
File metadata
- Download URL: tiny_proxy-0.2.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.31.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 780599ead0b80810e95af88ef5736ba9a531ebcf76b7d98c0afadc619d30d816 |
|
MD5 | 85644eaddacbaa586e38931f0e9d1b39 |
|
BLAKE2b-256 | bc2d71eacfe4b3a3f87478c69fd9028725d54c454c4f94d6b5efe27ffc48bc81 |
File details
Details for the file tiny_proxy-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: tiny_proxy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.31.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9115a1f7edc8824c18fb636ca7f1961a7a8c4118f27cfe6f78f036a272b8b8 |
|
MD5 | 8b7f003d695b3f371b9ab70a2f80c32d |
|
BLAKE2b-256 | 6a02b4b3c83d80d35fabf51addb447614ab083555df4c4f680cfbcf67cc185b2 |