klokku-python-client 0.1.0__py3-none-any.whl → 0.2.0__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.
@@ -39,7 +39,8 @@ class Budget:
39
39
  name: str
40
40
  weeklyTime: int
41
41
  icon: str = ""
42
- status: str = "ACTIVE"
42
+ startDate: str = ""
43
+ endDate: str = ""
43
44
 
44
45
  @dataclass(frozen=True)
45
46
  class User:
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Klokku
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.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: klokku-python-client
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: Klokku REST API client
5
5
  License: MIT
6
6
  Author: Mariusz Józala
7
7
  Requires-Python: >=3.13
8
8
  Classifier: Development Status :: 3 - Alpha
9
9
  Classifier: Intended Audience :: Developers
10
- Requires-Dist: aiohttp (>=3.11.16,<4.0.0)
10
+ Requires-Dist: aiohttp (>=3.12.13,<4.0.0)
11
11
  Project-URL: Homepage, https://klokku.com
12
12
  Project-URL: Issues, https://github.com/klokku/klokku-python-client/issues
13
13
  Project-URL: Repository, https://github.com/klokku/klokku-python-client
@@ -84,6 +84,19 @@ asyncio.run(main())
84
84
 
85
85
  ## Development
86
86
 
87
+ ### CI/CD
88
+
89
+ This project uses GitHub Actions for continuous integration and deployment:
90
+
91
+ 1. **Build Workflow**: Runs on every push to the main branch, executing tests and building the package.
92
+ 2. **Publish Workflow**: Automatically publishes the package to PyPI when a new GitHub Release is created.
93
+
94
+ To set up the publishing workflow:
95
+
96
+ 1. Generate a PyPI API token at https://pypi.org/manage/account/token/
97
+ 2. Add the token as a GitHub repository secret named `PYPI_API_TOKEN`
98
+ 3. Create a new GitHub Release to trigger the publishing workflow
99
+
87
100
  ### Setup
88
101
 
89
102
  1. Clone the repository
@@ -115,12 +128,18 @@ To run the tests:
115
128
  pytest
116
129
  ```
117
130
 
131
+ Or with Poetry
132
+
133
+ ```bash
134
+ poetry run pytest
135
+ ```
136
+
118
137
  For more details about testing, see the [tests README](tests/README.md).
119
138
 
120
139
  ## Requirements
121
140
 
122
141
  - Python 3.13+
123
- - aiohttp 3.11+
142
+ - aiohttp 3.12+
124
143
 
125
144
  ## License
126
145
 
@@ -0,0 +1,6 @@
1
+ klokku_python_client/__init__.py,sha256=1AOx109cSpBOiz_-bLMFgZxEU-EkYl9KksZL3aK3pYM,631
2
+ klokku_python_client/api_client.py,sha256=1J_oC7UCOdDW333RKcTURjxkiENvvAuyPOmyEMk99Og,11754
3
+ klokku_python_client-0.2.0.dist-info/LICENSE,sha256=a1VHbi93QIVXU7rQCt2g2vh_uGKPNKevIpXc0Z6iH9s,1063
4
+ klokku_python_client-0.2.0.dist-info/METADATA,sha256=OGMRNL_Pqi9H4_14DBOI30Z6KBKJVa0rer5JjmmmZCI,3358
5
+ klokku_python_client-0.2.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
6
+ klokku_python_client-0.2.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- klokku_python_client/__init__.py,sha256=1AOx109cSpBOiz_-bLMFgZxEU-EkYl9KksZL3aK3pYM,631
2
- klokku_python_client/api_client.py,sha256=6xXKOvlTuE57ynSpN70ZSRt2w5-E3yyLMg94yW7mzeI,11735
3
- klokku_python_client-0.1.0.dist-info/METADATA,sha256=pZXy4QbfegI_A02G7A6EKOWNinNPA8D-n6qGGaEQe6c,2767
4
- klokku_python_client-0.1.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
5
- klokku_python_client-0.1.0.dist-info/RECORD,,