luckylucy.utils.network 1.85rc1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# /// script
|
|
3
|
+
# requires-python = ">=2.7"
|
|
4
|
+
# dependencies = [
|
|
5
|
+
# "luckylucy.utils.compat",
|
|
6
|
+
# ]
|
|
7
|
+
# ///
|
|
8
|
+
from ..compat import py3
|
|
9
|
+
|
|
10
|
+
__author__ = 'luckydonald'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
if py3:
|
|
14
|
+
def binary_ip_to_str(host):
|
|
15
|
+
return ".".join([str(x) for x in host])
|
|
16
|
+
else:
|
|
17
|
+
def binary_ip_to_str(host):
|
|
18
|
+
return ".".join([str(ord(x)) for x in host])
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: luckylucy.utils.network
|
|
3
|
+
Version: 1.85.pre1
|
|
4
|
+
Summary: A collection of utilities I use across different projects (luckylucy.utils.network)
|
|
5
|
+
Project-URL: Homepage, https://github.com/luckydonald/luckylucy.utils
|
|
6
|
+
Project-URL: Changelog, https://github.com/luckydonald/luckylucy.utils/blob/HEAD/CHANGELOG.md
|
|
7
|
+
Author-email: luckylucy <luckylucy.utils._.code@luckydonald.de>
|
|
8
|
+
License-Expression: GPL-2.0-or-later
|
|
9
|
+
Requires-Python: >=2.7
|
|
10
|
+
Requires-Dist: luckylucy-utils-compat==1.85.pre1
|
|
11
|
+
Requires-Dist: luckylucy-utils-network-mod-wsgi==1.85.pre1
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# luckylucy.utils.network 1.85.pre1
|
|
15
|
+
|
|
16
|
+
A collection of utilities I use across different projects, part of [luckylucy.utils](https://github.com/luckydonald/luckylucy.utils).
|
|
17
|
+
|
|
18
|
+
## Requirements
|
|
19
|
+
|
|
20
|
+
- `luckylucy.utils.compat==1.85.pre1`
|
|
21
|
+
- `luckylucy.utils.network.mod_wsgi==1.85.pre1`
|
|
22
|
+
|
|
23
|
+
- [Changes in 1.85.pre1](https://github.com/luckydonald/luckylucy.utils/releases/tag/v1.85.pre1)
|
|
24
|
+
- [Changelog](https://github.com/luckydonald/luckylucy.utils/blob/HEAD/CHANGELOG.md)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
luckylucy/utils/network/__init__.py,sha256=1Hhe3uqTDxEkpk0FRm7o79P6eKFCPHXAAn7hB4NLVyo,134
|
|
2
|
+
luckylucy/utils/network/ip.py,sha256=cK2LAzVE9cJx-_lEDY1a9gIbIFzsNhDVMGZlopqJ5jE,359
|
|
3
|
+
luckylucy_utils_network-1.85rc1.dist-info/METADATA,sha256=SWKePzLdaNTqeg9LApPzhWjrdUDy6Xcvee3K5XXjqTY,1059
|
|
4
|
+
luckylucy_utils_network-1.85rc1.dist-info/WHEEL,sha256=K_1GFnQyJknHy845BKcqIEBshHiHkrbA-n3al-vZCiY,105
|
|
5
|
+
luckylucy_utils_network-1.85rc1.dist-info/RECORD,,
|