Native inet_pton and inet_ntop implementation for Python on Windows (with ctypes).
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
win_inet_pton-1.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file win_inet_pton-1.1.0.tar.gz
.
File metadata
- Download URL: win_inet_pton-1.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd03d942c0d3e2b1cf8bab511844546dfa5f74cb61b241699fa379ad707dea4f |
|
MD5 | d8d7a7d90829ea93a0ddf03a552e767a |
|
BLAKE2b-256 | d9da0b1487b5835497dea00b00d87c2aca168bb9ca2e2096981690239e23760a |
File details
Details for the file win_inet_pton-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: win_inet_pton-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf0193cbe7152ac313598a0da7313fb479f769343c0c16c5308f64887dc885b |
|
MD5 | aa16c3f7610c730c5b507ba6a23042cf |
|
BLAKE2b-256 | be31ff772a44aa56319df8afbb0b34f1a856f66f05b9d5f1fed917849e47fdae |