Skip to main content

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

Metadata

Release files for UnityProxy 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UnityProxy 0.0.1
File Size Uploaded
unityproxy-0.0.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for UnityProxy 0.0.1
File Interpreter ABI Platform
UnityProxy-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / unityproxy-0.0.1.tar.gz

Download URL unityproxy-0.0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d51e39267595c5a57c1ebb38a459d9a069640bd622fbd11bba708ee94e44fcb
BLAKE2b-256 checksum
How to use checksums
07cf4636a19423697e14ac5d1c99f63e5b343bbda8d1228953b13c2ecc5e9ec7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release files / UnityProxy-0.0.1-py3-none-any.whl

Download URL UnityProxy-0.0.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
861e89832f7744e9d63b8796c98586b113b4beb97d14c42f66dc15e514d941d1
BLAKE2b-256 checksum
How to use checksums
4704596ceba74f7ae2ecfc623f60f1118ed0d50f3fd88989cf65cbf480838aad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page