Somnio
Python library and CLI for sleep and physiological data workflows.
Install
pip install somnio
Optional extras (install as somnio[extra] or somnio[a,b]):
somnio[cli]— command-line toolssomnio[nsrr]— NSRR download helperssomnio[schemas]— YAML schemassomnio[signal]— SciPy-based signal processingsomnio[mne]— MNE-based processingsomnio[eeg-usability]— EEG usability scoringsomnio[edf]— EDF I/Osomnio[hdf5]— HDF5 layoutssomnio[onnx]— ONNX Runtime sleep scoringsomnio[tensorflow]— TensorFlow sleep scoring
With uv: uv add somnio, uv add somnio --extra cli, or uv add somnio --extra hdf5.
Documentation
Contributing
See Contributing.
Changelog
See CHANGELOG.md.
Credits
The somnio.tasks.eeg_usability module implements the eegUsability pipeline from eegFloss (MIT License, © 2025 Niloy Sikder). See NOTICE for the full third-party notice and citation details.
License
Metadata
Release files for somnio 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| somnio-0.4.0.tar.gz | 67.2 kB | Without provenance | Details for somnio-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| somnio-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for somnio-0.4.0-py3-none-any.whl |
Total release size: 158.2 kB
Release files / somnio-0.4.0.tar.gz
| Download URL | somnio-0.4.0.tar.gz |
|---|---|
| Size | 67.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fd8edb806bf1716fb25f40db39bb9d3ee6c9e3a72aa99c3b8905f8c7e6ca83f
|
|
BLAKE2b-256 checksum How to use checksums |
7d3e29466417c991ae0c40e8963f29755e839963c1bbc5cdada55a5d6698235f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / somnio-0.4.0-py3-none-any.whl
| Download URL | somnio-0.4.0-py3-none-any.whl |
|---|---|
| Size | 91.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
901c988e5909b4358f2d1f998d9b2aa1bbcef6bc22f8d616e838b4c43165e4f6
|
|
BLAKE2b-256 checksum How to use checksums |
2ac4c0a78c2f8e652b38b37aed9397335a1583627f0f333800df83fc98e4bad9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for somnio 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.