harp-python 0.4.0__py3-none-any.whl → 0.4.1__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.
harp/io.py CHANGED
@@ -6,7 +6,7 @@ from typing import Any, BinaryIO, Optional, Union
6
6
  import numpy as np
7
7
  import numpy.typing as npt
8
8
  import pandas as pd
9
- from pandas._typing import Axes
9
+ from pandas._typing import Axes # pyright: ignore[reportPrivateImportUsage]
10
10
 
11
11
  from harp.typing import _BufferLike, _FileLike
12
12
 
harp/reader.py CHANGED
@@ -10,7 +10,7 @@ from typing import Callable, Iterable, Mapping, Optional, Protocol, Union
10
10
 
11
11
  from numpy import dtype
12
12
  from pandas import DataFrame, Series
13
- from pandas._typing import Axes
13
+ from pandas._typing import Axes # pyright: ignore[reportPrivateImportUsage]
14
14
 
15
15
  from harp.io import MessageType, read
16
16
  from harp.model import BitMask, GroupMask, Model, PayloadMember, Register
@@ -82,7 +82,7 @@ def _compose_parser(
82
82
  params: _ReaderParams,
83
83
  ) -> Callable[..., DataFrame]:
84
84
  def parser(
85
- data,
85
+ data: Optional[Union[_FileLike, _BufferLike]] = None,
86
86
  columns: Optional[Axes] = None,
87
87
  epoch: Optional[datetime] = params.epoch,
88
88
  keep_type: bool = params.keep_type,
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: harp-python
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: A low-level interface for loading binary Harp protocol data
5
5
  Author-email: Goncalo Lopes <g.lopes@neurogears.org>
6
- License: MIT License
6
+ License-Expression: MIT
7
7
  Project-URL: Bug Tracker, https://github.com/harp-tech/harp-python/issues
8
8
  Project-URL: Source Code, https://github.com/harp-tech/harp-python
9
9
  Classifier: Development Status :: 4 - Beta
@@ -12,7 +12,6 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Operating System :: OS Independent
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Requires-Python: >=3.9.0
17
16
  Description-Content-Type: text/markdown
18
17
  License-File: LICENSE
@@ -0,0 +1,12 @@
1
+ harp/__init__.py,sha256=N6fclA4pCSdBwcJELnN15p5QioU_6F01gH-8F3wr_pI,264
2
+ harp/common.yml,sha256=qcejMFu00JjI5rkubuEDdrUu_uFkN17f_Ljb6yBd-RM,4452
3
+ harp/io.py,sha256=js_DDHOBxNIacnHQxua0i42ljOEYZFew28zPSTXSyOs,9828
4
+ harp/model.py,sha256=djJ7Ah6GliwDh1rXhTYoqXSDMUJ3UI9PAKFL-F6ooAg,5769
5
+ harp/reader.py,sha256=kdrNAG53yuWMgYvlv2uAfO-8CYLREI-1PLgsE-SnE_4,8887
6
+ harp/schema.py,sha256=9tNwjnec8WtRkV8P_oblauW7btOi_y1vWFC6Tw4EWt0,1929
7
+ harp/typing.py,sha256=MCjnRwj-K3vybLfp_dFFqf7MwmJ7PmYe0yD91bt8uEk,355
8
+ harp_python-0.4.1.dist-info/licenses/LICENSE,sha256=KxnuV3gNCp4WmLUC8DYWJvCKPdxMpwmWIzAYBYdqPrM,1104
9
+ harp_python-0.4.1.dist-info/METADATA,sha256=XjRu_m2eIB9ZVN649GnNRkinWiDmszh8W8fA3p6C96U,3164
10
+ harp_python-0.4.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
+ harp_python-0.4.1.dist-info/top_level.txt,sha256=ztK1iHjgwmfXqxHCpu-e2uHIwdmodywYEUaWSODMvyM,5
12
+ harp_python-0.4.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,12 +0,0 @@
1
- harp/__init__.py,sha256=N6fclA4pCSdBwcJELnN15p5QioU_6F01gH-8F3wr_pI,264
2
- harp/common.yml,sha256=qcejMFu00JjI5rkubuEDdrUu_uFkN17f_Ljb6yBd-RM,4452
3
- harp/io.py,sha256=pJDLMRkIpbKjjSX-Le5ya_xJA6Sx3AeLb1UO08ghI_E,9783
4
- harp/model.py,sha256=djJ7Ah6GliwDh1rXhTYoqXSDMUJ3UI9PAKFL-F6ooAg,5769
5
- harp/reader.py,sha256=fkjQZYrLtJ_TQK2t3e8GcEISjvhXt5rlf8Oao-tIwzM,8794
6
- harp/schema.py,sha256=9tNwjnec8WtRkV8P_oblauW7btOi_y1vWFC6Tw4EWt0,1929
7
- harp/typing.py,sha256=MCjnRwj-K3vybLfp_dFFqf7MwmJ7PmYe0yD91bt8uEk,355
8
- harp_python-0.4.0.dist-info/licenses/LICENSE,sha256=KxnuV3gNCp4WmLUC8DYWJvCKPdxMpwmWIzAYBYdqPrM,1104
9
- harp_python-0.4.0.dist-info/METADATA,sha256=7Zxwebl6JmF-xNB5ARodVLj_WKtdsQvTTDAY1ZKZIl8,3213
10
- harp_python-0.4.0.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
11
- harp_python-0.4.0.dist-info/top_level.txt,sha256=ztK1iHjgwmfXqxHCpu-e2uHIwdmodywYEUaWSODMvyM,5
12
- harp_python-0.4.0.dist-info/RECORD,,