kiosker-python-api 1.2.2__tar.gz → 1.2.3__tar.gz
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.
- kiosker_python_api-1.2.3/.github/workflows/python-publish.yml +70 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/PKG-INFO +8 -3
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/README.md +7 -2
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/pyproject.toml +1 -1
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/.gitignore +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/LICENSE +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/kiosker/__init__.py +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/kiosker/api.py +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/kiosker/data.py +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/tests/__init__.py +0 -0
- {kiosker_python_api-1.2.2 → kiosker_python_api-1.2.3}/tests/test_api.py +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# This workflow will upload a Python Package to PyPI when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
|
|
9
|
+
name: Upload Python Package
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
release:
|
|
13
|
+
types: [published]
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
release-build:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.x"
|
|
28
|
+
|
|
29
|
+
- name: Build release distributions
|
|
30
|
+
run: |
|
|
31
|
+
# NOTE: put your own distribution build steps here.
|
|
32
|
+
python -m pip install build
|
|
33
|
+
python -m build
|
|
34
|
+
|
|
35
|
+
- name: Upload distributions
|
|
36
|
+
uses: actions/upload-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: release-dists
|
|
39
|
+
path: dist/
|
|
40
|
+
|
|
41
|
+
pypi-publish:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
needs:
|
|
44
|
+
- release-build
|
|
45
|
+
permissions:
|
|
46
|
+
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
47
|
+
id-token: write
|
|
48
|
+
|
|
49
|
+
# Dedicated environments with protections for publishing are strongly recommended.
|
|
50
|
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
|
|
51
|
+
environment:
|
|
52
|
+
name: pypi
|
|
53
|
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
|
|
54
|
+
# url: https://pypi.org/p/YOURPROJECT
|
|
55
|
+
#
|
|
56
|
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
|
|
57
|
+
# ALTERNATIVE: exactly, uncomment the following line instead:
|
|
58
|
+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
|
|
59
|
+
|
|
60
|
+
steps:
|
|
61
|
+
- name: Retrieve release distributions
|
|
62
|
+
uses: actions/download-artifact@v4
|
|
63
|
+
with:
|
|
64
|
+
name: release-dists
|
|
65
|
+
path: dist/
|
|
66
|
+
|
|
67
|
+
- name: Publish release distributions to PyPI
|
|
68
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
69
|
+
with:
|
|
70
|
+
packages-dir: dist/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kiosker-python-api
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: A python wrapper for the Kiosker API
|
|
5
5
|
Project-URL: Homepage, https://kiosker.io
|
|
6
6
|
Project-URL: Documentation, https://docs.kiosker.io
|
|
@@ -23,7 +23,7 @@ Python wrapper for Kiosker API-integration.
|
|
|
23
23
|
### Installation
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
|
|
26
|
+
pip install kiosker-python-api
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
---
|
|
@@ -250,7 +250,7 @@ HOST="0.0.0.0" TOKEN="" pytest -s
|
|
|
250
250
|
|
|
251
251
|
6. Build the library
|
|
252
252
|
```shell
|
|
253
|
-
python -m build
|
|
253
|
+
python -m build
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
7. Upload to test
|
|
@@ -258,6 +258,11 @@ python -m build --wheel
|
|
|
258
258
|
twine upload --repository testpypi dist/*
|
|
259
259
|
```
|
|
260
260
|
|
|
261
|
+
7. Upload to prod
|
|
262
|
+
```shell
|
|
263
|
+
twine upload dist/*
|
|
264
|
+
```
|
|
265
|
+
|
|
261
266
|
---
|
|
262
267
|
|
|
263
268
|
### API Documentation
|
|
@@ -6,7 +6,7 @@ Python wrapper for Kiosker API-integration.
|
|
|
6
6
|
### Installation
|
|
7
7
|
|
|
8
8
|
```shell
|
|
9
|
-
|
|
9
|
+
pip install kiosker-python-api
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
---
|
|
@@ -233,7 +233,7 @@ HOST="0.0.0.0" TOKEN="" pytest -s
|
|
|
233
233
|
|
|
234
234
|
6. Build the library
|
|
235
235
|
```shell
|
|
236
|
-
python -m build
|
|
236
|
+
python -m build
|
|
237
237
|
```
|
|
238
238
|
|
|
239
239
|
7. Upload to test
|
|
@@ -241,6 +241,11 @@ python -m build --wheel
|
|
|
241
241
|
twine upload --repository testpypi dist/*
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
+
7. Upload to prod
|
|
245
|
+
```shell
|
|
246
|
+
twine upload dist/*
|
|
247
|
+
```
|
|
248
|
+
|
|
244
249
|
---
|
|
245
250
|
|
|
246
251
|
### API Documentation
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kiosker-python-api"
|
|
7
7
|
readme = "README.md"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.3"
|
|
9
9
|
license = "MIT"
|
|
10
10
|
description = "A python wrapper for the Kiosker API"
|
|
11
11
|
keywords = ["kiosk", "kiosker", "api", "kiosker pro"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|