scrapli 2024.7.30.post1__py3-none-any.whl → 2025.1.30__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.
scrapli/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  from scrapli.driver.base import AsyncDriver, Driver
4
4
  from scrapli.factory import AsyncScrapli, Scrapli
5
5
 
6
- __version__ = "2024.07.30.post1"
6
+ __version__ = "2025.01.30"
7
7
 
8
8
  __all__ = (
9
9
  "AsyncDriver",
@@ -5,7 +5,7 @@ from scrapli.driver.network.base_driver import PrivilegeLevel
5
5
  PRIVS = {
6
6
  "exec": (
7
7
  PrivilegeLevel(
8
- pattern=r"^({\w+:\d}\n){0,1}[\w\-@()/:\.]{1,63}>\s?$",
8
+ pattern=r"^({\w+(:(\w+){0,1}\d){0,1}}\n){0,1}[\w\-@()/:\.]{1,63}>\s?$",
9
9
  name="exec",
10
10
  previous_priv="",
11
11
  deescalate="",
@@ -16,7 +16,7 @@ PRIVS = {
16
16
  ),
17
17
  "configuration": (
18
18
  PrivilegeLevel(
19
- pattern=r"^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
19
+ pattern=r"^({\w+(:(\w+){0,1}\d){0,1}}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
20
20
  name="configuration",
21
21
  previous_priv="exec",
22
22
  deescalate="exit configuration-mode",
@@ -27,7 +27,7 @@ PRIVS = {
27
27
  ),
28
28
  "configuration_exclusive": (
29
29
  PrivilegeLevel(
30
- pattern=r"^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
30
+ pattern=r"^({\w+(:(\w+){0,1}\d){0,1}}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
31
31
  name="configuration_exclusive",
32
32
  previous_priv="exec",
33
33
  deescalate="exit configuration-mode",
@@ -38,7 +38,7 @@ PRIVS = {
38
38
  ),
39
39
  "configuration_private": (
40
40
  PrivilegeLevel(
41
- pattern=r"^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
41
+ pattern=r"^({\w+(:(\w+){0,1}\d){0,1}}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$",
42
42
  name="configuration_private",
43
43
  previous_priv="exec",
44
44
  deescalate="exit configuration-mode",
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: scrapli
3
- Version: 2024.7.30.post1
3
+ Version: 2025.1.30
4
4
  Summary: Fast, flexible, sync/async, Python 3.7+ screen scraping client specifically for network devices
5
5
  Author-email: Carl Montanari <carl.r.montanari@gmail.com>
6
6
  License: MIT License
@@ -33,14 +33,14 @@ Classifier: License :: OSI Approved :: MIT License
33
33
  Classifier: Operating System :: POSIX :: Linux
34
34
  Classifier: Operating System :: MacOS
35
35
  Classifier: Programming Language :: Python
36
- Classifier: Programming Language :: Python :: 3.8
37
36
  Classifier: Programming Language :: Python :: 3.9
38
37
  Classifier: Programming Language :: Python :: 3.10
39
38
  Classifier: Programming Language :: Python :: 3.11
40
39
  Classifier: Programming Language :: Python :: 3.12
40
+ Classifier: Programming Language :: Python :: 3.13
41
41
  Classifier: Programming Language :: Python :: 3 :: Only
42
42
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
43
- Requires-Python: >=3.8
43
+ Requires-Python: >=3.9
44
44
  Description-Content-Type: text/markdown
45
45
  License-File: LICENSE
46
46
  Provides-Extra: dev-darwin
@@ -59,10 +59,10 @@ Requires-Dist: scrapli-cfg==2023.7.30; extra == "dev-darwin"
59
59
  Requires-Dist: scrapli-replay==2023.7.30; extra == "dev-darwin"
60
60
  Requires-Dist: toml<1.0.0,>=0.10.2; extra == "dev-darwin"
61
61
  Requires-Dist: types-paramiko<4.0.0,>=2.8.6; extra == "dev-darwin"
62
- Requires-Dist: ntc-templates<7.0.0,>=1.1.0; extra == "dev-darwin"
62
+ Requires-Dist: ntc-templates<8.0.0,>=1.1.0; extra == "dev-darwin"
63
63
  Requires-Dist: textfsm<2.0.0,>=1.1.0; extra == "dev-darwin"
64
- Requires-Dist: genie<24.4,>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "dev-darwin"
65
- Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "dev-darwin"
64
+ Requires-Dist: genie>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "dev-darwin"
65
+ Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "dev-darwin"
66
66
  Requires-Dist: ttp<1.0.0,>=0.5.0; extra == "dev-darwin"
67
67
  Requires-Dist: paramiko<4.0.0,>=2.6.0; extra == "dev-darwin"
68
68
  Requires-Dist: asyncssh<3.0.0,>=2.2.1; extra == "dev-darwin"
@@ -83,10 +83,10 @@ Requires-Dist: scrapli-cfg==2023.7.30; extra == "dev"
83
83
  Requires-Dist: scrapli-replay==2023.7.30; extra == "dev"
84
84
  Requires-Dist: toml<1.0.0,>=0.10.2; extra == "dev"
85
85
  Requires-Dist: types-paramiko<4.0.0,>=2.8.6; extra == "dev"
86
- Requires-Dist: ntc-templates<7.0.0,>=1.1.0; extra == "dev"
86
+ Requires-Dist: ntc-templates<8.0.0,>=1.1.0; extra == "dev"
87
87
  Requires-Dist: textfsm<2.0.0,>=1.1.0; extra == "dev"
88
- Requires-Dist: genie<24.4,>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "dev"
89
- Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "dev"
88
+ Requires-Dist: genie>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "dev"
89
+ Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "dev"
90
90
  Requires-Dist: ttp<1.0.0,>=0.5.0; extra == "dev"
91
91
  Requires-Dist: paramiko<4.0.0,>=2.6.0; extra == "dev"
92
92
  Requires-Dist: ssh2-python<2.0.0,>=0.23.0; python_version < "3.12" and extra == "dev"
@@ -102,11 +102,11 @@ Requires-Dist: mkdocs-material-extensions<2.0.0,>=1.0.3; extra == "docs"
102
102
  Requires-Dist: mkdocs-section-index<1.0.0,>=0.3.4; extra == "docs"
103
103
  Requires-Dist: mkdocstrings[python]<1.0.0,>=0.19.0; extra == "docs"
104
104
  Provides-Extra: textfsm
105
- Requires-Dist: ntc-templates<7.0.0,>=1.1.0; extra == "textfsm"
105
+ Requires-Dist: ntc-templates<8.0.0,>=1.1.0; extra == "textfsm"
106
106
  Requires-Dist: textfsm<2.0.0,>=1.1.0; extra == "textfsm"
107
107
  Provides-Extra: genie
108
- Requires-Dist: genie<24.4,>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "genie"
109
- Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.11") and extra == "genie"
108
+ Requires-Dist: genie>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "genie"
109
+ Requires-Dist: pyats>=20.2; (sys_platform != "win32" and python_version < "3.13") and extra == "genie"
110
110
  Provides-Extra: ttp
111
111
  Requires-Dist: ttp<1.0.0,>=0.5.0; extra == "ttp"
112
112
  Provides-Extra: paramiko
@@ -1,4 +1,4 @@
1
- scrapli/__init__.py,sha256=io6HIkd_g_w3ixdJHtvWAtlSQkQ83P7D-wMPpVM_Cb0,234
1
+ scrapli/__init__.py,sha256=frOwepJilTB2lowPJa0dY7pWUfNJwGn1bWcDFQpm7PU,228
2
2
  scrapli/decorators.py,sha256=2JTmHCdWZBi5S_XZMISvmH-aFas7ddUNwXNeflAHkn4,10447
3
3
  scrapli/exceptions.py,sha256=AlWmOIGpdZhcEGgv4H7Tpw9B9QdoXBG-DPYooSKHlxM,1938
4
4
  scrapli/factory.py,sha256=WGBcjr3NUHCEdDvK8X1rQnjnFaMjpWEXKAKknkp6XWY,37691
@@ -36,7 +36,7 @@ scrapli/driver/core/cisco_nxos/base_driver.py,sha256=eNjYkMjWyOn6oLZ4vTc0rHpqOHU
36
36
  scrapli/driver/core/cisco_nxos/sync_driver.py,sha256=EJdd7tK4gGjFsjR9rWFdYUH8ML7GCZKm_EL4-ajcmzE,7384
37
37
  scrapli/driver/core/juniper_junos/__init__.py,sha256=kKVB77xdHTVyL3sGzQFUPYGshMCqxoIJAHSxkw_wfZA,245
38
38
  scrapli/driver/core/juniper_junos/async_driver.py,sha256=3ZGWjwh7mzjMZHv1SLJNasyym0GROV3BSuAaMrxibGM,6771
39
- scrapli/driver/core/juniper_junos/base_driver.py,sha256=uZMW5F8zOOE5TeAqVIA71OyiYh4gOUN4t5vj63glteM,2326
39
+ scrapli/driver/core/juniper_junos/base_driver.py,sha256=CA7rkpCgmUyy5w4hhEbSjD1x1oxSIB8zG_2r0gV-kvw,2394
40
40
  scrapli/driver/core/juniper_junos/sync_driver.py,sha256=9ooJoz9iecRsPnoLA3qrp-WLf4aOc-LnSIv3V74REfI,6708
41
41
  scrapli/driver/generic/__init__.py,sha256=0mtOYfBKHqcjSwswPs0Bj2QQnmzW4ugaCAPgx1d9ddU,300
42
42
  scrapli/driver/generic/async_driver.py,sha256=4WcvikBs7DueaSP-IIEDcZWmcpjz53PF8inaAcQ4p7g,26058
@@ -67,8 +67,8 @@ scrapli/transport/plugins/system/ptyprocess.py,sha256=wzy-z3UkKZY1ADZQVAOjsEdNaJ
67
67
  scrapli/transport/plugins/system/transport.py,sha256=asuq7tU_D9fWJEIvblKOELNbSdoUkvSMVpdTF71TptI,6935
68
68
  scrapli/transport/plugins/telnet/__init__.py,sha256=ce0syarhrpeD1NHtqbazPI09VLvF2n5oC2UE9G_Rbr0,39
69
69
  scrapli/transport/plugins/telnet/transport.py,sha256=DlcZoWtkTYQCoU633zd9iV7p8QcW-7_8zcKDClPthAw,8001
70
- scrapli-2024.7.30.post1.dist-info/LICENSE,sha256=IeyhkG2h_dAvJ7nAF0S4GSUg045jwI27YADV_KSJi50,1071
71
- scrapli-2024.7.30.post1.dist-info/METADATA,sha256=bLk0MtJbWP8nxa64swAwUV51lgv8IqrMjxl4o9fWtd0,11157
72
- scrapli-2024.7.30.post1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
73
- scrapli-2024.7.30.post1.dist-info/top_level.txt,sha256=piC9TaaPt0z-1Ryrs69hDvsIQkmE5ceDAAW5donUvsI,8
74
- scrapli-2024.7.30.post1.dist-info/RECORD,,
70
+ scrapli-2025.1.30.dist-info/LICENSE,sha256=IeyhkG2h_dAvJ7nAF0S4GSUg045jwI27YADV_KSJi50,1071
71
+ scrapli-2025.1.30.dist-info/METADATA,sha256=JfZglARzh6nKRSlapaiRYklZnTurwhC3q4csX1qAGBU,11134
72
+ scrapli-2025.1.30.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
73
+ scrapli-2025.1.30.dist-info/top_level.txt,sha256=piC9TaaPt0z-1Ryrs69hDvsIQkmE5ceDAAW5donUvsI,8
74
+ scrapli-2025.1.30.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5