You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo uses [poetry](https://python-poetry.org/) (please check the [docs](https://python-poetry.org/docs/)) for development and building. It is currentlu set up to create a `.venv` directory in the root of this project on install.
38
+
39
+
40
+
Installing the environment:
41
+
42
+
```shell
43
+
$ poetry install
44
+
```
45
+
46
+
### Shell usage
47
+
48
+
After installing you can use the environment created with poetry, for example to:
49
+
50
+
- update the environment:
51
+
52
+
```shell
53
+
$ poetry update
54
+
```
55
+
56
+
- execute scripts:
57
+
58
+
```shell
59
+
$ poetry run tests/test_devices.py
60
+
```
61
+
62
+
### VSCode
63
+
64
+
You can also use the environment in VSCode by opening one of the python files in this repo and selecting the poetry python interpreter in the bottom left corner (`('.venv': poetry)`). You then reload the VSCode window (or open and close VSCode) and VSCode should be now using the `.venv` environment created by poetry.
65
+
29
66
## Usage
30
67
31
68
The first thing we need to do to start using the Python SDK is provide a valid API key. This will allow the library to make requests to Hyper's services for publishing and receiving messages.
0 commit comments