BSD Ports

net/py-python-socks 3.0.0 NetBSD

Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5a473e39c8
License
apache-2.0
Categories
net, python
Package size
64.2 KiB, 449.6 KiB installed

Description

The python-socks package provides a core proxy client functionality for Python. Supports SOCKS4(a), SOCKS5, HTTP (tunneling) proxy and provides sync and async (asyncio, trio, curio) APIs. You probably don't need to use python-socks directly. It is used internally by aiohttp-socks and httpx-socks packages.

In the other systems

SystemPortVersion
NetBSDnet/py-python-socks3.0.0
FreeBSDnet/py-python-socks3.1.1
OpenBSDnet/py-python-socks3.1.1
DragonFlynet/py-python-socks2.7.1
MidnightBSDnet/py-python-socks2.1.1_1

Install

Binary package:

pkgin install py311-python-socks

From pkgsrc:

cd /usr/pkgsrc/net/py-python-socks && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-python-socks-3.0.0, py313-python-socks-3.0.0, py314-python-socks-3.0.0

Commit history 2

DateCommitCreditsLog message
5a473e39c8 adam py-python-socks: updated to 3.1.1
3.1.1 Unknown changes
58429debb4 adam py-python-socks: updated to 3.0.0
3.0.0 Breaking Changes Drop Python 3.8 support: The minimum required Python version is now 3.9+. Remove Curio support: The curio asynchronous backend has been completely removed. Change AnyIO Proxy.connect return type: The connect method now returns a native anyio.abc.SocketStream instead of a custom wrapper. Features Add proxy chaining support: Introduced an optional forward parameter to the __init__ method of all Proxy classes to enable chaining. Refactoring & Clean Up Remove deprecated proxy chains: Deleted the legacy, deprecated implementation of proxy chaining. Typing & Quality Full mypy type-checking support: The entire codebase is now strictly type-annotated and fully compliant with mypy.