Skip to main content

Native inet_pton and inet_ntop implementation for Python on Windows (with ctypes).

Project description

Native inet_pton and inet_ntop implementation for Python on Windows (with ctypes).

Credit Where Credit Is Due

This package is based on code that was originally written by https://github.com/nnemkin here: https://gist.github.com/nnemkin/4966028

Why?

I needed this functionality in https://github.com/SerenitySoftwareLLC/cahoots to get full windows support. I figured, since there were other people looking for a solution to this on the net, I should publish it.

Usage

Just import it, and it will auto-add the methods to the socket library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for win-inet-pton, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size win_inet_pton-1.0.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page