ddns 3.1.4__py2.py3-none-any.whl → 3.1.6__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.
Potentially problematic release.
This version of ddns might be problematic. Click here for more details.
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/METADATA +9 -2
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/RECORD +8 -8
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/WHEEL +1 -1
- run.py +3 -3
- util/cache.py +4 -3
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/entry_points.txt +0 -0
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/licenses/LICENSE +0 -0
- {ddns-3.1.4.dist-info → ddns-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ddns
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.6
|
|
4
4
|
Summary: automatically update DNS records to dynamic local IP [自动更新DNS记录指向本地IP]
|
|
5
5
|
Home-page: https://ddns.newfuture.cc
|
|
6
6
|
Author: NewFuture
|
|
@@ -12,8 +12,15 @@ Keywords: ddns ipv6 ipv4 dns dnspod alidns cloudflare
|
|
|
12
12
|
Platform: any
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier:
|
|
15
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
16
|
+
Classifier: Intended Audience :: Information Technology
|
|
17
|
+
Classifier: Intended Audience :: System Administrators
|
|
18
|
+
Classifier: Topic :: Internet
|
|
19
|
+
Classifier: Topic :: Internet :: Name Service (DNS)
|
|
20
|
+
Classifier: Topic :: System :: Networking
|
|
21
|
+
Classifier: Topic :: Software Development
|
|
16
22
|
Classifier: License :: OSI Approved :: MIT License
|
|
23
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
17
24
|
Classifier: Programming Language :: Python :: 3
|
|
18
25
|
Requires-Python: >=2.5, <4
|
|
19
26
|
Description-Content-Type: text/markdown
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
run.py,sha256=
|
|
2
|
-
ddns-3.1.
|
|
1
|
+
run.py,sha256=2SjiqPYKiiTFff4fYB__OP8XqYXtgdO3vwLYLSe76Jo,6075
|
|
2
|
+
ddns-3.1.6.dist-info/licenses/LICENSE,sha256=MI-ECjp-Vl7WZLiSPY6r5VwrOReNiICVB1QCXiUGt_s,1111
|
|
3
3
|
dns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
dns/alidns.py,sha256=qA1jm6qYxuLHYWVlCkHOizP7EisCXwSndqKibu_0CbM,5788
|
|
5
5
|
dns/callback.py,sha256=gVszmwu2OENYXJKEz1ay1v0H03fBO-REZdwBcxn490U,3214
|
|
@@ -10,11 +10,11 @@ dns/dnspod_com.py,sha256=9DW7Oz1f2fYSLDDGdwQKMp9OhRJ_CYB8bfzGhf0fIMI,339
|
|
|
10
10
|
dns/he.py,sha256=iSB9XWAIq_njYbudHpIrI0CZTuxQb46b0ungTVvenNk,2148
|
|
11
11
|
dns/huaweidns.py,sha256=MeVTFwLAT6Y0AiDo-6vMUVcBFKxyV5sYJYpvSv_Mw1o,8753
|
|
12
12
|
util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
util/cache.py,sha256=
|
|
13
|
+
util/cache.py,sha256=NBzQ2JzrbqjbIsFzE0V-sPi7Ds9Oxos9m0JQDsUnAA8,3343
|
|
14
14
|
util/config.py,sha256=8zvjdYEzQF7XaQHG7tyjXl6JBAHcOhl9ARCFQkcBeJs,4774
|
|
15
15
|
util/ip.py,sha256=IZDcxOeY6IYrrRJbgxfDtA_Ibb842hbTTwW4yhhydyg,3842
|
|
16
|
-
ddns-3.1.
|
|
17
|
-
ddns-3.1.
|
|
18
|
-
ddns-3.1.
|
|
19
|
-
ddns-3.1.
|
|
20
|
-
ddns-3.1.
|
|
16
|
+
ddns-3.1.6.dist-info/METADATA,sha256=MYy_n6PVL5c2Ogj1TXBwXPpxw3Z4lKr7q1lfLyn2fVs,13841
|
|
17
|
+
ddns-3.1.6.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
18
|
+
ddns-3.1.6.dist-info/entry_points.txt,sha256=vpxxBE6Kepc-SHatr-FRRLmZecrTupYejyDB8ovJbLg,34
|
|
19
|
+
ddns-3.1.6.dist-info/top_level.txt,sha256=dS3_ClQTIG1ousHykZ1P3AzQa-MKq4jT_rbm21D-KxE,13
|
|
20
|
+
ddns-3.1.6.dist-info/RECORD,,
|
run.py
CHANGED
|
@@ -18,7 +18,7 @@ from util import ip
|
|
|
18
18
|
from util.cache import Cache
|
|
19
19
|
from util.config import init_config, get_config
|
|
20
20
|
|
|
21
|
-
__version__ = "v3.1.
|
|
21
|
+
__version__ = "v3.1.6@2025-05-29T16:18:28+00:00" # CI 时会被Tag替换
|
|
22
22
|
__description__ = "automatically update DNS records to dynamic local IP [自动更新DNS记录指向本地IP]"
|
|
23
23
|
__doc__ = """
|
|
24
24
|
ddns[%s]
|
|
@@ -27,7 +27,7 @@ ddns[%s]
|
|
|
27
27
|
Copyright (c) New Future (MIT License)
|
|
28
28
|
""" % (__version__)
|
|
29
29
|
|
|
30
|
-
environ["DDNS_VERSION"] = "v3.1.
|
|
30
|
+
environ["DDNS_VERSION"] = "v3.1.6"
|
|
31
31
|
|
|
32
32
|
if getattr(sys, 'frozen', False):
|
|
33
33
|
# https://github.com/pyinstaller/pyinstaller/wiki/Recipe-OpenSSL-Certificate
|
|
@@ -43,7 +43,7 @@ def get_ip(ip_type, index="default"):
|
|
|
43
43
|
# EN: Catch exceptions
|
|
44
44
|
value = None
|
|
45
45
|
try:
|
|
46
|
-
debug(
|
|
46
|
+
debug("get_ip(%s, %s)", ip_type, index)
|
|
47
47
|
if index is False: # disabled
|
|
48
48
|
return False
|
|
49
49
|
elif type(index) is list: # 如果获取到的规则是列表,则依次判断列表中每一个规则,直到找到一个可以正确获取到的IP
|
util/cache.py
CHANGED
|
@@ -12,10 +12,11 @@ from time import time
|
|
|
12
12
|
from logging import info, debug, warning
|
|
13
13
|
|
|
14
14
|
try:
|
|
15
|
-
|
|
16
|
-
except ImportError:
|
|
17
|
-
# Python 2 imports
|
|
15
|
+
# Python 2
|
|
18
16
|
from collections import MutableMapping
|
|
17
|
+
except ImportError:
|
|
18
|
+
# python3
|
|
19
|
+
from collections.abc import MutableMapping
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
class Cache(MutableMapping):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|