{"id":26368779,"url":"https://github.com/bindreams/pynvx","last_synced_at":"2025-03-16T22:49:01.321Z","repository":{"id":167685072,"uuid":"163015435","full_name":"bindreams/pynvx","owner":"bindreams","description":"NVX wrapper for python.","archived":false,"fork":false,"pushed_at":"2025-03-07T15:15:23.000Z","size":1665,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-07T16:25:20.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bindreams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-12-24T18:30:20.000Z","updated_at":"2025-03-07T15:15:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3a116a1-81f8-40fc-92a3-a8b9edbdd470","html_url":"https://github.com/bindreams/pynvx","commit_stats":null,"previous_names":["andreasxp/pynvx","bindreams/pynvx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fpynvx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fpynvx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fpynvx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bindreams%2Fpynvx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bindreams","download_url":"https://codeload.github.com/bindreams/pynvx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945479,"owners_count":20372894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T22:49:00.772Z","updated_at":"2025-03-16T22:49:01.310Z","avatar_url":"https://github.com/bindreams.png","language":"Python","readme":"# pynvx\nNVX wrapper for python.\n\n## Installation\n```\ngit clone https://github.com/andreasxp/pynvx\npip install -e pynvx\n```\n\n## Example usage\n```python\nimport nvx\n\nnvx.set_emulation(True)  # set emulation state, adds 1 pseudo-device\ndev = nvx.Device(0)  # create a device with index 0\n\ntry:\n    print(\"Collecting data. Ctrl-C to stop\")\n    print(\"Showing only some of the channels:\")\n    print(\"EEG channel 1|EEG channel 2|EEG channel 3|AUX channel 1|Counter\")\n    input(\"Press any key to start gathering data...\")\n    dev.start()  # start collecting data\n\n    while True:\n        samples = dev.pull_chunk()  # Get all collected data samples\n        for sample in samples:   # While there is sample to recieve, do stuff with it\n            print('EEG1:{:\u003e8}|EEG2:{:\u003e8}|EEG3:{:\u003e8}|AUX1:{:\u003e8}|COUNT:{:\u003e8}'.format(\n                sample.eeg_data(0),\n                sample.eeg_data(1),\n                sample.eeg_data(2),\n                sample.aux_data(0),\n                sample.counter  # Counts samples\n            ))\n\nexcept KeyboardInterrupt:\n    pass\n\ndev.stop()\n```\n\n## License\n`pynvx` is licenced under the MIT license. It is free for personal and commercial use. Note that the files listed under `nvx/dll` belong to [Medical Computer Systems Ltd](https://mks.ru/en/index/) and are subject to their own license and copyright.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbindreams%2Fpynvx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbindreams%2Fpynvx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbindreams%2Fpynvx/lists"}