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:
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for sleepstudyparser-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a442bbf06f9e2b054551b00ceb624232fb96bc0852596e36378ff7d0886cee |
|
MD5 | b6f7ca950e587f02787d1fe396efaadf |
|
BLAKE2b-256 | 5d72c8fe9188dd4f658fb28337af2b19ffbe3af04176dd6ca6e70b93bb7eae32 |