idegym-client 0.9.0__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.
- idegym_client-0.9.0/.gitignore +294 -0
- idegym_client-0.9.0/PKG-INFO +14 -0
- idegym_client-0.9.0/pyproject.toml +26 -0
- idegym_client-0.9.0/src/idegym/client/__init__.py +16 -0
- idegym_client-0.9.0/src/idegym/client/client.py +401 -0
- idegym_client-0.9.0/src/idegym/client/operations/__init__.py +0 -0
- idegym_client-0.9.0/src/idegym/client/operations/clients.py +83 -0
- idegym_client-0.9.0/src/idegym/client/operations/files.py +65 -0
- idegym_client-0.9.0/src/idegym/client/operations/forwarding.py +59 -0
- idegym_client-0.9.0/src/idegym/client/operations/jobs.py +113 -0
- idegym_client-0.9.0/src/idegym/client/operations/project.py +30 -0
- idegym_client-0.9.0/src/idegym/client/operations/rewards.py +74 -0
- idegym_client-0.9.0/src/idegym/client/operations/servers.py +223 -0
- idegym_client-0.9.0/src/idegym/client/operations/tools.py +35 -0
- idegym_client-0.9.0/src/idegym/client/operations/utils.py +211 -0
- idegym_client-0.9.0/src/idegym/client/otel.py +86 -0
- idegym_client-0.9.0/src/idegym/client/server.py +301 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
### Python template
|
|
2
|
+
# Byte-compiled / optimized / DLL files
|
|
3
|
+
__pycache__/
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
|
|
7
|
+
# C extensions
|
|
8
|
+
*.so
|
|
9
|
+
|
|
10
|
+
# Distribution / packaging
|
|
11
|
+
.Python
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
wheels/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Installer logs
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.nox/
|
|
42
|
+
.coverage
|
|
43
|
+
.coverage.*
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
*.cover
|
|
48
|
+
*.py,cover
|
|
49
|
+
.hypothesis/
|
|
50
|
+
.pytest_cache/
|
|
51
|
+
cover/
|
|
52
|
+
|
|
53
|
+
# Translations
|
|
54
|
+
*.mo
|
|
55
|
+
*.pot
|
|
56
|
+
|
|
57
|
+
# Django stuff:
|
|
58
|
+
*.log
|
|
59
|
+
local_settings.py
|
|
60
|
+
db.sqlite3
|
|
61
|
+
db.sqlite3-journal
|
|
62
|
+
|
|
63
|
+
# Flask stuff:
|
|
64
|
+
instance/
|
|
65
|
+
.webassets-cache
|
|
66
|
+
|
|
67
|
+
# Scrapy stuff:
|
|
68
|
+
.scrapy
|
|
69
|
+
|
|
70
|
+
# Sphinx documentation
|
|
71
|
+
docs/_build/
|
|
72
|
+
|
|
73
|
+
# PyBuilder
|
|
74
|
+
.pybuilder/
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pdm
|
|
85
|
+
.pdm.toml
|
|
86
|
+
.pdm-python
|
|
87
|
+
.pdm-build/
|
|
88
|
+
|
|
89
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
90
|
+
__pypackages__/
|
|
91
|
+
|
|
92
|
+
# Celery stuff
|
|
93
|
+
celerybeat-schedule
|
|
94
|
+
celerybeat.pid
|
|
95
|
+
|
|
96
|
+
# SageMath parsed files
|
|
97
|
+
*.sage.py
|
|
98
|
+
|
|
99
|
+
# Environments
|
|
100
|
+
.env
|
|
101
|
+
.venv
|
|
102
|
+
env/
|
|
103
|
+
venv/
|
|
104
|
+
ENV/
|
|
105
|
+
env.bak/
|
|
106
|
+
venv.bak/
|
|
107
|
+
|
|
108
|
+
# Spyder project settings
|
|
109
|
+
.spyderproject
|
|
110
|
+
.spyproject
|
|
111
|
+
|
|
112
|
+
# Rope project settings
|
|
113
|
+
.ropeproject
|
|
114
|
+
|
|
115
|
+
# mkdocs documentation
|
|
116
|
+
/site
|
|
117
|
+
|
|
118
|
+
# mypy
|
|
119
|
+
.mypy_cache/
|
|
120
|
+
.dmypy.json
|
|
121
|
+
dmypy.json
|
|
122
|
+
|
|
123
|
+
# Pyre type checker
|
|
124
|
+
.pyre/
|
|
125
|
+
|
|
126
|
+
# pytype static type analyzer
|
|
127
|
+
.pytype/
|
|
128
|
+
|
|
129
|
+
# Cython debug symbols
|
|
130
|
+
cython_debug/
|
|
131
|
+
|
|
132
|
+
### PyCharm template
|
|
133
|
+
# User-specific stuff
|
|
134
|
+
.idea/**/workspace.xml
|
|
135
|
+
.idea/**/tasks.xml
|
|
136
|
+
.idea/**/usage.statistics.xml
|
|
137
|
+
.idea/**/dictionaries
|
|
138
|
+
.idea/**/shelf
|
|
139
|
+
|
|
140
|
+
# AWS User-specific
|
|
141
|
+
.idea/**/aws.xml
|
|
142
|
+
|
|
143
|
+
# Generated files
|
|
144
|
+
.idea/**/contentModel.xml
|
|
145
|
+
|
|
146
|
+
# Sensitive or high-churn files
|
|
147
|
+
.idea/**/dataSources/
|
|
148
|
+
.idea/**/dataSources.ids
|
|
149
|
+
.idea/**/dataSources.local.xml
|
|
150
|
+
.idea/**/dataSources.xml
|
|
151
|
+
.idea/**/sqlDataSources.xml
|
|
152
|
+
.idea/**/dynamic.xml
|
|
153
|
+
.idea/**/uiDesigner.xml
|
|
154
|
+
.idea/**/dbnavigator.xml
|
|
155
|
+
|
|
156
|
+
# Gradle
|
|
157
|
+
.idea/**/gradle.xml
|
|
158
|
+
.idea/**/libraries
|
|
159
|
+
|
|
160
|
+
# Module files
|
|
161
|
+
*.iml
|
|
162
|
+
|
|
163
|
+
# Project structure
|
|
164
|
+
.idea/**/misc.xml
|
|
165
|
+
.idea/**/modules.xml
|
|
166
|
+
.idea/pySourceRootDetection.xml
|
|
167
|
+
.idea/**/inspectionProfiles/
|
|
168
|
+
.idea/**/runConfigurations/
|
|
169
|
+
|
|
170
|
+
# CMake
|
|
171
|
+
cmake-build-*/
|
|
172
|
+
|
|
173
|
+
# Mongo Explorer plugin
|
|
174
|
+
.idea/**/mongoSettings.xml
|
|
175
|
+
|
|
176
|
+
# File-based project format
|
|
177
|
+
*.iws
|
|
178
|
+
|
|
179
|
+
# IntelliJ
|
|
180
|
+
out/
|
|
181
|
+
|
|
182
|
+
# mpeltonen/sbt-idea plugin
|
|
183
|
+
.idea_modules/
|
|
184
|
+
|
|
185
|
+
# JIRA plugin
|
|
186
|
+
atlassian-ide-plugin.xml
|
|
187
|
+
|
|
188
|
+
# Cursive Clojure plugin
|
|
189
|
+
.idea/replstate.xml
|
|
190
|
+
|
|
191
|
+
# SonarLint plugin
|
|
192
|
+
.idea/sonarlint/
|
|
193
|
+
|
|
194
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
195
|
+
com_crashlytics_export_strings.xml
|
|
196
|
+
crashlytics.properties
|
|
197
|
+
crashlytics-build.properties
|
|
198
|
+
fabric.properties
|
|
199
|
+
|
|
200
|
+
# Editor-based Rest Client
|
|
201
|
+
.idea/httpRequests
|
|
202
|
+
|
|
203
|
+
# Android studio 3.1+ serialized cache file
|
|
204
|
+
.idea/caches/build_file_checksums.ser
|
|
205
|
+
|
|
206
|
+
### Linux template
|
|
207
|
+
# General
|
|
208
|
+
*~
|
|
209
|
+
|
|
210
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
211
|
+
.fuse_hidden*
|
|
212
|
+
|
|
213
|
+
# KDE directory preferences
|
|
214
|
+
.directory
|
|
215
|
+
|
|
216
|
+
# Linux trash folder which might appear on any partition or disk
|
|
217
|
+
.Trash-*
|
|
218
|
+
|
|
219
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
220
|
+
.nfs*
|
|
221
|
+
|
|
222
|
+
### macOS template
|
|
223
|
+
# General
|
|
224
|
+
.DS_Store
|
|
225
|
+
.AppleDouble
|
|
226
|
+
.LSOverride
|
|
227
|
+
|
|
228
|
+
# Icon must end with two \r
|
|
229
|
+
Icon
|
|
230
|
+
|
|
231
|
+
# Thumbnails
|
|
232
|
+
._*
|
|
233
|
+
|
|
234
|
+
# Files that might appear in the root of a volume
|
|
235
|
+
.DocumentRevisions-V100
|
|
236
|
+
.fseventsd
|
|
237
|
+
.Spotlight-V100
|
|
238
|
+
.TemporaryItems
|
|
239
|
+
.Trashes
|
|
240
|
+
.VolumeIcon.icns
|
|
241
|
+
.com.apple.timemachine.donotpresent
|
|
242
|
+
|
|
243
|
+
# Directories potentially created on remote AFP share
|
|
244
|
+
.AppleDB
|
|
245
|
+
.AppleDesktop
|
|
246
|
+
Network Trash Folder
|
|
247
|
+
Temporary Items
|
|
248
|
+
.apdisk
|
|
249
|
+
|
|
250
|
+
### Archives template
|
|
251
|
+
# It's better to unpack these files and commit the raw source because
|
|
252
|
+
# git has its own built in compression methods.
|
|
253
|
+
*.7z
|
|
254
|
+
*.jar
|
|
255
|
+
*.rar
|
|
256
|
+
*.zip
|
|
257
|
+
!plugins/pycharm/project-opener/project-opener.zip
|
|
258
|
+
!plugins/idea/project-opener/project-opener.zip
|
|
259
|
+
*.gz
|
|
260
|
+
*.gzip
|
|
261
|
+
*.tgz
|
|
262
|
+
*.bzip
|
|
263
|
+
*.bzip2
|
|
264
|
+
*.bz2
|
|
265
|
+
*.xz
|
|
266
|
+
*.lzma
|
|
267
|
+
*.cab
|
|
268
|
+
*.xar
|
|
269
|
+
*.zst
|
|
270
|
+
*.tzst
|
|
271
|
+
|
|
272
|
+
# Packing-only formats
|
|
273
|
+
*.iso
|
|
274
|
+
*.tar
|
|
275
|
+
|
|
276
|
+
# Package management formats
|
|
277
|
+
*.dmg
|
|
278
|
+
*.xpi
|
|
279
|
+
*.gem
|
|
280
|
+
*.deb
|
|
281
|
+
*.rpm
|
|
282
|
+
*.msi
|
|
283
|
+
*.msm
|
|
284
|
+
*.msp
|
|
285
|
+
*.txz
|
|
286
|
+
|
|
287
|
+
### Dev Container template
|
|
288
|
+
.*.temp.dockerfile
|
|
289
|
+
|
|
290
|
+
### Project template
|
|
291
|
+
.project/
|
|
292
|
+
/test-results.xml
|
|
293
|
+
examples/*.json
|
|
294
|
+
examples/**/*.patch
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: idegym-client
|
|
3
|
+
Version: 0.9.0
|
|
4
|
+
Summary: IdeGYM Client
|
|
5
|
+
Author-email: Daniil Mironov <daniil.mironov@jetbrains.com>, Ozren Dabić <ozren.dabic@jetbrains.com>, Valentin Fondaratov <valentin.fondaratov@jetbrains.com>, Vladimir Poliakov <vladimir.poliakov@jetbrains.com>
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Requires-Dist: httpx>=0.28.1
|
|
8
|
+
Requires-Dist: idegym-api>=0.9.0
|
|
9
|
+
Requires-Dist: idegym-common-utils>=0.9.0
|
|
10
|
+
Requires-Dist: pydantic>=2.10.6
|
|
11
|
+
Provides-Extra: otel
|
|
12
|
+
Requires-Dist: opentelemetry-exporter-otlp>=1.36.0; extra == 'otel'
|
|
13
|
+
Requires-Dist: opentelemetry-instrumentation-httpx>=0.57b0; extra == 'otel'
|
|
14
|
+
Requires-Dist: opentelemetry-sdk>=1.36.0; extra == 'otel'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "idegym-client"
|
|
3
|
+
version = "0.9.0"
|
|
4
|
+
description = "IdeGYM Client"
|
|
5
|
+
authors = [
|
|
6
|
+
{ name = "Daniil Mironov", email = "daniil.mironov@jetbrains.com" },
|
|
7
|
+
{ name = "Ozren Dabić", email = "ozren.dabic@jetbrains.com" },
|
|
8
|
+
{ name = "Valentin Fondaratov", email = "valentin.fondaratov@jetbrains.com" },
|
|
9
|
+
{ name = "Vladimir Poliakov", email = "vladimir.poliakov@jetbrains.com" },
|
|
10
|
+
]
|
|
11
|
+
requires-python = ">=3.12"
|
|
12
|
+
dependencies = ["httpx>=0.28.1", "idegym-api>=0.9.0", "idegym-common-utils>=0.9.0", "pydantic>=2.10.6"]
|
|
13
|
+
|
|
14
|
+
[project.optional-dependencies]
|
|
15
|
+
otel = [
|
|
16
|
+
"opentelemetry-exporter-otlp>=1.36.0",
|
|
17
|
+
"opentelemetry-instrumentation-httpx>=0.57b0",
|
|
18
|
+
"opentelemetry-sdk>=1.36.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[build-system]
|
|
22
|
+
requires = ["hatchling"]
|
|
23
|
+
build-backend = "hatchling.build"
|
|
24
|
+
|
|
25
|
+
[tool.hatch.build.targets.wheel]
|
|
26
|
+
packages = ["src/idegym"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
2
|
+
|
|
3
|
+
from idegym.client.client import IdeGYMClient
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
__version__ = version("idegym-client")
|
|
7
|
+
except PackageNotFoundError:
|
|
8
|
+
__version__ = "0.0.0.dev0"
|
|
9
|
+
|
|
10
|
+
if __version__ == "0.0.0.dev0":
|
|
11
|
+
__version__ = "latest"
|
|
12
|
+
|
|
13
|
+
__all__ = (
|
|
14
|
+
"__version__",
|
|
15
|
+
"IdeGYMClient",
|
|
16
|
+
)
|