solax-py-library 1.0.0.18__py3-none-any.whl → 1.0.0.20__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.
@@ -1,7 +1,9 @@
1
1
  from .snap_shot import SnapshotCore
2
2
  from .base_modbus import ModbusClientBase
3
+ from .parser import Parser
3
4
 
4
5
  __all__ = [
5
6
  "SnapshotCore",
6
7
  "ModbusClientBase",
8
+ "Parser",
7
9
  ]
@@ -1,7 +1,7 @@
1
1
  from typing import Dict, Any
2
2
 
3
3
  from solax_py_library.upload.core.upload_service import upload_service_map
4
- from solax_py_library.upload.errors.base import UploadBaseError
4
+ from solax_py_library.exception import SolaxBaseError
5
5
  from solax_py_library.upload.types.client import UploadType, UploadData
6
6
 
7
7
 
@@ -12,7 +12,7 @@ def upload_service(upload_type: UploadType, configuration: Dict[str, Any]):
12
12
  """
13
13
  upload_class = upload_service_map.get(upload_type)
14
14
  if not upload_class:
15
- raise UploadBaseError
15
+ raise SolaxBaseError
16
16
  return upload_class(**configuration)
17
17
 
18
18
 
@@ -10,7 +10,7 @@ from solax_py_library.upload.types.ftp import (
10
10
  FTPData,
11
11
  FTPParsedData,
12
12
  )
13
- from solax_py_library.upload.errors.upload_error import (
13
+ from solax_py_library.upload.exceptions.upload_error import (
14
14
  SendDataError,
15
15
  ConnectError,
16
16
  LoginError,
@@ -1,8 +1,6 @@
1
- from solax_py_library.exception import SolaxBaseError
2
1
  from .upload_error import ConfigurationError, ConnectError, LoginError, SendDataError
3
2
 
4
3
  __all__ = [
5
- "SolaxBaseError",
6
4
  "ConnectError",
7
5
  "LoginError",
8
6
  "SendDataError",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: solax-py-library
3
- Version: 1.0.0.18
3
+ Version: 1.0.0.20
4
4
  Summary: some common tool
5
5
  Author: shenlvyu
6
6
  Author-email: 13296718439@163.com
@@ -3,8 +3,9 @@ solax_py_library/exception.py,sha256=ygAccdTqJctRrdt9bu6-vqZP5KadfKVS_1tjt4KcRn8
3
3
  solax_py_library/snap_shot/__init__.py,sha256=Ex12q6BCkdU-3OP-f-ehGCetJJWnoZ7KxhEDd_lXh6M,81
4
4
  solax_py_library/snap_shot/constant/__init__.py,sha256=UNfjAlx1wovXc1oH74af9oIe2TljwCCiTzNXzWgtUms,65
5
5
  solax_py_library/snap_shot/constant/crc_table.py,sha256=D-pSxpf1XDzu7YR8LmbnzdLRvI8exDL2dyDh7RRc4Io,3566
6
- solax_py_library/snap_shot/core/__init__.py,sha256=t7RuU89GY58FR12jQXy-3u_np5rTftPFuaODFZqdRNU,137
6
+ solax_py_library/snap_shot/core/__init__.py,sha256=R0jkbwcJ3PPVyIGLVXvqRHDFTkq1NWBOPk0sa-FCVT8,178
7
7
  solax_py_library/snap_shot/core/base_modbus.py,sha256=EdDSRvRC2a4IE_LGvjxGznqi6AX5x4O0_Wn1IkHzIpA,403
8
+ solax_py_library/snap_shot/core/parser.py,sha256=74YG14zOopW2am6BQX0zF3NnWTN21pkYcW7gFP1ssko,7703
8
9
  solax_py_library/snap_shot/core/snap_shot.py,sha256=XbzR4yeCgMlLlcy8gEX58xFIc8agCZN7VDXE6SjlDr4,9931
9
10
  solax_py_library/snap_shot/exceptions/__init__.py,sha256=9wLhmIelRKCXvlymcu3EewasVVYuPu4QQxTDLjGj6NQ,112
10
11
  solax_py_library/snap_shot/exceptions/snap_shot.py,sha256=-oxxh_lUhfZwtggJ4zfNBPdkhdGPvcVvDezNlj4nFfY,154
@@ -13,15 +14,15 @@ solax_py_library/snap_shot/types/__init__.py,sha256=g9ybB88TntvAMGIhLgJ31Xxn26zl
13
14
  solax_py_library/snap_shot/types/address.py,sha256=JhyB-t2OnKuE8akKk120sojCNXv4_OlLLuWsl5ChFZ8,1148
14
15
  solax_py_library/upload/__init__.py,sha256=XhZar7BKaRN0XcdPl4QffWr488L3UWvuq5syT8nX2OU,93
15
16
  solax_py_library/upload/api/__init__.py,sha256=ASShe-YQxP0aA3B_I8EmpWKXIdXPWvaANifrzlYrFEk,84
16
- solax_py_library/upload/api/service.py,sha256=ubFepgkG4pQwFAH_f1JJ-mU8ZZrNf9zUMyQ_wy9QN7s,774
17
+ solax_py_library/upload/api/service.py,sha256=-APuz86t4loCkjzaxq02kuKrB6jxaPV-Tz1V__j6cY0,763
17
18
  solax_py_library/upload/core/__init__.py,sha256=XMcnyDzCfsLwWaTAZt9-an7TuwYFqVNSt9W1_QRUrwA,89
18
19
  solax_py_library/upload/core/data_adapter/__init__.py,sha256=9CXepLZSOjZMfNjyYKAWQCWZt353kTL_0tFBlIeUIOo,116
19
20
  solax_py_library/upload/core/data_adapter/base.py,sha256=Va-SEe0eL3gobhNOnzHGkYBLIwf5RVawQdYRHHXg9g0,170
20
21
  solax_py_library/upload/core/data_adapter/csv.py,sha256=8nlnV_43mMAR3re50MQJymzT5HYpZOo7eSeMsEfnEVE,861
21
22
  solax_py_library/upload/core/upload_service/__init__.py,sha256=uA-UeH31rDNxByeZwvPhNFHPV_-J8JyCev8geuc---k,269
22
23
  solax_py_library/upload/core/upload_service/base.py,sha256=dxCBVtPxDhN7oRTjnwnjtc2XAF4hyIz9HsYCJePlggg,912
23
- solax_py_library/upload/core/upload_service/ftp.py,sha256=6T8jKgsKXX0Bu_wrGjeYzBnrT331fWy_y38msChqrNs,2923
24
- solax_py_library/upload/exceptions/__init__.py,sha256=Tm5zlI3Fn9zLZyOA4ibAXjDXkWOeSi52As-E2dBVzfU,262
24
+ solax_py_library/upload/core/upload_service/ftp.py,sha256=Up0_fm-udf8H9u6iy74V6-4IF2OIjTYhyeVsFeAp0x0,2927
25
+ solax_py_library/upload/exceptions/__init__.py,sha256=12D68_mODfJkVFa1f65QgPUn8bvD5BDAeiHgNgU0258,186
25
26
  solax_py_library/upload/exceptions/upload_error.py,sha256=V2_yEMLj9KQEkdQ0Cm1DOogbjZWGb4p8RVnFx7D9yLY,425
26
27
  solax_py_library/upload/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
28
  solax_py_library/upload/test/test_ftp.py,sha256=tqc7Ag10PqgRewpMsBBG-mfezGK8lsxz3HbKOwQSORQ,2605
@@ -30,7 +31,6 @@ solax_py_library/upload/types/client.py,sha256=fG674_QEpOw3ibO171lcxJ0cz27yGR_sd
30
31
  solax_py_library/upload/types/ftp.py,sha256=9kCeLB0g5Je19v4ifz8YYEsGOhJL1lKBO2C6V2VBndc,679
31
32
  solax_py_library/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
33
  solax_py_library/utils/common.py,sha256=MY4Iab1o-jv7JoImcDiRDW12-MTXgwYym8yt_PofqRY,571
33
- solax_py_library/utils/parser.py,sha256=74YG14zOopW2am6BQX0zF3NnWTN21pkYcW7gFP1ssko,7703
34
- solax_py_library-1.0.0.18.dist-info/METADATA,sha256=ba-m4asJZqK9qnyPfGexCTaqIazYD25ktTEukXHWbWk,1790
35
- solax_py_library-1.0.0.18.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
36
- solax_py_library-1.0.0.18.dist-info/RECORD,,
34
+ solax_py_library-1.0.0.20.dist-info/METADATA,sha256=3_07XsIfWNwjj_061W3x8zzs4PAmyfGCjMFkzZB_BCg,1790
35
+ solax_py_library-1.0.0.20.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
36
+ solax_py_library-1.0.0.20.dist-info/RECORD,,
File without changes