Proxy parser and converter
Project description
Unity Proxy
This tool will allow you to quickly start using proxies in your projects. The main task of this library is to solve problems of parsing proxies of different formats and their subsequent conversion to the required format.
Install
From PYPI
pip install unityproxy
Using
Import
from unityproxy import UnityProxy
unity = UnityProxy()
Parse
unity.from_.txt_file("proxies.txt", "http")
unity.from_.json_file("proxies.json", "http")
Convert
unity.to.list()
unity.to.queue()
Iter
proxy: unityproxy.Proxy = unity[0]
for proxy in unity:
proxy: unityproxy.Proxy
Convert proxy
Create enhancement issue to add new conver
prx.to.aiohttp_line()
prx.to.httpx_dict()
prx.to.httpx_line()
prx.to.pyrogram()
prx.to.telethon()
prx.to.requests()
# etc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unityproxy-0.0.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for UnityProxy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861e89832f7744e9d63b8796c98586b113b4beb97d14c42f66dc15e514d941d1 |
|
MD5 | 822938484cb3f65a6e5e67c9fed88176 |
|
BLAKE2b-256 | 4704596ceba74f7ae2ecfc623f60f1118ed0d50f3fd88989cf65cbf480838aad |