Skip to main content

Parse network addresses of the form: HOST:PORT

>>> import zc.parse_addr
>>> zc.parse_addr.parse_addr('1.2.3.4:56')
('1.2.3.4', 56)

It would be great if this little utility function was part of the socket module.

Release files for zc.parse_addr 1.0.0

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

Source distribution (sdist)

Source distribution for zc.parse_addr 1.0.0
File Size Uploaded
zc.parse_addr-1.0.0.tar.gz 1.8 kB Details

Release files / zc.parse_addr-1.0.0.tar.gz

Download URL zc.parse_addr-1.0.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a96ab2a3b36808659275fca625fcefae2a7ff2c49cd65b3dff05fd6b6e1063fa
BLAKE2b-256 checksum
How to use checksums
835ab51ba843011492e04d94047c3bbc0918ecf48671eed969bad01151cc5ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 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