Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

UnityProxy-0.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file unityproxy-0.0.1.tar.gz.

File metadata

  • Download URL: unityproxy-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for unityproxy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9d51e39267595c5a57c1ebb38a459d9a069640bd622fbd11bba708ee94e44fcb
MD5 d0b8ce4f531d4e79cdf57119b7e5afcd
BLAKE2b-256 07cf4636a19423697e14ac5d1c99f63e5b343bbda8d1228953b13c2ecc5e9ec7

See more details on using hashes here.

File details

Details for the file UnityProxy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: UnityProxy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for UnityProxy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 861e89832f7744e9d63b8796c98586b113b4beb97d14c42f66dc15e514d941d1
MD5 822938484cb3f65a6e5e67c9fed88176
BLAKE2b-256 4704596ceba74f7ae2ecfc623f60f1118ed0d50f3fd88989cf65cbf480838aad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page