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.0b3
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.0b3.tar.gz | 58.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| somnio-0.2.0b3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.1 kB
Release files / somnio-0.2.0b3.tar.gz
| Download URL | somnio-0.2.0b3.tar.gz |
|---|---|
| Size | 58.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32a7a9f156fe64b3221d3cc1c215baa0dafecf5e0f883b9bd9b691d0c9e87620
|
|
BLAKE2b-256 checksum How to use checksums |
ad28ca625ecf3a60a1dffa18e32634dda08479790571be8211f5cead4a1fb0a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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.0b3-py3-none-any.whl
| Download URL | somnio-0.2.0b3-py3-none-any.whl |
|---|---|
| Size | 82.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab71f7d576de70522737e6a36851c261b1c28a1249afe8e516d1f8e885adbfb3
|
|
BLAKE2b-256 checksum How to use checksums |
2e09f7831d49d417dab9f7ae111af0ba4b4095b8f87c2acfd751955b90c2fd4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}
|