pypcapkit 1.3.4__cp311-none-any.whl → 1.3.5.post1__cp311-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.
pcapkit/__init__.py CHANGED
@@ -93,10 +93,8 @@ else:
93
93
  tbtrim.set_trim_rule(lambda filename: ROOT in os.path.realpath(filename),
94
94
  exception=BaseError, strict=False)
95
95
 
96
- from pcapkit.foundation.registry import *
97
96
  from pcapkit.interface import *
98
97
  from pcapkit.protocols import *
99
- from pcapkit.toolkit import *
100
98
 
101
99
  __all__ = [
102
100
  'extract', 'reassemble', 'trace', # Interface Functions
@@ -123,4 +121,4 @@ __all__ = [
123
121
  ]
124
122
 
125
123
  #: version number
126
- __version__ = "1.3.4"
124
+ __version__ = '1.3.5.post1'
@@ -19846,6 +19846,11 @@ class AppType(StrEnum):
19846
19846
  #: [SCTP] Automatic Dependent Surveillance
19847
19847
  ads_c: 'AppType' = 5913, 'ads-c', TransportProtocol.get('sctp')
19848
19848
 
19849
+ #: - [TCP] Security for Internet Protocol Suite
19850
+ #: - [UDP] Security for Internet Protocol Suite
19851
+ #: - [SCTP] Security for Internet Protocol Suite
19852
+ ipsdtls: 'AppType' = 5914, 'ipsdtls', TransportProtocol.get('tcp') | TransportProtocol.get('udp') | TransportProtocol.get('sctp')
19853
+
19849
19854
  #: - [TCP] Indy Application Server
19850
19855
  #: - [UDP] Indy Application Server
19851
19856
  indy: 'AppType' = 5963, 'indy', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
@@ -27599,6 +27604,14 @@ class AppType(StrEnum):
27599
27604
  #: - [UDP] Adam Hall network control and monitoring
27600
27605
  adamhall: 'AppType' = -1, 'adamhall', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
27601
27606
 
27607
+ #: - [TCP] ARN (Adaptive Routing Notification) is a protocol designed to enable
27608
+ #: dynamic routing adjustments by sharing network status information between
27609
+ #: nodes in data center networks, improving efficiency and fault tolerance.
27610
+ #: - [UDP] ARN (Adaptive Routing Notification) is a protocol designed to enable
27611
+ #: dynamic routing adjustments by sharing network status information between
27612
+ #: nodes in data center networks, improving efficiency and fault tolerance.
27613
+ adaptive_rn: 'AppType' = -1, 'adaptive-rn', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
27614
+
27602
27615
  #: [N/A] Address-O-Matic
27603
27616
  addressbook: 'AppType' = -1, 'addressbook', TransportProtocol.get('undefined')
27604
27617
 
@@ -28485,6 +28498,9 @@ class AppType(StrEnum):
28485
28498
  #: [TCP] Protocol for home hub communication
28486
28499
  homekit: 'AppType' = -1, 'homekit', TransportProtocol.get('tcp')
28487
28500
 
28501
+ #: [TCP] HomeWizard Local API
28502
+ homewizard: 'AppType' = -1, 'homewizard', TransportProtocol.get('tcp')
28503
+
28488
28504
  #: [UDP] Honeywell Video Systems
28489
28505
  honeywell_vid: 'AppType' = -1, 'honeywell-vid', TransportProtocol.get('udp')
28490
28506
 
@@ -30839,7 +30855,7 @@ class AppType(StrEnum):
30839
30855
  if 5901 <= value <= 5902:
30840
30856
  #: [N/A] Unassigned
30841
30857
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
30842
- if 5914 <= value <= 5962:
30858
+ if 5915 <= value <= 5962:
30843
30859
  #: [N/A] Unassigned
30844
30860
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
30845
30861
  if 5964 <= value <= 5967:
@@ -227,7 +227,7 @@ class Internet(Protocol[_PT, _ST], Generic[_PT, _ST]): # pylint: disable=abstra
227
227
  if TYPE_CHECKING:
228
228
  protocol: 'Type[Protocol]'
229
229
 
230
- if payload is not None:
230
+ if payload is None:
231
231
  file_ = self.__header__.get_payload()
232
232
  else:
233
233
  file_ = payload
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypcapkit
3
- Version: 1.3.4
3
+ Version: 1.3.5.post1
4
4
  Summary: PyPCAPKit: comprehensive network packet analysis library
5
5
  Author-email: Jarry Shaw <jarryshaw@icloud.com>
6
6
  Maintainer: Jarry Shaw
@@ -39,41 +39,41 @@ Classifier: Typing :: Typed
39
39
  Requires-Python: <4,>=3.6
40
40
  Description-Content-Type: text/x-rst
41
41
  License-File: LICENSE
42
- Requires-Dist: dictdumper ~=0.8.0
42
+ Requires-Dist: dictdumper~=0.8.0
43
43
  Requires-Dist: chardet
44
44
  Requires-Dist: aenum
45
- Requires-Dist: tbtrim >=0.2.1
46
- Requires-Dist: typing-extensions ; python_version < "3.11"
47
- Requires-Dist: bpc-f2format ; python_version < "3.6"
48
- Requires-Dist: bpc-poseur ; python_version < "3.8"
49
- Requires-Dist: bpc-walrus ; python_version < "3.8"
50
- Requires-Dist: pathlib2 >=2.3.2 ; python_version == "3.4"
45
+ Requires-Dist: tbtrim>=0.2.1
46
+ Requires-Dist: bpc-f2format; python_version < "3.6"
47
+ Requires-Dist: bpc-poseur; python_version < "3.8"
48
+ Requires-Dist: bpc-walrus; python_version < "3.8"
49
+ Requires-Dist: pathlib2>=2.3.2; python_version == "3.4"
50
+ Requires-Dist: typing-extensions; python_version < "3.11"
51
+ Provides-Extra: cli
52
+ Requires-Dist: emoji; extra == "cli"
51
53
  Provides-Extra: dpkt
52
- Requires-Dist: dpkt ; extra == 'dpkt'
53
- Provides-Extra: pyshark
54
- Requires-Dist: pyshark ; extra == 'pyshark'
54
+ Requires-Dist: dpkt; extra == "dpkt"
55
55
  Provides-Extra: scapy
56
- Requires-Dist: scapy ; extra == 'scapy'
56
+ Requires-Dist: scapy; extra == "scapy"
57
+ Provides-Extra: pyshark
58
+ Requires-Dist: pyshark; extra == "pyshark"
59
+ Provides-Extra: vendor
60
+ Requires-Dist: requests[socks]; extra == "vendor"
61
+ Requires-Dist: beautifulsoup4[html5lib]; extra == "vendor"
57
62
  Provides-Extra: all
58
- Requires-Dist: emoji ; extra == 'all'
59
- Requires-Dist: dpkt ; extra == 'all'
60
- Requires-Dist: scapy ; extra == 'all'
61
- Requires-Dist: pyshark ; extra == 'all'
62
- Requires-Dist: requests[socks] ; extra == 'all'
63
- Requires-Dist: beautifulsoup4[html5lib] ; extra == 'all'
64
- Provides-Extra: cli
65
- Requires-Dist: emoji ; extra == 'cli'
63
+ Requires-Dist: emoji; extra == "all"
64
+ Requires-Dist: dpkt; extra == "all"
65
+ Requires-Dist: scapy; extra == "all"
66
+ Requires-Dist: pyshark; extra == "all"
67
+ Requires-Dist: requests[socks]; extra == "all"
68
+ Requires-Dist: beautifulsoup4[html5lib]; extra == "all"
66
69
  Provides-Extra: docs
67
- Requires-Dist: Sphinx >=6.1.3 ; extra == 'docs'
68
- Requires-Dist: furo ; extra == 'docs'
69
- Requires-Dist: sphinx-autodoc-typehints ; extra == 'docs'
70
- Requires-Dist: sphinx-opengraph ; extra == 'docs'
71
- Requires-Dist: sphinx-copybutton ; extra == 'docs'
72
- Requires-Dist: typing-extensions ; extra == 'docs'
73
- Requires-Dist: mypy-extensions ; extra == 'docs'
74
- Provides-Extra: vendor
75
- Requires-Dist: requests[socks] ; extra == 'vendor'
76
- Requires-Dist: beautifulsoup4[html5lib] ; extra == 'vendor'
70
+ Requires-Dist: Sphinx>=6.1.3; extra == "docs"
71
+ Requires-Dist: furo; extra == "docs"
72
+ Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
73
+ Requires-Dist: sphinx-opengraph; extra == "docs"
74
+ Requires-Dist: sphinx-copybutton; extra == "docs"
75
+ Requires-Dist: typing-extensions; extra == "docs"
76
+ Requires-Dist: mypy-extensions; extra == "docs"
77
77
 
78
78
  PyPCAPKit - Comprehensive Network Packet Analysis Library
79
79
  =========================================================
@@ -1,4 +1,4 @@
1
- pcapkit/__init__.py,sha256=VnyWkRLc-qNZGu3WDcBLGltHaB99O0IY5x3-tTDCBYM,4091
1
+ pcapkit/__init__.py,sha256=JdzJV_sFjUuhKQVtAKy8KJGT53-itI_pasqx3KyQtZY,4025
2
2
  pcapkit/__main__.py,sha256=G3rJrhCwkxlxOa04zwRJ4mq4G1k8JYWES3JnsaeMDe4,6415
3
3
  pcapkit/all.py,sha256=6G7rVFlajYk98F5vCYcLOw-CkXdEw4C2zAwnTgU0asU,6679
4
4
  pcapkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -117,7 +117,7 @@ pcapkit/const/pcapng/record_type.py,sha256=4rZytbhhF6u5SPvQ8ew3jx4OhN_rwDQG3I4Jl
117
117
  pcapkit/const/pcapng/secrets_type.py,sha256=n_662aowLtqA25ilbdG6BWb2rYmrdBJt79_SISzfJkw,1578
118
118
  pcapkit/const/pcapng/verdict_type.py,sha256=_jEkN0g6CX-DGshAj-lUiZjiwdK7Fqou2pnzgZ-WyIk,1476
119
119
  pcapkit/const/reg/__init__.py,sha256=xKABPHwDQ0diN2sFA7hkw42FNsb6tx294XemEjTs2g8,1469
120
- pcapkit/const/reg/apptype.py,sha256=OyGXkycikojZDpoaaLsCMglEA3oWwVFbfIa9VeCFeHg,1431540
120
+ pcapkit/const/reg/apptype.py,sha256=kUb7pLU1RwrRu6AtSs6y4orpmAYZLz7pwJmSMsMCsr0,1432549
121
121
  pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
122
122
  pcapkit/const/reg/linktype.py,sha256=WU5JvrvjuvWZbdcZaVrb5pGzUEFlS0aTNBZNXa-93Os,34895
123
123
  pcapkit/const/reg/transtype.py,sha256=ub1J9FMvhg4DQqmseg2bp950HnCpkEUqGq5gDdpQusk,12946
@@ -241,7 +241,7 @@ pcapkit/protocols/internet/__init__.py,sha256=92A7PPTi_YYjGvns_aRKaBq2uhRMDc_6bk
241
241
  pcapkit/protocols/internet/ah.py,sha256=mPI887GUeJGxy_Ovoh0Hs2vU2i0gZ9nDJYNNmlN5mDo,10219
242
242
  pcapkit/protocols/internet/hip.py,sha256=NloOKuxvcFFvWvv8D5p5EUdgt8zxmZZ6ocDNM-EC_pI,209870
243
243
  pcapkit/protocols/internet/hopopt.py,sha256=dtpe28jxkpZU7HX6wTkxgDX3gz6iuHzbA3uGtCGiQrQ,75260
244
- pcapkit/protocols/internet/internet.py,sha256=dl3hl2iEI4v9SfI-3iu4CBfoUZksRk7E5vAfX4yW4vI,11898
244
+ pcapkit/protocols/internet/internet.py,sha256=__l8BIY3qUBMo8O9kHldTV3eKm6dDcXkV8sVgX3i9Pg,11894
245
245
  pcapkit/protocols/internet/ip.py,sha256=VfLC4vj4e6NOSWWvBr4sTSrzgRw0WNES6jlFFZbDJl4,1654
246
246
  pcapkit/protocols/internet/ipsec.py,sha256=-8eB-1yb7S2Nppr5rpbXQ1xB7ZwnkxDrw2-m18-jIoo,1545
247
247
  pcapkit/protocols/internet/ipv4.py,sha256=-A4mrKsh76VjyQiUr53xJX8gI7PyO78HET74ZCwR7I8,70545
@@ -458,9 +458,9 @@ pcapkit/vendor/tcp/mp_tcp_option.py,sha256=f6_-VMoQFnhuEbxs17Q1rp6JjFSLXGK3w1K2v
458
458
  pcapkit/vendor/tcp/option.py,sha256=p05DrOt2m0QCf4gjLJzRshQRvaWxmt2PIzsv2UMjsa8,3043
459
459
  pcapkit/vendor/vlan/__init__.py,sha256=qvLktJ0yuoZokas6-_ZGwMJOzbujSCM8pZHQ9jjTegU,674
460
460
  pcapkit/vendor/vlan/priority_level.py,sha256=xVu6M-Ys4pft5I-qPCCxM-KfnMAUnZppD2qPO9gPkVE,2961
461
- pypcapkit-1.3.4.dist-info/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
- pypcapkit-1.3.4.dist-info/METADATA,sha256=aFrfnTXGkfceooOyJrA0cpAf1jPDmP9eyfW3jsSaPTA,7698
463
- pypcapkit-1.3.4.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
464
- pypcapkit-1.3.4.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
- pypcapkit-1.3.4.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
- pypcapkit-1.3.4.dist-info/RECORD,,
461
+ pypcapkit-1.3.5.post1.dist-info/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
+ pypcapkit-1.3.5.post1.dist-info/METADATA,sha256=U0FyCBfHRLO3GJF07Je7P7EcG9692AKPgGCKgnx5XRk,7676
463
+ pypcapkit-1.3.5.post1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
464
+ pypcapkit-1.3.5.post1.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
+ pypcapkit-1.3.5.post1.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
+ pypcapkit-1.3.5.post1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5