pytbox 0.0.9__py3-none-any.whl → 0.1.1__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 pytbox might be problematic. Click here for more details.
- pytbox/base.py +19 -3
- pytbox/categraf/build_config.py +99 -42
- pytbox/categraf/instances.toml +22 -2
- pytbox/categraf/jinja2/input.dns_query/dns_query.toml.j2 +12 -0
- pytbox/categraf/jinja2/input.net_response/net_response.toml.j2 +9 -0
- pytbox/categraf/jinja2/input.snmp/cisco_interface.toml.j2 +96 -0
- pytbox/categraf/jinja2/input.snmp/cisco_system.toml.j2 +41 -0
- pytbox/categraf/jinja2/input.snmp/h3c_interface.toml.j2 +96 -0
- pytbox/categraf/jinja2/input.snmp/h3c_system.toml.j2 +41 -0
- pytbox/categraf/jinja2/input.snmp/huawei_interface.toml.j2 +96 -0
- pytbox/categraf/jinja2/input.snmp/huawei_system.toml.j2 +41 -0
- pytbox/categraf/jinja2/input.snmp/ruijie_interface.toml.j2 +96 -0
- pytbox/categraf/jinja2/input.snmp/ruijie_system.toml.j2 +41 -0
- pytbox/mail/alimail.py +129 -0
- pytbox/mail/client.py +221 -0
- pytbox/network/meraki.py +169 -0
- pytbox/win/ad.py +30 -0
- {pytbox-0.0.9.dist-info → pytbox-0.1.1.dist-info}/METADATA +4 -3
- {pytbox-0.0.9.dist-info → pytbox-0.1.1.dist-info}/RECORD +22 -10
- {pytbox-0.0.9.dist-info → pytbox-0.1.1.dist-info}/WHEEL +0 -0
- {pytbox-0.0.9.dist-info → pytbox-0.1.1.dist-info}/entry_points.txt +0 -0
- {pytbox-0.0.9.dist-info → pytbox-0.1.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytbox
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A collection of Python integrations and utilities (Feishu, Dida365, VictoriaMetrics, ...)
|
|
5
5
|
Author-email: mingming hou <houm01@foxmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,15 +13,16 @@ Requires-Dist: loguru>=0.7.3
|
|
|
13
13
|
Requires-Dist: chinese_calendar>=1.10.0
|
|
14
14
|
Requires-Dist: click>=8.0.0
|
|
15
15
|
Requires-Dist: rich>=12.0.0
|
|
16
|
+
Requires-Dist: jinja2>=3.0.0
|
|
17
|
+
Requires-Dist: toml>=0.10.0
|
|
18
|
+
Requires-Dist: ldap3>=2.9.1
|
|
16
19
|
Provides-Extra: dev
|
|
17
20
|
Requires-Dist: pytest; extra == "dev"
|
|
18
21
|
Requires-Dist: black; extra == "dev"
|
|
19
22
|
Requires-Dist: ruff; extra == "dev"
|
|
20
23
|
Requires-Dist: python-dotenv; extra == "dev"
|
|
21
24
|
Provides-Extra: cli
|
|
22
|
-
Requires-Dist: jinja2>=3.0.0; extra == "cli"
|
|
23
25
|
Requires-Dist: pyyaml>=6.0; extra == "cli"
|
|
24
|
-
Requires-Dist: toml>=0.10.0; extra == "cli"
|
|
25
26
|
|
|
26
27
|
# PytBox
|
|
27
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pytbox/base.py,sha256=
|
|
1
|
+
pytbox/base.py,sha256=rt2vs_h6bLXggnXp6WTywEBgq_Wg0-hdTEG5BzxPJWU,2116
|
|
2
2
|
pytbox/cli.py,sha256=N775a0GK80IT2lQC2KRYtkZpIiu9UjavZmaxgNUgJhQ,160
|
|
3
3
|
pytbox/dida365.py,sha256=pUMPB9AyLZpTTbaz2LbtzdEpyjvuGf4YlRrCvM5sbJo,10545
|
|
4
4
|
pytbox/onepassword_connect.py,sha256=nD3xTl1ykQ4ct_dCRRF138gXCtk-phPfKYXuOn-P7Z8,3064
|
|
@@ -6,19 +6,27 @@ pytbox/onepassword_sa.py,sha256=08iUcYud3aEHuQcUsem9bWNxdXKgaxFbMy9yvtr-DZQ,6995
|
|
|
6
6
|
pytbox/alert/alert_handler.py,sha256=FePPQS4LyGphSJ0QMv0_pLWaXxEqsRlcTKMfUjtsNfk,5048
|
|
7
7
|
pytbox/alert/ping.py,sha256=g36X0U3U8ndZqfpVIcuoxJJ0X5gST3I_IwjTQC1roHA,779
|
|
8
8
|
pytbox/alicloud/sls.py,sha256=UR4GdI86dCKAFI2xt_1DELu7q743dpd3xrYtuNpfC5A,4065
|
|
9
|
-
pytbox/categraf/build_config.py,sha256=
|
|
10
|
-
pytbox/categraf/instances.toml,sha256=
|
|
9
|
+
pytbox/categraf/build_config.py,sha256=Php9Y0K_5RBr3jtgZuJYaBVpx0Uo-kXK9VvCNQkQR_Q,6541
|
|
10
|
+
pytbox/categraf/instances.toml,sha256=Nq3yQIeCa2fZw4jr1g9B9WjUexiURk0tK02SHPwTei0,1193
|
|
11
11
|
pytbox/categraf/jinja2/__init__.py,sha256=Epm01j8Oujeg4Sk5GgHMvgKIZ6h3BTx-MGmuMgIjUMo,150
|
|
12
12
|
pytbox/categraf/jinja2/input.cpu/cpu.toml.j2,sha256=wxpyLDNvz2ViZK-0a4EgH35Zsg82CwMwijOtT0nBfTI,92
|
|
13
13
|
pytbox/categraf/jinja2/input.disk/disk.toml.j2,sha256=kOWwVF6u7x2huLVa4eBIOhC8R13DXmw0PD9o3HXwEZo,420
|
|
14
14
|
pytbox/categraf/jinja2/input.diskio/diskio.toml.j2,sha256=33E4L1mkUkJOocUsSgpW5zoFCzvx5ogfbnm2jkwzLx8,227
|
|
15
|
-
pytbox/categraf/jinja2/input.dns_query/dns_query.toml.j2,sha256
|
|
15
|
+
pytbox/categraf/jinja2/input.dns_query/dns_query.toml.j2,sha256=-oMkIMtCg4zq_oGENrm9aUzUzVkWmgxPSrGlwo2k2Pc,461
|
|
16
16
|
pytbox/categraf/jinja2/input.http_response/http_response.toml.j2,sha256=Qp1EOxx7TC7_cH69KqMVwbfCKrD5xbbVO2drVdkvo6s,317
|
|
17
17
|
pytbox/categraf/jinja2/input.mem/mem.toml.j2,sha256=_-qJyE0K_76IMehbN1xq1hi9vY1Y1Jp4TuITzaLjCg4,116
|
|
18
18
|
pytbox/categraf/jinja2/input.net/net.toml.j2,sha256=yodVoT1f7bcuNMFFmAvc7WhORUsTnM92IhpWQHXfY_U,279
|
|
19
|
-
pytbox/categraf/jinja2/input.net_response/net_response.toml.j2,sha256=
|
|
19
|
+
pytbox/categraf/jinja2/input.net_response/net_response.toml.j2,sha256=Qp1EOxx7TC7_cH69KqMVwbfCKrD5xbbVO2drVdkvo6s,317
|
|
20
20
|
pytbox/categraf/jinja2/input.ping/ping.toml.j2,sha256=UCRy_IVoI_FDQxfsDpGS-aZJasFG1sf67ScN9U8YVIo,344
|
|
21
21
|
pytbox/categraf/jinja2/input.prometheus/prometheus.toml.j2,sha256=6ax30L1sAUreojlzf0v26GzOAiheCP0Lj7n5IIjgco0,384
|
|
22
|
+
pytbox/categraf/jinja2/input.snmp/cisco_interface.toml.j2,sha256=pamihAFrsnoKgeR6gw6i7fJYX9VnNmxiRcBdYnRsy9Y,1930
|
|
23
|
+
pytbox/categraf/jinja2/input.snmp/cisco_system.toml.j2,sha256=W0zYf1OZ_oil8n9Pe1Bhl3NtVJQPvLETv6GAp1sRVl0,914
|
|
24
|
+
pytbox/categraf/jinja2/input.snmp/h3c_interface.toml.j2,sha256=pamihAFrsnoKgeR6gw6i7fJYX9VnNmxiRcBdYnRsy9Y,1930
|
|
25
|
+
pytbox/categraf/jinja2/input.snmp/h3c_system.toml.j2,sha256=W0zYf1OZ_oil8n9Pe1Bhl3NtVJQPvLETv6GAp1sRVl0,914
|
|
26
|
+
pytbox/categraf/jinja2/input.snmp/huawei_interface.toml.j2,sha256=pamihAFrsnoKgeR6gw6i7fJYX9VnNmxiRcBdYnRsy9Y,1930
|
|
27
|
+
pytbox/categraf/jinja2/input.snmp/huawei_system.toml.j2,sha256=W0zYf1OZ_oil8n9Pe1Bhl3NtVJQPvLETv6GAp1sRVl0,914
|
|
28
|
+
pytbox/categraf/jinja2/input.snmp/ruijie_interface.toml.j2,sha256=pamihAFrsnoKgeR6gw6i7fJYX9VnNmxiRcBdYnRsy9Y,1930
|
|
29
|
+
pytbox/categraf/jinja2/input.snmp/ruijie_system.toml.j2,sha256=W0zYf1OZ_oil8n9Pe1Bhl3NtVJQPvLETv6GAp1sRVl0,914
|
|
22
30
|
pytbox/categraf/jinja2/input.vsphere/vsphere.toml.j2,sha256=7SCo8DSh5Uuy-7MeWw-soy6sqblK54k6K2WWSlimELk,8396
|
|
23
31
|
pytbox/cli/__init__.py,sha256=5ID4-oXrMsHFcfDsQeXDYeThPOuQ1Fl2x2kHWfgfOEw,67
|
|
24
32
|
pytbox/cli/main.py,sha256=S-DBp-1d0BCpvZ7jRE3bYmhKSiPpCJHFGsbdVF485BY,322
|
|
@@ -39,14 +47,18 @@ pytbox/feishu/helpers.py,sha256=jhSkHiUw4822QBXx2Jw8AksogZdakZ-3QqvC3lB3qEI,201
|
|
|
39
47
|
pytbox/feishu/typing.py,sha256=3hWkJgOi-v2bt9viMxkyvNHsPgrbAa0aZOxsZYg2vdM,122
|
|
40
48
|
pytbox/log/logger.py,sha256=7ZisXRxLb_MVbIqlYHWoTbj1EA0Z4G5SZvITlt1IKW8,7416
|
|
41
49
|
pytbox/log/victorialog.py,sha256=gffEiq38adv9sC5oZeMcyKghd3SGfRuqtZOFuqHQF6E,4139
|
|
50
|
+
pytbox/mail/alimail.py,sha256=ap6K6kmKTjqbHlfecYBi-EZtOY1iQ8tCilP8oqUz21Q,4621
|
|
51
|
+
pytbox/mail/client.py,sha256=zr51tW3URhaA1EzrXZ85Go3QIHGz_0aMszmGSFcJFLk,9065
|
|
52
|
+
pytbox/network/meraki.py,sha256=054E3C5KzAuXs9aPalvdAOUo6Hc5aOKZSWUaVbPquy4,6112
|
|
42
53
|
pytbox/utils/env.py,sha256=jO_-BKbGuDU7lIL9KYkcxGCzQwTXfxD4mIYtSAjREmI,622
|
|
43
54
|
pytbox/utils/load_config.py,sha256=wNCDPLH7xet5b9pUlTz6VsBejRsJZ7LP85wWMaITBYg,3042
|
|
44
55
|
pytbox/utils/ping_checker.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
45
56
|
pytbox/utils/response.py,sha256=kXjlwt0WVmLRam2eu1shzX2cQ7ux4cCQryaPGYwle5g,1247
|
|
46
57
|
pytbox/utils/richutils.py,sha256=OT9_q2Q1bthzB0g1GlhZVvM4ZAepJRKL6a_Vsr6vEqo,487
|
|
47
58
|
pytbox/utils/timeutils.py,sha256=XbK2KB-SVi7agNqoQN7i40wysrZvrGuwebViv1Cw-Ok,20226
|
|
48
|
-
pytbox
|
|
49
|
-
pytbox-0.
|
|
50
|
-
pytbox-0.
|
|
51
|
-
pytbox-0.
|
|
52
|
-
pytbox-0.
|
|
59
|
+
pytbox/win/ad.py,sha256=-3pWfL3dElz-XoO4j4M9lrgu3KJtlhrS9gCWJBpafAU,1147
|
|
60
|
+
pytbox-0.1.1.dist-info/METADATA,sha256=0MJBLQ3fP2OlkoGgdLPtZjmryaB8vDZ2-YbzO3f9mt4,6252
|
|
61
|
+
pytbox-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
62
|
+
pytbox-0.1.1.dist-info/entry_points.txt,sha256=YaTOJ2oPjOiv2SZwY0UC-UA9QS2phRH1oMvxGnxO0Js,43
|
|
63
|
+
pytbox-0.1.1.dist-info/top_level.txt,sha256=YADgWue-Oe128ptN3J2hS3GB0Ncc5uZaSUM3e1rwswE,7
|
|
64
|
+
pytbox-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|