Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Introduction

Ermes is a socks5 implementation for Python (3.X only), the usage is quite straightforward.

from ermes import Socks5Proxy, Socks5Error
import socket

proxy = Socks5Proxy(("the.host.of.proxy", 1080),
    username="the username no more than 255 chars or None",
    password="the password no more than 255 chars or None",
    remote_dns=True)
sock = socket.socket()
# use proxy.connect(sock, address)
# instead of sock.connect(address),
proxy.connect(sock, ("the.remote.host", 80))

# just do anything like a usual socket with `sock`

Limitations

  • Authentication support is limited, only 0x00 (No auth) and 0x02 (username/password) is supported

  • Only command code 0x01 (TCP/IP stream) is supported

  • No IPv6 support

  • SOCKS5 only

Release files for Ermes 0.1a

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

Source distribution (sdist)

Source distribution for Ermes 0.1a
File Size Uploaded
Ermes-0.1a.tar.gz 2.7 kB Details

Release files / Ermes-0.1a.tar.gz

Download URL Ermes-0.1a.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
66417726609e25329f4b4e2ae9f69d274c021e712dbac46928d1dc3b3ddae030
BLAKE2b-256 checksum
How to use checksums
937c68df71f9ebcc845807d222cf7c752dfc110857a8bf779f3bd9b231e6411c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1a This release

1 release file

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