kbot-py-client 2.1.2__tar.gz → 2.1.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.
@@ -1,19 +1,15 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: kbot-py-client
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Client for Konverso Kbot.
5
- License: MIT
6
5
  Author: Konverso
7
- Author-email: contact@konverso.ai
8
- Requires-Python: >=3.10
6
+ Author-email: Konverso <contact@konverso.ai>
7
+ License-Expression: MIT
8
+ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Requires-Dist: requests (>=2.27.1)
11
+ Requires-Dist: requests>=2.32.5
12
+ Requires-Python: >=3.10
17
13
  Project-URL: Homepage, https://www.konverso.ai/
18
14
  Project-URL: Source, https://github.com/konverso-ai/kbot-py-client
19
15
  Description-Content-Type: text/markdown
@@ -291,4 +287,3 @@ from kbot_client import chatbot_client
291
287
  ...
292
288
  chatbot_client.run(mode="synchronous", client=cli, assistant=assistant, convert_html_to_text=True)
293
289
  ```
294
-
@@ -0,0 +1,36 @@
1
+ [project]
2
+ name = "kbot-py-client"
3
+ version = "2.1.3"
4
+ requires-python = ">=3.10"
5
+ description = "Client for Konverso Kbot."
6
+ readme = "README.md"
7
+ license = "MIT"
8
+ authors = [
9
+ { name = "Konverso", email = "contact@konverso.ai" }
10
+ ]
11
+ classifiers=[
12
+ "Programming Language :: Python :: 3",
13
+ "License :: OSI Approved :: MIT License",
14
+ "Operating System :: OS Independent",
15
+ ]
16
+ dependencies = [
17
+ "requests>=2.32.5",
18
+ ]
19
+
20
+ [project.urls]
21
+ Homepage = "https://www.konverso.ai/"
22
+ Source = "https://github.com/konverso-ai/kbot-py-client"
23
+
24
+ [build-system]
25
+ requires = ["uv_build>=0.9.4,<0.10.0"]
26
+ build-backend = "uv_build"
27
+
28
+ [tool.uv.build-backend]
29
+ module-name = "kbot_client"
30
+ module-root = ""
31
+
32
+ [dependency-groups]
33
+ lint = [
34
+ "pylint>=4.0.1",
35
+ "ruff==0.14.1",
36
+ ]
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Konverso
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,283 +0,0 @@
1
- [tool.poetry]
2
- name = "kbot-py-client"
3
- version = "2.1.2"
4
- description = "Client for Konverso Kbot."
5
- authors = ["Konverso <contact@konverso.ai>"]
6
- classifiers=[
7
- "Programming Language :: Python :: 3",
8
- "License :: OSI Approved :: MIT License",
9
- "Operating System :: OS Independent",
10
- ]
11
- readme = "README.md"
12
- license = "MIT"
13
- packages = [
14
- { include = "kbot_client" },
15
- ]
16
-
17
- [tool.poetry.urls]
18
- Homepage = "https://www.konverso.ai/"
19
- Source = "https://github.com/konverso-ai/kbot-py-client"
20
-
21
- [tool.poetry.dependencies]
22
- python = ">=3.10"
23
- requests = ">=2.27.1"
24
-
25
- [tool.poetry.group.dev.dependencies]
26
- pylint = "^3.3.4"
27
- ruff = "^0.9.4"
28
-
29
- [build-system]
30
- requires = ["poetry-core"]
31
- build-backend = "poetry.core.masonry.api"
32
-
33
- [tool.pylint]
34
- # Master section
35
- extension-pkg-whitelist = []
36
- ignore = ["CVS", ".git", ".ruff_cache", ".venv"]
37
- ignore-patterns = []
38
- jobs = 1
39
- load-plugins = ["pylint.extensions.no_self_use"]
40
- persistent = true
41
- unsafe-load-any-extension = false
42
-
43
- [tool.pylint.messages_control]
44
- confidence = []
45
- disable = [
46
- "invalid-name",
47
- "fixme",
48
- "too-many-arguments",
49
- "too-many-locals",
50
- "too-many-branches",
51
- "bare-except",
52
- "broad-except",
53
- "no-self-use",
54
- "too-few-public-methods",
55
- "too-many-public-methods",
56
- "too-many-instance-attributes",
57
- "too-many-nested-blocks",
58
- "too-many-statements",
59
- "too-many-return-statements",
60
- "unused-argument",
61
- "too-many-ancestors",
62
- "wildcard-import",
63
- "abstract-method",
64
- "missing-docstring"
65
- ]
66
- enable = []
67
-
68
- [tool.pylint.reports]
69
- evaluation = "10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)"
70
- msg-template = "{path}:{module}:{line}: [{msg_id}({symbol}), {obj}] {msg}"
71
- output-format = "colorized"
72
- reports = true
73
- score = true
74
-
75
- [tool.pylint.refactoring]
76
- max-nested-blocks = 5
77
-
78
- [tool.pylint.basic]
79
- argument-rgx = "(([a-z][A-Za-z0-9_]{2,30})|(_[a-z0-9_]*))$"
80
- attr-rgx = "(([a-z][A-Za-z0-9_]{2,30})|(_[a-z0-9_]*))$"
81
- bad-names = ["foo", "bar", "baz", "toto", "tutu", "tata"]
82
- class-attribute-rgx = "([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$"
83
- class-rgx = "[A-Z_][a-zA-Z0-9]+$"
84
- const-rgx = "(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$"
85
- docstring-min-length = -1
86
- function-rgx = "(([a-zA-Z][A-Za-z0-9_]{2,30})|(_[a-zA-Z0-9_]*))$"
87
- good-names = ["i", "j", "k", "ex", "Run", "_"]
88
- include-naming-hint = false
89
- inlinevar-rgx = "[A-Za-z_][A-Za-z0-9_]*$"
90
- method-rgx = "(([a-zA-Z][a-zA-Z0-9_]{2,40})|(_[a-zA-Z0-9_]*))$"
91
- module-rgx = "(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$"
92
- name-group = []
93
- no-docstring-rgx = "^_"
94
- property-classes = ["abc.abstractproperty"]
95
- variable-rgx = "(([a-z][A-Za-z0-9_]{0,30})|(_[a-z0-9_]*))$"
96
-
97
- [tool.pylint.format]
98
- expected-line-ending-format = "LF"
99
- ignore-long-lines = "^\\s*(# )?<?https?://\\S+>?$"
100
- indent-after-paren = 4
101
- indent-string = " "
102
- max-line-length = 120
103
- max-module-lines = 1000
104
- single-line-class-stmt = false
105
- single-line-if-stmt = false
106
-
107
- [tool.pylint.spelling]
108
- spelling-dict = ""
109
- spelling-ignore-words = []
110
- spelling-private-dict-file = ""
111
- spelling-store-unknown-words = false
112
-
113
- [tool.pylint.miscellaneous]
114
- notes = ["FIXME", "XXX", "TODO"]
115
-
116
- [tool.pylint.similarities]
117
- ignore-comments = true
118
- ignore-docstrings = true
119
- ignore-imports = false
120
- min-similarity-lines = 4
121
-
122
- [tool.pylint.variables]
123
- additional-builtins = []
124
- allow-global-unused-variables = true
125
- callbacks = ["cb_", "_cb"]
126
- dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy"
127
- ignored-argument-names = "_.*"
128
- init-import = false
129
- redefining-builtins-modules = ["six.moves", "future.builtins"]
130
-
131
- [tool.pylint.typecheck]
132
- contextmanager-decorators = ["contextlib.contextmanager"]
133
- generated-members = []
134
- ignore-mixin-members = true
135
- ignored-classes = ["optparse.Values", "thread._local", "_thread._local"]
136
- ignored-modules = []
137
- missing-member-hint = true
138
- missing-member-hint-distance = 1
139
- missing-member-max-choices = 1
140
-
141
- [tool.pylint.logging]
142
- logging-modules = ["logging"]
143
-
144
- [tool.pylint.imports]
145
- allow-wildcard-with-all = false
146
- analyse-fallback-blocks = false
147
- deprecated-modules = ["optparse", "tkinter.tix"]
148
- ext-import-graph = ""
149
- import-graph = ""
150
- int-import-graph = ""
151
- known-standard-library = []
152
- known-third-party = ["enchant"]
153
-
154
- [tool.pylint.design]
155
- max-args = 5
156
- max-attributes = 7
157
- max-bool-expr = 5
158
- max-branches = 12
159
- max-locals = 15
160
- max-parents = 7
161
- max-public-methods = 20
162
- max-returns = 6
163
- max-statements = 50
164
- min-public-methods = 2
165
-
166
- [tool.pylint.classes]
167
- defining-attr-methods = ["__init__", "__new__", "setUp"]
168
- exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make"]
169
- valid-classmethod-first-arg = ["cls"]
170
- valid-metaclass-classmethod-first-arg = ["mcs"]
171
-
172
- [tool.pylint.exceptions]
173
- overgeneral-exceptions = ["builtins.Exception"]
174
-
175
- [tool.pylint.'MASTER']
176
- ignore-patterns = "test*.py"
177
-
178
-
179
- [tool.pytest]
180
- testpaths = "tests"
181
- addopts = "-vv"
182
- python_files = "test_*.py"
183
-
184
- [tool.pytest.ini_options]
185
- asyncio_mode = "auto"
186
-
187
- [tool.ruff]
188
- # Exclude a variety of commonly ignored directories.
189
- exclude = [
190
- ".bzr",
191
- ".direnv",
192
- ".eggs",
193
- ".git",
194
- ".git-rewrite",
195
- ".hg",
196
- ".ipynb_checkpoints",
197
- ".mypy_cache",
198
- ".nox",
199
- ".pants.d",
200
- ".pyenv",
201
- ".pytest_cache",
202
- ".pytype",
203
- ".ruff_cache",
204
- ".svn",
205
- ".tox",
206
- ".venv",
207
- ".vscode",
208
- "__pypackages__",
209
- "_build",
210
- "buck-out",
211
- "build",
212
- "dist",
213
- "node_modules",
214
- "site-packages",
215
- "venv",
216
- ]
217
-
218
- line-length = 120
219
- indent-width = 4
220
-
221
- # Assume Python 3.12
222
- target-version = "py312"
223
-
224
- output-format = "grouped"
225
-
226
- [tool.ruff.lint]
227
- # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
228
- # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
229
- # McCabe complexity (`C901`) by default.
230
- select = ["ALL"]
231
- ignore = [
232
- "D100",
233
- "D106",
234
- "D203",
235
- "D213",
236
- "ARG002",
237
- "ANN002",
238
- "ANN003",
239
- "S101",
240
- "FBT001",
241
- "FBT002",
242
- ]
243
-
244
- # Allow fix for all enabled rules (when `--fix`) is provided.
245
- fixable = ["ALL"]
246
- unfixable = []
247
-
248
- # Allow unused variables when underscore-prefixed.
249
- # dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
250
-
251
- [tool.ruff.lint.extend-per-file-ignores]
252
- # Also ignore `E402` in all `__init__.py` files.
253
- "__init__.py" = ["D104", "E402", "F401"]
254
-
255
- [tool.ruff.format]
256
- # Like Black, use double quotes for strings.
257
- quote-style = "double"
258
-
259
- # Like Black, indent with spaces, rather than tabs.
260
- indent-style = "space"
261
-
262
- # Like Black, respect magic trailing commas.
263
- skip-magic-trailing-comma = false
264
-
265
- # Like Black, automatically detect the appropriate line ending.
266
- line-ending = "auto"
267
-
268
- # Enable auto-formatting of code examples in docstrings. Markdown,
269
- # reStructuredText code/literal blocks and doctests are all supported.
270
- #
271
- # This is currently disabled by default, but it is planned for this
272
- # to be opt-out in the future.
273
- docstring-code-format = false
274
-
275
- # Set the line length limit used when formatting code snippets in
276
- # docstrings.
277
- #
278
- # This only has an effect when the `docstring-code-format` setting is
279
- # enabled.
280
- docstring-code-line-length = "dynamic"
281
-
282
- [tool.ruff.lint.isort]
283
- known-first-party = ["kbot_client"]
File without changes