harp-python 0.4.0__py3-none-any.whl → 0.4.2__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,18 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: harp-python
3
- Version: 0.4.0
4
- Summary: A low-level interface for loading binary Harp protocol data
3
+ Version: 0.4.2
4
+ Summary: [DEPRECATED] Superseded by harp-data (https://harp-tech.org/python/). 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
- Classifier: Development Status :: 4 - Beta
9
+ Project-URL: Replacement, https://harp-tech.org/python/
10
+ Project-URL: Migration Guide, https://harp-tech.org/python/articles/harp-python-migration/
11
+ Classifier: Development Status :: 7 - Inactive
10
12
  Classifier: Programming Language :: Python
11
13
  Classifier: Programming Language :: Python :: 3
12
14
  Classifier: Programming Language :: Python :: 3.9
13
15
  Classifier: Programming Language :: Python :: 3.10
14
16
  Classifier: Operating System :: OS Independent
15
- Classifier: License :: OSI Approved :: MIT License
16
17
  Requires-Python: >=3.9.0
17
18
  Description-Content-Type: text/markdown
18
19
  License-File: LICENSE
@@ -33,6 +34,12 @@ Dynamic: license-file
33
34
 
34
35
  # harp-python
35
36
 
37
+ > [!WARNING]
38
+ > **This package is deprecated and will no longer receive updates.**
39
+ >
40
+ > Please migrate to the new `harp-data` package from [Harp Python](https://harp-tech.org/python/), which supersedes this one with an improved API and continued support.
41
+ > A [migration guide](https://harp-tech.org/python/articles/harp-python-migration/) covers the transition.
42
+
36
43
  A low-level interface to data collected with the [Harp binary protocol](https://harp-tech.org/protocol/BinaryProtocol-8bit.html).
37
44
 
38
45
  ## How to install
@@ -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.2.dist-info/licenses/LICENSE,sha256=KxnuV3gNCp4WmLUC8DYWJvCKPdxMpwmWIzAYBYdqPrM,1104
9
+ harp_python-0.4.2.dist-info/METADATA,sha256=UMt7XWUVA0UPN7n6Kpj7zv4tu5rK8tHVYQ6SeVBdLWQ,3754
10
+ harp_python-0.4.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
11
+ harp_python-0.4.2.dist-info/top_level.txt,sha256=ztK1iHjgwmfXqxHCpu-e2uHIwdmodywYEUaWSODMvyM,5
12
+ harp_python-0.4.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (84.2.1)
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,,