Skip to main content

No project description provided

Project description

Sleep Study Parser

Simple package which can be used to parse the sleep study report from Windows 11.

Usage

Below we are parsing a sleep study report where 12th state is like this: img.png

To get the same thing via Python we can do this:

>>> from sleepstudyparser.SleepStudyParser import SleepStudyParser
>>> ssp = SleepStudyParser(number_of_days=2, report_name="DummySleepStudyReport", report_path=r"C:\temp")
>>> obj = ssp.parse()
>>> len(obj.states)
84
>>> obj.states[11].start_time
2021-11-15 07:16:48+00:00
>>> obj.states[11].duration
13:15:33
>>> obj.states[11].state_type
SessionType.SLEEP
>>> obj.states[11].drips.sw_drips
100
>>> obj.states[11].drips.hw_drips
68

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sleepstudyparser-0.1.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

sleepstudyparser-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file sleepstudyparser-0.1.0.tar.gz.

File metadata

  • Download URL: sleepstudyparser-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1021-azure

File hashes

Hashes for sleepstudyparser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae2b45a1012e52d97ef31ba1ab79881be6e72ef9a4d884a733233acfa0f6753d
MD5 2687cf7174c01d1ef4900bba8a0ab1cf
BLAKE2b-256 623edbaffb92eeabceda742c4012544065af3661a100bafcb741936b403ea9a4

See more details on using hashes here.

File details

Details for the file sleepstudyparser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sleepstudyparser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1021-azure

File hashes

Hashes for sleepstudyparser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a442bbf06f9e2b054551b00ceb624232fb96bc0852596e36378ff7d0886cee
MD5 b6f7ca950e587f02787d1fe396efaadf
BLAKE2b-256 5d72c8fe9188dd4f658fb28337af2b19ffbe3af04176dd6ca6e70b93bb7eae32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page