Name | multidaq JSON |
Version |
1.2.0
JSON |
| download |
home_page | None |
Summary | Python interface to biovision digitizers. (64 bit Windows or Linux OS) |
upload_time | 2024-11-04 14:28:20 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2024 Tantor GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
digitizer
biovision
biomechanics
driver
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Python Package for biovision digitzer
## testet OS
The binaries are tested on following OS, but should work with others, too.
* Windows 10
* Windows 11
* Ubuntu 22.04
* Ubuntu 24.04 (graphic functions restricted)
## prerequisites
multidaq **depends only on numpy**.
Needed binaries to access the hardware are included (DLL)
> **linux:** Two important points:
> you need **rights** to access the devices and a installed **SDL2** lib.
> There are at least 3 ways to get the rights. Method 3 is the safest.
> 1. Be administrator or open python with sudo, you have all rights.
> 2. Add yoursel to dialout group: Open a terminal and enter following command with your username.
> ```bash
> sudo usermod -a -G dialout <your_username>
> ```
> 3. Use udev: First download the file from [github](https://github.com/biodaq/biovision/blob/main/share/50-biovision-devices.rules)
> and copy to a system location:
> ```bash
> sudo cp 50-biovision-devices.rules /etc/udev/rules.d/50-biovision-devices.rules
> ```
>
>
> **SDL2** is widely used and probaly installed on your PC. If not, install at least:
> ```
> sudo apt-get install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0
> ```
> .
## getting started
open a command terminal:
```bash
pip install multidaq
```
in python console or script you may test the installation with:
```python
import multidaq
dev = multidaq.multiDaq()
print(dev.listDevices())
```
output will be a list of strings with informations of devices on the bus. If no device is present you will get an empty list.
An exception should not occur and would be an error.
## help
### examples
On [github examples](https://github.com/biodaq/biovision/tree/main/share/python) there are numerous example files. They show, how to handle the module.
### Version information
This PyPI package is a part of our [software](https://github.com/biodaq/biovision). The version number of this package is the version number of the DLL.
A wiki to that project is [here](https://github.com/biodaq/biovision/wiki/).
There is a version information string in the package. To get it open a python console:
```python
import multidaq
print(multidaq.__version__)
```
### builtin help
in python console you can get help to the modules included:
```python
import multidaq
help(multidaq)
```
and for the submodules with:
```python
help(multidaq.multiDaq())
help(multidaq.multiDaqLowLevel())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "multidaq",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "digitizer, biovision, biomechanics, driver",
"author": null,
"author_email": "Tantor GmbH <info@tantor.de>",
"download_url": "https://files.pythonhosted.org/packages/ff/1a/e5d201476551ce8c83e65648c304e436e3c74b1eb801fb14f6230fb596a4/multidaq-1.2.0.tar.gz",
"platform": null,
"description": "# Python Package for biovision digitzer\r\n\r\n## testet OS\r\n\r\nThe binaries are tested on following OS, but should work with others, too.\r\n\r\n* Windows 10\r\n* Windows 11\r\n* Ubuntu 22.04\r\n* Ubuntu 24.04 (graphic functions restricted)\r\n\r\n\r\n\r\n## prerequisites\r\n\r\nmultidaq **depends only on numpy**. \r\nNeeded binaries to access the hardware are included (DLL)\r\n\r\n\r\n\r\n> **linux:** Two important points:\r\n> you need **rights** to access the devices and a installed **SDL2** lib. \r\n> There are at least 3 ways to get the rights. Method 3 is the safest. \r\n> 1. Be administrator or open python with sudo, you have all rights.\r\n> 2. Add yoursel to dialout group: Open a terminal and enter following command with your username. \r\n> ```bash\r\n> sudo usermod -a -G dialout <your_username>\r\n> ```\r\n> 3. Use udev: First download the file from [github](https://github.com/biodaq/biovision/blob/main/share/50-biovision-devices.rules)\r\n> and copy to a system location: \r\n> ```bash\r\n> sudo cp 50-biovision-devices.rules /etc/udev/rules.d/50-biovision-devices.rules\r\n> ```\r\n>\r\n> \r\n> **SDL2** is widely used and probaly installed on your PC. If not, install at least:\r\n> ```\r\n> sudo apt-get install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0\r\n> ```\r\n> .\r\n\r\n\r\n## getting started\r\n\r\nopen a command terminal:\r\n\r\n```bash\r\npip install multidaq\r\n```\r\n\r\nin python console or script you may test the installation with:\r\n\r\n```python\r\nimport multidaq\r\ndev = multidaq.multiDaq()\r\nprint(dev.listDevices())\r\n```\r\noutput will be a list of strings with informations of devices on the bus. If no device is present you will get an empty list. \r\nAn exception should not occur and would be an error.\r\n\r\n## help\r\n\r\n### examples\r\n\r\nOn [github examples](https://github.com/biodaq/biovision/tree/main/share/python) there are numerous example files. They show, how to handle the module.\r\n\r\n### Version information\r\n\r\nThis PyPI package is a part of our [software](https://github.com/biodaq/biovision). The version number of this package is the version number of the DLL. \r\nA wiki to that project is [here](https://github.com/biodaq/biovision/wiki/). \r\n\r\nThere is a version information string in the package. To get it open a python console:\r\n\r\n```python\r\nimport multidaq\r\nprint(multidaq.__version__)\r\n```\r\n\r\n### builtin help\r\n\r\nin python console you can get help to the modules included:\r\n\r\n```python\r\nimport multidaq\r\nhelp(multidaq)\r\n```\r\nand for the submodules with:\r\n\r\n```python\r\nhelp(multidaq.multiDaq())\r\nhelp(multidaq.multiDaqLowLevel())\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Tantor GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Python interface to biovision digitizers. (64 bit Windows or Linux OS)",
"version": "1.2.0",
"project_urls": {
"Bug Reports": "https://github.com/biodaq/biovision/issues",
"Homepage": "https://github.com/biodaq/biovision/",
"Source": "https://github.com/biodaq/biovision/tree/main/share/python/multidaq/"
},
"split_keywords": [
"digitizer",
" biovision",
" biomechanics",
" driver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "588482b52381aa746588b5afbb0988148df414cd7afa2a6922b2cf69e1cd1f99",
"md5": "e940ac18b6185ae3c76db964df7e6a4d",
"sha256": "5af551efbce43d309c60b851fe6782fbca41b3f979a6044ad081976632ef0666"
},
"downloads": -1,
"filename": "multidaq-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e940ac18b6185ae3c76db964df7e6a4d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 2717163,
"upload_time": "2024-11-04T14:28:17",
"upload_time_iso_8601": "2024-11-04T14:28:17.406520Z",
"url": "https://files.pythonhosted.org/packages/58/84/82b52381aa746588b5afbb0988148df414cd7afa2a6922b2cf69e1cd1f99/multidaq-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ff1ae5d201476551ce8c83e65648c304e436e3c74b1eb801fb14f6230fb596a4",
"md5": "caba2c27344e12a7e3f374c007d6885b",
"sha256": "f16ad0d64a312e15c986ed4cd981d6cb8f4716fedde79de476aad3de53bcd387"
},
"downloads": -1,
"filename": "multidaq-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "caba2c27344e12a7e3f374c007d6885b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2710630,
"upload_time": "2024-11-04T14:28:20",
"upload_time_iso_8601": "2024-11-04T14:28:20.810998Z",
"url": "https://files.pythonhosted.org/packages/ff/1a/e5d201476551ce8c83e65648c304e436e3c74b1eb801fb14f6230fb596a4/multidaq-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-04 14:28:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "biodaq",
"github_project": "biovision",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "multidaq"
}