pyxcp 0.22.32__cp310-cp310-macosx_11_0_arm64.whl → 0.22.34__cp310-cp310-macosx_11_0_arm64.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 pyxcp might be problematic. Click here for more details.

pyxcp/__init__.py CHANGED
@@ -17,4 +17,4 @@ tb_install(show_locals=True, max_frames=3) # Install custom exception handler.
17
17
 
18
18
  # if you update this manually, do not forget to update
19
19
  # .bumpversion.cfg and pyproject.toml.
20
- __version__ = "0.22.32"
20
+ __version__ = "0.22.34"
@@ -1,5 +1,4 @@
1
- """Convert pyXCPs .xmraw files to common data formats.
2
- """
1
+ """Convert pyXCPs .xmraw files to common data formats."""
3
2
 
4
3
  import csv
5
4
  import logging
@@ -318,8 +317,7 @@ class MdfConverter(CollectRows, XcpLogFileDecoder):
318
317
  time_flags=FLAG_HD_TIME_OFFSET_VALID,
319
318
  )
320
319
  hdr.comment = f"""<HDcomment><TX>Timezone: {timestamp_info.timezone}</TX></HDcomment>""" # Test-Comment.
321
- mdf4 = MDF(version="4.10")
322
- mdf4.header = hdr
320
+ mdf4 = MDF(version="4.10", header=hdr)
323
321
  for idx, arr in enumerate(self.tables):
324
322
  signals = []
325
323
  timestamps = arr.timestamp0
@@ -369,7 +367,8 @@ class SqliteConverter(XcpLogFileDecoder):
369
367
  self.create_table(sc)
370
368
  self.logger.info(f"Creating table {sc.name!r}.")
371
369
  self.insert_stmt[sc.name] = (
372
- f"""INSERT INTO {sc.name}({', '.join(['timestamp0', 'timestamp1'] + [r.name for r in sc.arr])}) VALUES({', '.join(["?" for _ in range(len(sc.arr) + 2)])})"""
370
+ f"""INSERT INTO {sc.name}({', '.join(['timestamp0', 'timestamp1'] + [r.name for r in sc.arr])})"""
371
+ f""" VALUES({', '.join(["?" for _ in range(len(sc.arr) + 2)])})"""
373
372
  )
374
373
 
375
374
  def on_finalize(self) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyxcp
3
- Version: 0.22.32
3
+ Version: 0.22.34
4
4
  Summary: Universal Calibration Protocol for Python
5
5
  License: LGPLv3
6
6
  Keywords: automotive,ecu,xcp,asam,autosar
@@ -1,15 +1,15 @@
1
- pyxcp-0.22.32.dist-info/RECORD,,
2
- pyxcp-0.22.32.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
3
- pyxcp-0.22.32.dist-info/WHEEL,sha256=LYpYYCEq2c6ymHhOSnJTe4ux3ULYSEUrqCKSUjEORwM,134
4
- pyxcp-0.22.32.dist-info/entry_points.txt,sha256=LkHsEwubm30s4oiyCy0cKj6k97ALvQ6KjAVdyEcqu7g,358
5
- pyxcp-0.22.32.dist-info/METADATA,sha256=ak2iEzoBXzDf3R7JiZdxHtUkh_2-CvqjTA_9VxKL2uU,4085
1
+ pyxcp-0.22.34.dist-info/RECORD,,
2
+ pyxcp-0.22.34.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
3
+ pyxcp-0.22.34.dist-info/WHEEL,sha256=LYpYYCEq2c6ymHhOSnJTe4ux3ULYSEUrqCKSUjEORwM,134
4
+ pyxcp-0.22.34.dist-info/entry_points.txt,sha256=LkHsEwubm30s4oiyCy0cKj6k97ALvQ6KjAVdyEcqu7g,358
5
+ pyxcp-0.22.34.dist-info/METADATA,sha256=P5fVBGrcQlz5CQ2IQOdA0nhGH7TDU_w8QA_8aA0ycss,4085
6
6
  pyxcp/dllif.py,sha256=kQ2njvx2flt5_EpIvIhT82NLl_LXoKJVc40H7pRi_0U,3213
7
7
  pyxcp/checksum.py,sha256=aveS0z4vthLXABEFhTqELqFNi7LM6ZzDzq7dD5Xe9oo,11167
8
8
  pyxcp/asamkeydll.sh,sha256=iema12sub6qNE0xAuzwGtx0FmkdaaOKoXalhrtWVaa8,57
9
9
  pyxcp/asamkeydll.c,sha256=l5RHYcEPY_Q07G-W5IjCq0xci8YfUR-3uYt84OOkOJI,2836
10
10
  pyxcp/constants.py,sha256=Yemk_Gi_m78EEU0v-sdGCAodb9dv_vqP969IU3izA2M,1113
11
11
  pyxcp/cmdline.py,sha256=lNg_wedKShu_37RhuTIGlINGLSMrg6UqJmYpqQnJbQI,1477
12
- pyxcp/__init__.py,sha256=3VPyNg82qzaP1_ZWLXG2OdXm0uMyS8fZpNvIZLHV8l4,528
12
+ pyxcp/__init__.py,sha256=7LNlJz6klgG4GffRkpN3uXAom2R7qq6RGG6Or7_iv7M,528
13
13
  pyxcp/types.py,sha256=XJxJUh9bK5Urfia8IHVLJ-NFgQACYBd_n73L-AaeZts,25158
14
14
  pyxcp/timing.py,sha256=hzeQZ3P7ij_bfskoVMi10Iv5S4i_6TQYfnB8PXTX6c4,1645
15
15
  pyxcp/utils.py,sha256=6WY4Jrdq3W6rYveR_U1JqfmKTWHkwg65LzrhJE6xbyc,3330
@@ -109,7 +109,7 @@ pyxcp/recorder/lz4hc.h,sha256=U_uN3Q2wIi3_dbEceJ16xHJZGotUiBTcnL6O5ARPi8M,20179
109
109
  pyxcp/recorder/lz4.c,sha256=k5b33lJ7yENd6cdWn7eZjlZUWoS088LYCMAjXAF3RTk,118145
110
110
  pyxcp/recorder/build_gcc.sh,sha256=uvMhL4faEJmhG_8rzSOxEBRRqrACC0kmZgaERN8GkUs,209
111
111
  pyxcp/recorder/unfolder.hpp,sha256=3gJKT2eMOZuT8o_M2NFLthdUIWd460vdwzlHaf-fQII,47998
112
- pyxcp/recorder/converter/__init__.py,sha256=Byq0X0xl5iFZfFstJQPbT1z-7TWLtBpchZABYDW57eA,14447
112
+ pyxcp/recorder/converter/__init__.py,sha256=mqzH3jxGpFrtS2dHyfDLCYKeJycav3_-6z8svlI07eU,14452
113
113
  pyxcp/stim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
114
114
  pyxcp/vector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
115
  pyxcp/vector/map.py,sha256=dSxM15eXvZh6izITdJmFxr1rplDUlfaJUbtrm2Xv-dE,2224