easy_whitelist 1.0.2__tar.gz → 1.0.4__tar.gz
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.
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/PKG-INFO +3 -6
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/README.md +0 -4
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/__init__.py +1 -1
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/easy.py +3 -3
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/pyproject.toml +5 -2
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/setup.py +2 -2
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/.gitignore +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/CODE_OF_CONDUCT.md +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/LICENSE +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/SECURITY.md +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/config/__init__.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/config/arg.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/ip/__init__.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/ip/agent.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/ip/ip.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/ip/pattern.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/ip/url.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/tcloud/__init__.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/tcloud/client.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/easy_whitelist/tcloud/template.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/__init__.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/aa.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/common_client_sample.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/memo.md +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/sample.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/test.py +0 -0
- {easy_whitelist-1.0.2 → easy_whitelist-1.0.4}/sample/test2.py +0 -0
@@ -1,11 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: easy_whitelist
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.4
|
4
4
|
Summary: Easy_whitelist is a small tool that detects the local Internet IP address and automatically updates the local Internet IP address to the cloud security group whitelist.
|
5
5
|
Author: qiqilelebaobao
|
6
6
|
Author-email: qiqilelebaobao <qiqilelebaobao@163.com>
|
7
7
|
Description-Content-Type: text/markdown
|
8
|
-
Classifier: License :: OSI Approved ::
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
9
|
+
Requires-Dist: tencentcloud-sdk-python
|
9
10
|
Project-URL: Homepage, https://github.com/qiqilelebaobao/easy_whitelist
|
10
11
|
|
11
12
|
# Easy_whitelist
|
@@ -39,10 +40,6 @@ Main functions include:
|
|
39
40
|
需要 Python3 环境
|
40
41
|
Python3 is required
|
41
42
|
|
42
|
-
```shell
|
43
|
-
$ pip3 install -i https://mirrors.tencent.com/pypi/simple/ --upgrade tencentcloud-sdk-python
|
44
|
-
```
|
45
|
-
|
46
43
|
## 使用说明 Instructions
|
47
44
|
|
48
45
|
```shell
|
@@ -3,7 +3,7 @@ r"""Easy_whitelist is a small tool that detects the local Internet IP address an
|
|
3
3
|
Reference: https://github.com/qiqilelebabao/easy_whitelist
|
4
4
|
The tool is written in Python.
|
5
5
|
"""
|
6
|
-
__version__ = '1.0.
|
6
|
+
__version__ = '1.0.4'
|
7
7
|
__author__ = 'qiqileleabaobao <qiqilelebaobao@163.com>'
|
8
8
|
|
9
9
|
__all__ = []
|
@@ -7,9 +7,9 @@ import pprint
|
|
7
7
|
import string
|
8
8
|
import sys
|
9
9
|
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
10
|
+
from easy_whitelist.config import arg
|
11
|
+
from easy_whitelist.tcloud import client
|
12
|
+
from easy_whitelist.tcloud.template import list_template, set_template, create_template
|
13
13
|
|
14
14
|
def loop_list(common_client):
|
15
15
|
template_ids = list_template(common_client)
|
@@ -6,9 +6,12 @@ build-backend = "flit_core.buildapi"
|
|
6
6
|
name = "easy_whitelist"
|
7
7
|
authors = [{name = "qiqilelebaobao", email = "qiqilelebaobao@163.com"},{name = "qiqilelebaobao"}]
|
8
8
|
readme = "README.md"
|
9
|
-
license = {text = "MIT License"}
|
10
|
-
classifiers = ["License :: OSI Approved ::
|
9
|
+
license = {text = "MIT License 1.0"}
|
10
|
+
classifiers = ["License :: OSI Approved :: MIT License"]
|
11
11
|
dynamic = ["version", "description"]
|
12
|
+
dependencies = [
|
13
|
+
"tencentcloud-sdk-python",
|
14
|
+
]
|
12
15
|
|
13
16
|
[project.urls]
|
14
17
|
Homepage = "https://github.com/qiqilelebaobao/easy_whitelist"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import os
|
4
4
|
from setuptools import setup, find_packages
|
5
5
|
|
6
|
-
import
|
6
|
+
import easy_whitelist
|
7
7
|
|
8
8
|
# ROOT = os.path.dirname(__file__)
|
9
9
|
|
@@ -18,7 +18,7 @@ setup(
|
|
18
18
|
author='qiqilelebaobao',
|
19
19
|
author_email='qiqilelebaobao@163.com',
|
20
20
|
maintainer_email="qiqilelebaobao@163.com",
|
21
|
-
version=
|
21
|
+
version=easy_whitelist.__version__,
|
22
22
|
url='https://baidu.com',
|
23
23
|
scripts=[],
|
24
24
|
license="Apache License 2.0",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|