Skip to main content
modify, publish, use, compile, sell, or distribute this software,
either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.

Description: win_inet_pton
=============

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
-----

.. code-block:: bash

python -m pip install win_inet_pton

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

.. code-block:: python

import win_inet_pton
import socket

socket.inet_pton(...)
socket.inet_ntop(...)

License
-------

This software released into the public domain. Anyone is free to copy,
modify, publish, use, compile, sell, or distribute this software,
either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.

Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Operating System :: Microsoft :: Windows
Classifier: License :: Public Domain
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Utilities

Metadata

Release files for win-inet-pton 1.1.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 win-inet-pton 1.1.0
File Size Uploaded
win_inet_pton-1.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for win-inet-pton 1.1.0
File Interpreter ABI Platform
win_inet_pton-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 7.8 kB

Release files / win_inet_pton-1.1.0.tar.gz

Download URL win_inet_pton-1.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dd03d942c0d3e2b1cf8bab511844546dfa5f74cb61b241699fa379ad707dea4f
BLAKE2b-256 checksum
How to use checksums
d9da0b1487b5835497dea00b00d87c2aca168bb9ca2e2096981690239e23760a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/2.7.15

Release files / win_inet_pton-1.1.0-py2.py3-none-any.whl

Download URL win_inet_pton-1.1.0-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eaf0193cbe7152ac313598a0da7313fb479f769343c0c16c5308f64887dc885b
BLAKE2b-256 checksum
How to use checksums
be31ff772a44aa56319df8afbb0b34f1a856f66f05b9d5f1fed917849e47fdae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

1 release file

1.0.0

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