omron-connect-api 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: omron-connect-api
3
+ Version: 0.0.3
4
+ Summary: Library to communicate with OMRON connect API
5
+ Project-URL: Homepage, https://github.com/happydev-ca/omron-connect-api
6
+ Project-URL: Issues, https://github.com/happydev-ca/omron-connect-api/issues
7
+ Author-email: Francois Perron <fperron@gmail.com>
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Home Automation
14
+ Requires-Python: >=3.13
15
+ Requires-Dist: aiohttp
16
+ Description-Content-Type: text/markdown
17
+
18
+ [![Build, test and publish](https://github.com/happydev-ca/omron-connect-api/actions/workflows/publish.yml/badge.svg)](https://github.com/happydev-ca/omron-connect-api/actions/workflows/publish.yml)
19
+
20
+ # omron-connect-api
21
+
22
+ Library to communicate with OMRON connect API.
23
+
24
+ ## Usage
25
+
26
+ ```python
27
+ import aiohttp
28
+ import asyncio
29
+ import os
30
+
31
+ from omron_connect_api import OmronConnectApi
32
+
33
+
34
+ async def run():
35
+ async with aiohttp.ClientSession() as session:
36
+ api = OmronConnectApi(os.environ['EMAIL'], os.environ['PASSWORD'], session)
37
+ blood_pressure_readings = await api.async_get_blood_pressure_readings()
38
+ print(blood_pressure_readings)
39
+
40
+
41
+ asyncio.run(run())
42
+ ```
43
+
44
+ ### Build and test locally
45
+
46
+ ```shell
47
+ make venv
48
+ source .venv/bin/activate
49
+ make test
50
+ make build
51
+ ```
52
+
53
+ ### Release version
54
+
55
+ ```shell
56
+ make release bump=patch|minor|major
57
+ ```
@@ -0,0 +1,4 @@
1
+ omron_connect_api-0.0.3.dist-info/METADATA,sha256=peYOanrutfNq2ayvkd7orloOVl4BassSiBA9GiONdhE,1494
2
+ omron_connect_api-0.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
3
+ omron_connect_api-0.0.3.dist-info/licenses/LICENSE,sha256=Ira5POPw5oipThNNnULDcvnm_HIwJRJKwNDYeh-_l3Q,1068
4
+ omron_connect_api-0.0.3.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 happydev.ca
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.