{"id":21867845,"url":"https://github.com/jakbin/tor-proxy","last_synced_at":"2025-04-14T22:26:39.267Z","repository":{"id":57754694,"uuid":"527491700","full_name":"jakbin/tor-proxy","owner":"jakbin","description":" Run your any python service over tor using tor-proxy","archived":false,"fork":false,"pushed_at":"2022-08-22T15:26:26.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T12:48:32.069Z","etag":null,"topics":["hacktoberfest2022","http-proxy","onion","onion-service","proxy","proxy-server","proxychains","python","python3","stem","tor","tor-proxy","tor-socks-proxy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakbin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-22T09:16:53.000Z","updated_at":"2025-01-18T19:56:02.000Z","dependencies_parsed_at":"2022-08-22T11:30:34.636Z","dependency_job_id":null,"html_url":"https://github.com/jakbin/tor-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ftor-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ftor-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ftor-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ftor-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakbin","download_url":"https://codeload.github.com/jakbin/tor-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248970618,"owners_count":21191463,"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":["hacktoberfest2022","http-proxy","onion","onion-service","proxy","proxy-server","proxychains","python","python3","stem","tor","tor-proxy","tor-socks-proxy"],"created_at":"2024-11-28T05:10:48.518Z","updated_at":"2025-04-14T22:26:39.236Z","avatar_url":"https://github.com/jakbin.png","language":"Python","readme":"# Tor-Proxy\n\nA simple way to send your requests with tor using tor-proxy.It doesn’t interfere with other tor processes on your computer, so you can use the Tor Browser or the system tor on their own.\n\n [![PyPI version](https://badge.fury.io/py/tor-proxy.svg)](https://badge.fury.io/py/tor-proxy)\n [![Downloads](https://pepy.tech/badge/tor-proxy/month)](https://pepy.tech/project/tor-proxy)\n [![Downloads](https://static.pepy.tech/personalized-badge/tor-proxy?period=total\u0026units=international_system\u0026left_color=green\u0026right_color=blue\u0026left_text=Total%20Downloads)](https://pepy.tech/project/tor-proxy)\n ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)\n\n\n### Disclaimer:-\nUse it only for educational purpose.\n\n## Features\n- No need root permission\n- Multiple instances\n\n## Compatability\nPython 3.6+ is required.\n\n## Installation\n\n```bash\npip install tor-proxy\n```\n\n## Quickstart\n1. Import with ```from tor_proxy import tor_proxy``` .\n2. call function `tor_proxy()` , store as variable and give it as port argument in proxies.\n\n```python\n# tor_proxy_example.py\nfrom tor_proxy import tor_proxy\nimport requests\n\nport = tor_proxy()\n\nhttp_proxy  = f\"socks5h://127.0.0.1:{port}\"\nhttps_proxy = f\"socks5h://127.0.0.1:{port}\"\n\nproxies = { \n              \"http\"  : http_proxy, \n              \"https\" : https_proxy, \n            }\n\nurl = \"https://api.ipify.org\"\n\nr = requests.get(url, proxies=proxies)\n\nprint(r.text)\n```\n\n### Credit :- [onionshare](https://github.com/onionshare/onionshare)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Ftor-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakbin%2Ftor-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Ftor-proxy/lists"}