Pre-release
This release is a pre-release and may not be stable for production use.
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 helpers (pair withclifor thedownload-nsrrcommand)somnio[schemas]— YAML schemas (pydantic,pyyaml)somnio[signal]— SciPy-based signal processing utilitiessomnio[eeg-usability]— EEG usability scoring (somnio.tasks.eeg_usability;requests,scipy,platformdirs,lightgbm)somnio[mne]— MNE-based processing utilitiessomnio[edf]— EDF I/O (edfio, plusmne)somnio[hdf5]—somnio.io.hdf5layouts (requires h5py)
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.2.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| somnio-0.2.0b2.tar.gz | 55.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| somnio-0.2.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 136.5 kB
Release files / somnio-0.2.0b2.tar.gz
| Download URL | somnio-0.2.0b2.tar.gz |
|---|---|
| Size | 55.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38183aae13dc8215a4f6ae02d18c5af21fd9b6c5af8785b8aa5c676a8f2fb34b
|
|
BLAKE2b-256 checksum How to use checksums |
5f30496ca7571104048868ad1d79077d6797904ece0882d7ffbbafe1a6a13224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / somnio-0.2.0b2-py3-none-any.whl
| Download URL | somnio-0.2.0b2-py3-none-any.whl |
|---|---|
| Size | 80.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4e6be40ca0381141d1c9f7b584d00f65966aef7b5fe1bf5500a3242998725c3
|
|
BLAKE2b-256 checksum How to use checksums |
e68915622eedabc7246d1bcf3dcbd77252d84b65abcfd97e15e6b9d365e2e8c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|