Install & Compatibility
Where this runs
tested against v1.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
inject_into_socket
✓ from win_inet_pton import inject_into_socket
✗ from win_inet_pton import inet_pton
Monkey-patches socket module on Windows so inet_pton and inet_ntop work the same as on Unix.
import socket
from win_inet_pton import inet_pton, inet_ntop
# Monkey-patch socket module to add missing functions on Windows
socket.inet_pton = inet_pton
socket.inet_ntop = inet_ntop
# Now you can use inet_pton and inet_ntop directly via socket
print(socket.inet_pton(socket.AF_INET, '8.8.8.8'))
Upgrade
Version history
1.1.0latest on PyPI · released Feb 19, 2019
Audit
Dependencies
No dependency data recorded yet.