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

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

Built distribution (wheel)

Table of built distributions (wheels) for somnio 0.2.0b3
File Interpreter ABI Platform
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}
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