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
Copy file name to clipboardExpand all lines: README.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Python SDK for the BodyLoop API for seamless ecosystem integration
4
4
5
5
The URL of the source repository <https://github.com/bodyloop/bodyloop-sdk-python> has suffix `python` to enable adding SDKs for other lanuages such as JavaScript/TypeScript, C/C++, Rust, etc.
6
6
7
-
The distribution name (install) of the Python Package name is `bodyloop-sdk` and is available in the global Package Index PyPi at <https://pypi.org/project/bodyloop-sdk>. It omits the suffix since PyPi already tells us that we are in the Python ecosystem.
7
+
The distribution name (install) of the Python Package name is `bodyloop-sdk` and is available in the global Package Index PyPi at <https://pypi.org/project/bodyloop-sdk>. It omits the suffix since PyPi already tells us that we are in the Python ecosystem.
8
8
9
9
Examples how to get the package are:
10
10
@@ -27,7 +27,7 @@ Usage:
27
27
```python
28
28
import bodyloop
29
29
from bodyloop import Viatar, Proband
30
-
from bodyloop importSystem as BodyLoopSystem
30
+
from bodyloop importScanUnit
31
31
```
32
32
33
33
## Contribute
@@ -42,3 +42,33 @@ uv sync
42
42
uv run pytest
43
43
uv build
44
44
```
45
+
46
+
The release / publish workflow is defined as:
47
+
48
+
- Push to the `main` branch
49
+
- Create a new tag `vYYYY.MM.DD.r` where `YYYY.MM.DD` is the current date and `r` is the sequential release number we increment over all releases, independent of the date and push the tag as well.
50
+
- Create a new GitHub release based on that tag, baptize the release identical to the tag and add release notes.
51
+
- Triggered by the release creation the GitHub Action `publish.yml` will build the package and publish it to PyPi.
52
+
53
+
Update the API client
54
+
55
+
The API generator <https://pypi.org/project/openapi-python-client/> is used.
0 commit comments