Skip to main content
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 tools
  • somnio[nsrr] — NSRR download helpers (pair with cli for the download-nsrr command)
  • somnio[schemas] — YAML schemas (pydantic, pyyaml)
  • somnio[signal] — SciPy-based signal processing utilities
  • somnio[eeg-usability] — EEG usability scoring (somnio.tasks.eeg_usability; requests, scipy, platformdirs, lightgbm)
  • somnio[mne] — MNE-based processing utilities
  • somnio[edf] — EDF I/O (edfio, plus mne)
  • somnio[hdf5] — somnio.io.hdf5 layouts (requires h5py)

With uv: uv add somnio, uv add somnio --extra cli, or uv add somnio --extra hdf5.

Documentation

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

MIT

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)

Source distribution for somnio 0.2.0b2
File Size Uploaded
somnio-0.2.0b2.tar.gz 55.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for somnio 0.2.0b2
File Interpreter ABI Platform
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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page