nettoolkit 0.0.3__zip
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.
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__init__.py +49 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/__init__.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/addressing.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/gpl.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/hierarchy.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/hierarchy_rules.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/__pycache__/jset.cpython-38.pyc +0 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/addressing.py +920 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/gpl.py +1207 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/hierarchy.py +558 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/hierarchy_rules.py +229 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit/jset.py +109 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit-0.0.3-py3.8.egg-info/PKG-INFO +41 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit-0.0.3-py3.8.egg-info/SOURCES.txt +12 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit-0.0.3-py3.8.egg-info/dependency_links.txt +1 -0
- Users/ALI/AppData/Local/Programs/Python/Python38-32/Lib/site-packages/nettoolkit-0.0.3-py3.8.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
__doc__ = '''Tool Set for Networking Geeks
|
|
2
|
+
-------------------------------------------------------------------
|
|
3
|
+
JSet, IPv4, IPv6, addressing, Validation,
|
|
4
|
+
Default, Container, Numeric, STR, IO, LST, DIC, LOG, DB, IP,
|
|
5
|
+
DifferenceDict, DictMethods
|
|
6
|
+
-------------------------------------------------------------------
|
|
7
|
+
JSet convert juniper standard config to set config
|
|
8
|
+
IPv4 IPV4 Object, and its operations
|
|
9
|
+
IPv6 IPV4 Object, and its operations
|
|
10
|
+
addressing dynamic allocation of IPv4/IPv6 Objects
|
|
11
|
+
Validation Validate subnet
|
|
12
|
+
IpHelperUpdate DHCPv6 Helper update utility
|
|
13
|
+
Default default implementations of docstring
|
|
14
|
+
Container default identical dunder methods implementations
|
|
15
|
+
Numeric To be implemented later
|
|
16
|
+
STR String Operations static methods
|
|
17
|
+
IO Input/Output of text files Operations static methods
|
|
18
|
+
LST List Operations static methods
|
|
19
|
+
DIC Dictionary Operations static methods
|
|
20
|
+
DifferenceDict Differences between dictionaries
|
|
21
|
+
DictMethods Common Dictionary Methods
|
|
22
|
+
LOG Logging Operations static methods
|
|
23
|
+
DB Database Operations static methods
|
|
24
|
+
IP IP Addressing Operations static methods
|
|
25
|
+
... and many more
|
|
26
|
+
-------------------------------------------------------------------
|
|
27
|
+
'''
|
|
28
|
+
|
|
29
|
+
__all__ = ['JSet',
|
|
30
|
+
'IPv4', 'IPv6', 'addressing', 'Validation', 'get_summaries', 'isSubset',
|
|
31
|
+
'binsubnet', 'bin2dec', 'bin2decmask', 'to_dec_mask', 'bin_mask',
|
|
32
|
+
'Default', 'Container', 'Numeric', 'DifferenceDict',
|
|
33
|
+
'STR', 'IO', 'LST', 'DIC', 'LOG', 'DB', 'IP', 'XL_READ', 'XL_WRITE',
|
|
34
|
+
'DictMethods', 'Multi_Execution',
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
__version__ = "0.0.3"
|
|
38
|
+
|
|
39
|
+
from .jset import JSet
|
|
40
|
+
from .addressing import (
|
|
41
|
+
IPv4, IPv6, addressing, Validation, get_summaries, isSubset,
|
|
42
|
+
binsubnet, bin2dec, bin2decmask, to_dec_mask, bin_mask
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
from .gpl import (Default, Container, Numeric,
|
|
46
|
+
DifferenceDict, DictMethods, DIC,
|
|
47
|
+
STR, IO, LST, LOG, DB, IP, XL_READ, XL_WRITE,
|
|
48
|
+
Multi_Execution,
|
|
49
|
+
)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|