{"id":21215294,"url":"https://github.com/romis2012/tiny-proxy","last_synced_at":"2025-07-10T11:31:17.483Z","repository":{"id":57714592,"uuid":"517250190","full_name":"romis2012/tiny-proxy","owner":"romis2012","description":"SOCKS5/SOCKS4/HTTP proxy server","archived":false,"fork":false,"pushed_at":"2024-04-22T08:13:18.000Z","size":32,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T21:41:33.360Z","etag":null,"topics":["anyio","asyncio","http","proxy","server","socks","socks4","socks5","trio"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romis2012.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-24T06:56:01.000Z","updated_at":"2024-08-01T19:00:19.000Z","dependencies_parsed_at":"2024-04-22T09:43:24.426Z","dependency_job_id":null,"html_url":"https://github.com/romis2012/tiny-proxy","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"ecf7b666ba25c2600b72a434af91d02c73ae0782"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romis2012%2Ftiny-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romis2012%2Ftiny-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romis2012%2Ftiny-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romis2012%2Ftiny-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romis2012","download_url":"https://codeload.github.com/romis2012/tiny-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225634050,"owners_count":17500089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anyio","asyncio","http","proxy","server","socks","socks4","socks5","trio"],"created_at":"2024-11-20T21:36:41.881Z","updated_at":"2024-11-20T21:36:42.503Z","avatar_url":"https://github.com/romis2012.png","language":"Python","readme":"## tiny-proxy\n\n[![CI](https://github.com/romis2012/tiny-proxy/actions/workflows/ci.yml/badge.svg)](https://github.com/romis2012/tiny-proxy/actions/workflows/ci.yml)\n[![Coverage Status](https://codecov.io/gh/romis2012/tiny-proxy/branch/master/graph/badge.svg)](https://codecov.io/gh/romis2012/tiny-proxy)\n[![PyPI version](https://badge.fury.io/py/tiny-proxy.svg)](https://pypi.python.org/pypi/tiny-proxy)\n\nSimple proxy (SOCKS4(a), SOCKS5(h), HTTP tunnel) server built with [anyio](https://github.com/agronholm/anyio).\nIt is used for testing [python-socks](https://github.com/romis2012/python-socks), [aiohttp-socks](https://github.com/romis2012/aiohttp-socks) and [httpx-socks](https://github.com/romis2012/httpx-socks) packages.\n\n## Requirements\n- Python \u003e= 3.7\n- anyio\u003e=3.6.1\n\n## Installation\n```\npip install tiny-proxy\n```\n\n## Usage\n\n```python\nimport anyio\n\nfrom tiny_proxy import Socks5ProxyHandler\n\n\nasync def main():\n    handler = Socks5ProxyHandler(username='user', password='password')\n    listener = await anyio.create_tcp_listener(local_host='127.0.0.1', local_port=1080)\n    await listener.serve(handler.handle)\n\n\nif __name__ == '__main__':\n    anyio.run(main)\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromis2012%2Ftiny-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromis2012%2Ftiny-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromis2012%2Ftiny-proxy/lists"}