Skip to main content

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
  • somnio[schemas] — YAML schemas
  • somnio[signal] — SciPy-based signal processing
  • somnio[mne] — MNE-based processing
  • somnio[eeg-usability] — EEG usability scoring
  • somnio[edf] — EDF I/O
  • somnio[hdf5] — HDF5 layouts
  • somnio[onnx] — ONNX Runtime sleep scoring
  • somnio[tensorflow] — TensorFlow sleep scoring

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.3.0

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.3.0
File Size Uploaded Provenance Actions
somnio-0.3.0.tar.gz 63.8 kB Without provenance Details for somnio-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 150.6 kB

Release files / somnio-0.3.0.tar.gz

Download URL somnio-0.3.0.tar.gz
Size 63.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0e776d6feac60eb3971c293209ff5519ff018bff95d6ab514ec49266542f60a3
BLAKE2b-256 checksum
How to use checksums
6fbf15062e6c9559657cebea355856456692b33a291e6ff296a1b13e438587f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / somnio-0.3.0-py3-none-any.whl

Download URL somnio-0.3.0-py3-none-any.whl
Size 86.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1860dc9ed150abe85250c9718f3e0a8be19bb563deac46822fe68398add2cd5c
BLAKE2b-256 checksum
How to use checksums
df1a5965dddb3e8c294b8bdde2328ec0c058a62d775ec3cb253f25105d315caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for somnio 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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