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.0b4

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.0b4
File Size Uploaded
somnio-0.2.0b4.tar.gz 58.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for somnio 0.2.0b4
File Interpreter ABI Platform
somnio-0.2.0b4-py3-none-any.whl Python 3 none any Details

Total release size: 141.5 kB

Release files / somnio-0.2.0b4.tar.gz

Download URL somnio-0.2.0b4.tar.gz
Size 58.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9bb5166c05544c25429d05b79bb0e9a628df89a9dec7c90c19bffd71088a1773
BLAKE2b-256 checksum
How to use checksums
1796c3a389272aa0e98ec56e9efc7c2c5279de421d9aa4a94bfe44f499255ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.0b4-py3-none-any.whl

Download URL somnio-0.2.0b4-py3-none-any.whl
Size 83.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fccddc089c650c326ce37f8844e2b6a3a68157028216a7f56c5c80c6ffe4b926
BLAKE2b-256 checksum
How to use checksums
2e02cee9566a47a8c33284e624c1f894a637bb7cc16ab1231a830b7f6dc16eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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