{"id":32176356,"url":"https://github.com/mne-tools/mne-realtime","last_synced_at":"2025-10-21T19:58:55.499Z","repository":{"id":37960374,"uuid":"187477035","full_name":"mne-tools/mne-realtime","owner":"mne-tools","description":"Realtime data analysis with MNE-Python","archived":false,"fork":false,"pushed_at":"2025-10-01T03:12:55.000Z","size":7430,"stargazers_count":57,"open_issues_count":10,"forks_count":23,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-10-21T19:58:48.633Z","etag":null,"topics":["fieldtrip-buffer","lsl","mne-python","realtime"],"latest_commit_sha":null,"homepage":"https://mne.tools/mne-realtime/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mne-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-19T12:58:22.000Z","updated_at":"2025-10-01T03:13:00.000Z","dependencies_parsed_at":"2022-09-26T17:21:12.576Z","dependency_job_id":"e29aaaca-1e0b-46a8-a935-d72807f2303d","html_url":"https://github.com/mne-tools/mne-realtime","commit_stats":{"total_commits":109,"total_committers":11,"mean_commits":9.909090909090908,"dds":0.5229357798165137,"last_synced_commit":"c7c3d9b78af7e897c75b9d541eedb7441d3a4651"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mne-tools/mne-realtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mne-tools%2Fmne-realtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mne-tools%2Fmne-realtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mne-tools%2Fmne-realtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mne-tools%2Fmne-realtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mne-tools","download_url":"https://codeload.github.com/mne-tools/mne-realtime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mne-tools%2Fmne-realtime/sbom","scorecard":{"id":654858,"data":{"date":"2025-08-11","repo":{"name":"github.com/mne-tools/mne-realtime","commit":"63da621fd8b2e1458d9f1c718920120afbb9a2c8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 6/27 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/automerge.yml:7","Warn: no topLevel permission defined: .github/workflows/automerge.yml:1","Warn: no topLevel permission defined: .github/workflows/circle_artifacts.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-107 / GHSA-jjw5-xxj6-pcv5","Warn: Project is vulnerable to: PYSEC-2024-110 / GHSA-jw8x-6495-233v","Warn: Project is vulnerable to: PYSEC-2020-108","Warn: Project is vulnerable to: PYSEC-2019-156 / GHSA-xp76-357g-9wqq","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/circle_artifacts.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/circle_artifacts.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/mne-tools/mne-realtime/tests.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-21T14:23:14.404Z","repository_id":37960374,"created_at":"2025-08-21T14:23:14.405Z","updated_at":"2025-08-21T14:23:14.405Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280325299,"owners_count":26311419,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fieldtrip-buffer","lsl","mne-python","realtime"],"created_at":"2025-10-21T19:58:54.306Z","updated_at":"2025-10-21T19:58:55.484Z","avatar_url":"https://github.com/mne-tools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MNE-realtime\n\n\u003e [!WARNING]\n\u003e This project is discontinued in favor of [MNE-LSL](https://github.com/mne-tools/mne-lsl).\n\u003e At the moment, [MNE-LSL](https://github.com/mne-tools/mne-lsl) replaces the ``LSLClient``\n\u003e and does not yet support the FieldTrip buffer.\n\nThis is a package for realtime analysis of MEG/EEG data with MNE.\nThe documentation can be found here:\n\n- [Examples](https://mne.tools/mne-realtime/auto_examples/index.html)\n- [API](https://mne.tools/mne-realtime/api.html)\n\n## Dependencies\n\n* [numpy](https://numpy.org)\n* [scipy](https://scipy.org)\n* [MNE](https://mne.tools)\n\n## Installation\n\nWe recommend the Anaconda Python distribution. We require that you use Python 3.\nYou may choose to install mne-realtime via pip.\n\nBesides ``numpy`` and ``scipy`` (which are included in the standard Anaconda\ninstallation), you will need to install the most recent version of ``MNE``\nusing the ``pip`` tool:\n\n```\n$ pip install -U mne\n```\n\nThen install ``mne-realtime``:\n\n```\n$ pip install https://api.github.com/repos/mne-tools/mne-realtime/zipball/main\n```\n\nThese ``pip`` commands also work if you want to upgrade if a newer version of\n``mne-realtime`` is available. If you do not have administrator privileges on the\ncomputer, use the ``--user`` flag with ``pip``.\n\n## Quickstart\n\n```\ninfo = mne.io.read_info(op.join(data_path, 'MEG', 'sample',\n                        'sample_audvis_raw.fif'))\nwith FieldTripClient(host='localhost', port=1972,\n                     tmax=30, wait_max=5, info=info) as rt_client:\n    rt_epochs = RtEpochs(rt_client, event_id, tmin, tmax, ...)\n    rt_epochs.start()\n    for ev in rt_epochs.iter_evoked():\n        epoch_data = ev.data\n\n    # or alternatively, get last n_samples\n    rt_epoch = rt_client.get_data_as_epoch(n_samples=500)\n    continuous_data = rt_epoch.get_data()\n```\n\nThe ``FieldTripClient`` supports [multiple vendors through the FieldTrip buffer](http://www.fieldtriptoolbox.org/development/realtime/implementation/).\nIt can be replaced with other clients such as ``LSLClient``.\nSee [API](https://mne.tools/mne-realtime/api.html) for a list of clients.\n\n## Bug reports\n\nUse the [github issue tracker](https://github.com/mne-tools/mne-realtime/issues)\nto report bugs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmne-tools%2Fmne-realtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmne-tools%2Fmne-realtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmne-tools%2Fmne-realtime/lists"}