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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zc.parse_addr-1.0.0.tar.gz
(1.8 kB
view details)
File details
Details for the file zc.parse_addr-1.0.0.tar.gz.
File metadata
- Download URL: zc.parse_addr-1.0.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a96ab2a3b36808659275fca625fcefae2a7ff2c49cd65b3dff05fd6b6e1063fa
|
|
| MD5 |
f1fc2b9fbaa8362039b30adbd20e07f9
|
|
| BLAKE2b-256 |
835ab51ba843011492e04d94047c3bbc0918ecf48671eed969bad01151cc5ee5
|