cerelink 8.0.1__cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.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.
- cerelink/__init__.py +5 -0
- cerelink/__version__.py +34 -0
- cerelink/cbpy.cpython-311-aarch64-linux-gnu.so +0 -0
- cerelink/cbpy.pyx +1157 -0
- cerelink/cbsdk_cython.pxd +458 -0
- cerelink/cbsdk_helper.cpp +112 -0
- cerelink/cbsdk_helper.h +54 -0
- cerelink-8.0.1.dist-info/METADATA +59 -0
- cerelink-8.0.1.dist-info/RECORD +11 -0
- cerelink-8.0.1.dist-info/WHEEL +6 -0
- cerelink-8.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: cerelink
|
3
|
+
Version: 8.0.1
|
4
|
+
Author: Ehsan Azar
|
5
|
+
Author-email: Chadwick Boulay <chadwick.boulay@gmail.com>
|
6
|
+
Project-URL: homepage, https://github.com/CerebusOSS/CereLink
|
7
|
+
Requires-Python: >=3.11
|
8
|
+
Description-Content-Type: text/markdown
|
9
|
+
Requires-Dist: numpy>=2.0.0
|
10
|
+
|
11
|
+
# cerelink
|
12
|
+
|
13
|
+
This is a Python wrapper for the CereLink (cbsdk) library to configure, pull data, and receive callbacks from Blackrock Neurotech devices.
|
14
|
+
|
15
|
+
> Note: If you do not require Central running on the same computer as your Python Blackrock device client, then consider instead using [pycbsdk](https://github.com/CerebusOSS/pycbsdk).
|
16
|
+
|
17
|
+
## Getting Started
|
18
|
+
|
19
|
+
* Download a wheel from the releases page or [build it yourself](#build-instructions).
|
20
|
+
* Activate a Python environment with pip, Cython, and numpy
|
21
|
+
* Install the wheel: `python -m pip install path\to\filename.whl`
|
22
|
+
* Test with `python -c "from cerelink import cbpy; cbpy.open(parameter=cbpy.defaultConParams())"`
|
23
|
+
* You might get `RuntimeError: -30, Instrument is offline.`. That's OK, depending on your device and network settings.
|
24
|
+
* See [cerebuswrapper](https://github.com/CerebusOSS/cerebuswrapper) for a tool that provides a simplified interface to cerelink.
|
25
|
+
|
26
|
+
## Build Instructions
|
27
|
+
|
28
|
+
* If you haven't already, build and install CereLink following the [main BUILD instructions](../../BUILD.md).
|
29
|
+
* Windows: If using Visual Studio then close it.
|
30
|
+
* Open a Terminal or Anaconda prompt and activate your Python environment.
|
31
|
+
* Your Python environment's Python interpreter (CPython, arch, version) must match that of the eventual machine that will run the package, and it must already have Cython, numpy, pip, setuptools, and wheel installed.
|
32
|
+
* We do not set these as explicit dependencies on the package to avoid bundling them so you must install manually.
|
33
|
+
* `python -m ensurepip`
|
34
|
+
* `python -m pip install --upgrade pip setuptools wheel cython numpy`
|
35
|
+
* Change to the CereLink directory.
|
36
|
+
* Install locally: `python -m pip install bindings/Python`
|
37
|
+
* or, if you are making a wheel to bring to another machine,
|
38
|
+
* activate an environment matching the target machine,
|
39
|
+
* `python -m pip wheel bindings/Python -w bindings/Python/dist`
|
40
|
+
* The wheels will be in the `bindings/Python/dist` folder.
|
41
|
+
* See the [Wiki](https://github.com/CerebusOSS/CereLink/wiki/cerelink) for more information.
|
42
|
+
|
43
|
+
## NumPy Compatibility
|
44
|
+
|
45
|
+
This project is built against **NumPy 2.x**. Users must have NumPy 2.0 or later installed.
|
46
|
+
If you are having trouble, try to run the following command and report your results:
|
47
|
+
`python -c "import numpy; print(f'NumPy: {numpy.__version__}'); from cerelink import cbpy; print('Success!')"`
|
48
|
+
|
49
|
+
If you need to support older NumPy 1.x versions, you can build wheels with:
|
50
|
+
|
51
|
+
```toml
|
52
|
+
[build-system]
|
53
|
+
requires = ["setuptools", "wheel", "cython", "oldest-supported-numpy", "setuptools-scm"]
|
54
|
+
|
55
|
+
[project]
|
56
|
+
dependencies = [
|
57
|
+
"numpy>=1.23.0,<2.0",
|
58
|
+
]
|
59
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
cerelink-8.0.1.dist-info/WHEEL,sha256=QJg38rE8f0PT7_ZWlFpvwOoUFGenUbSJhXM-6SbDiao,153
|
2
|
+
cerelink-8.0.1.dist-info/RECORD,,
|
3
|
+
cerelink-8.0.1.dist-info/top_level.txt,sha256=geyCzW4Z-PpEvhayDFFAhYOOnB1BPnY5XyqBoMRiTsw,9
|
4
|
+
cerelink-8.0.1.dist-info/METADATA,sha256=kBPJytvk_nFeqHjkbso2_ekiE-4JAfRkkmsfFMQ08sc,2909
|
5
|
+
cerelink/__init__.py,sha256=L1POHh-bvU8138EFOUliogG-xlXoen2F2lMvXqelZlw,195
|
6
|
+
cerelink/__version__.py,sha256=TkbIV9W4FPJkevSW6sP6L6utafrB3TVrTOXOL7y1XQk,712
|
7
|
+
cerelink/cbsdk_cython.pxd,sha256=fUZCQLryQPvBD2E09Gs_ndr92Fvv8rYN19L7YQgRvzo,27927
|
8
|
+
cerelink/cbpy.pyx,sha256=YZh8UIBmnxRx51XAqLx3boSHeP0KM78Dc-AG6XrsRao,49128
|
9
|
+
cerelink/cbsdk_helper.h,sha256=MfWpqQe_ZJ2Fl8f4jgfP1fnVSJ9pOecoNn7PZ0Dlstc,2216
|
10
|
+
cerelink/cbsdk_helper.cpp,sha256=ydzb8Gw8aCZxBhQbpHtbt9xtVId-JZz_VJ6K9VwuYrA,4132
|
11
|
+
cerelink/cbpy.cpython-311-aarch64-linux-gnu.so,sha256=4sEwVBjHPko4xyPA-Ez91Vuqw3aDTy_JwrFZPdMdHV0,4822480
|
@@ -0,0 +1 @@
|
|
1
|
+
cerelink
|