yamloom 0.1.0__cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.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.
@@ -0,0 +1,360 @@
1
+ from collections.abc import Sequence
2
+ from typing import ClassVar, Union
3
+
4
+ BoolLike = Union[bool, BooleanExpression]
5
+ NumberLike = Union[float, int, NumberExpression]
6
+ StringLike = Union[str, StringExpression]
7
+
8
+ class BooleanExpression:
9
+ def as_num(self) -> NumberExpression: ...
10
+ def as_str(self) -> StringExpression: ...
11
+ def as_obj(self) -> ObjectExpression: ...
12
+ def __invert__(self) -> BooleanExpression: ...
13
+ def __and__(self, other: BoolLike) -> BooleanExpression: ...
14
+ def __or__(self, other: BoolLike) -> BooleanExpression: ...
15
+ def __eq__(self, other: BoolLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
16
+ def __ne__(self, other: BoolLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
17
+ def if_else(
18
+ self, condition: BoolLike, else_expr: BoolLike
19
+ ) -> BooleanExpression: ...
20
+ def to_json(self) -> ObjectExpression: ...
21
+
22
+ class NumberExpression:
23
+ def as_bool(self) -> BooleanExpression: ...
24
+ def as_str(self) -> StringExpression: ...
25
+ def as_obj(self) -> ObjectExpression: ...
26
+ def __lt__(self, other: NumberLike) -> BooleanExpression: ...
27
+ def __le__(self, other: NumberLike) -> BooleanExpression: ...
28
+ def __gt__(self, other: NumberLike) -> BooleanExpression: ...
29
+ def __ge__(self, other: NumberLike) -> BooleanExpression: ...
30
+ def __eq__(self, other: NumberLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
31
+ def __ne__(self, other: NumberLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
32
+ def if_else(
33
+ self, condition: BoolLike, else_expr: NumberLike
34
+ ) -> NumberExpression: ...
35
+ def to_json(self) -> ObjectExpression: ...
36
+
37
+ class StringExpression:
38
+ def as_bool(self) -> BooleanExpression: ...
39
+ def as_num(self) -> NumberExpression: ...
40
+ def as_obj(self) -> ObjectExpression: ...
41
+ def __eq__(self, other: StringLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
42
+ def __ne__(self, other: StringLike) -> BooleanExpression: ... # ty:ignore[invalid-method-override]
43
+ def contains(self, other: StringLike) -> BooleanExpression: ...
44
+ def startswith(self, other: StringLike) -> BooleanExpression: ...
45
+ def endswith(self, other: StringLike) -> BooleanExpression: ...
46
+ def format(self, args: Sequence[StringLike]) -> StringExpression: ...
47
+ def to_json(self) -> ObjectExpression: ...
48
+ def from_json_to_bool(self) -> BooleanExpression: ...
49
+ def from_json_to_num(self) -> NumberExpression: ...
50
+ def from_json_to_str(self) -> StringExpression: ...
51
+ def from_json_to_array(self) -> ArrayExpression: ...
52
+ def from_json_to_obj(self) -> ObjectExpression: ...
53
+ def hash_files(
54
+ self, others: Sequence[StringLike] | None = None
55
+ ) -> StringExpression: ...
56
+ def if_else(
57
+ self, condition: BoolLike, else_expr: StringLike
58
+ ) -> StringExpression: ...
59
+
60
+ class ArrayExpression:
61
+ def as_num(self) -> NumberExpression: ...
62
+ def as_obj(self) -> ObjectExpression: ...
63
+ def contains(self, other: ObjectExpression) -> BooleanExpression: ...
64
+ def join(self, separator: StringLike | None = None) -> StringExpression: ...
65
+ def to_json(self) -> ObjectExpression: ...
66
+
67
+ class ObjectExpression:
68
+ def as_num(self) -> NumberExpression: ...
69
+ def as_str(self) -> StringExpression: ...
70
+ def as_bool(self) -> BooleanExpression: ...
71
+ def as_array(self) -> ArrayExpression: ...
72
+ def to_json(self) -> ObjectExpression: ...
73
+ def from_json_to_bool(self) -> BooleanExpression: ...
74
+ def from_json_to_num(self) -> NumberExpression: ...
75
+ def from_json_to_str(self) -> ObjectExpression: ...
76
+ def from_json_to_array(self) -> ArrayExpression: ...
77
+ def from_json_to_obj(self) -> ObjectExpression: ...
78
+ def __getitem__(self, key: str) -> ObjectExpression: ...
79
+ def __getattr__(self, key: str) -> ObjectExpression: ...
80
+ def get(self, key: str) -> ObjectExpression: ...
81
+
82
+ class GithubContext:
83
+ @property
84
+ def expr(self) -> ObjectExpression: ...
85
+ @property
86
+ def action(self) -> StringExpression: ...
87
+ @property
88
+ def action_path(self) -> StringExpression: ...
89
+ @property
90
+ def action_ref(self) -> StringExpression: ...
91
+ @property
92
+ def action_repository(self) -> StringExpression: ...
93
+ @property
94
+ def action_status(self) -> StringExpression: ...
95
+ @property
96
+ def actor(self) -> StringExpression: ...
97
+ @property
98
+ def actor_id(self) -> StringExpression: ...
99
+ @property
100
+ def api_url(self) -> StringExpression: ...
101
+ @property
102
+ def base_ref(self) -> StringExpression: ...
103
+ @property
104
+ def env(self) -> StringExpression: ...
105
+ @property
106
+ def event(self) -> ObjectExpression: ...
107
+ @property
108
+ def event_name(self) -> StringExpression: ...
109
+ @property
110
+ def event_path(self) -> StringExpression: ...
111
+ @property
112
+ def graphql_url(self) -> StringExpression: ...
113
+ @property
114
+ def head_ref(self) -> StringExpression: ...
115
+ @property
116
+ def job(self) -> StringExpression: ...
117
+ @property
118
+ def path(self) -> StringExpression: ...
119
+ @property
120
+ def ref(self) -> StringExpression: ...
121
+ @property
122
+ def ref_name(self) -> StringExpression: ...
123
+ @property
124
+ def ref_protected(self) -> BooleanExpression: ...
125
+ @property
126
+ def ref_type(self) -> StringExpression: ...
127
+ @property
128
+ def repository(self) -> StringExpression: ...
129
+ @property
130
+ def reporitory_id(self) -> StringExpression: ...
131
+ @property
132
+ def repositor_owner(self) -> StringExpression: ...
133
+ @property
134
+ def repository_owner_id(self) -> StringExpression: ...
135
+ @property
136
+ def repository_url(self) -> StringExpression: ...
137
+ @property
138
+ def retention_days(self) -> StringExpression: ...
139
+ @property
140
+ def run_id(self) -> StringExpression: ...
141
+ @property
142
+ def run_number(self) -> StringExpression: ...
143
+ @property
144
+ def run_attempt(self) -> StringExpression: ...
145
+ @property
146
+ def secret_source(self) -> StringExpression: ...
147
+ @property
148
+ def server_url(self) -> StringExpression: ...
149
+ @property
150
+ def sha(self) -> StringExpression: ...
151
+ @property
152
+ def token(self) -> StringExpression: ...
153
+ @property
154
+ def triggering_actor(self) -> StringExpression: ...
155
+ @property
156
+ def workflow(self) -> StringExpression: ...
157
+ @property
158
+ def workflow_ref(self) -> StringExpression: ...
159
+ @property
160
+ def workflow_sha(self) -> StringExpression: ...
161
+ @property
162
+ def workspace(self) -> StringExpression: ...
163
+
164
+ class EnvContext:
165
+ @property
166
+ def expr(self) -> ObjectExpression: ...
167
+ def __getitem__(self, key: str) -> StringExpression: ...
168
+ def __getattr__(self, key: str) -> StringExpression: ...
169
+
170
+ class VarsContext:
171
+ @property
172
+ def expr(self) -> ObjectExpression: ...
173
+ def __getitem__(self, key: str) -> StringExpression: ...
174
+ def __getattr__(self, key: str) -> StringExpression: ...
175
+
176
+ class JobContainerContext:
177
+ @property
178
+ def expr(self) -> ObjectExpression: ...
179
+ @property
180
+ def id(self) -> StringExpression: ...
181
+ @property
182
+ def network(self) -> StringExpression: ...
183
+
184
+ class JobServicesIdContext:
185
+ @property
186
+ def expr(self) -> ObjectExpression: ...
187
+ @property
188
+ def id(self) -> StringExpression: ...
189
+ @property
190
+ def network(self) -> StringExpression: ...
191
+ @property
192
+ def ports(self) -> ObjectExpression: ...
193
+
194
+ class JobServicesContext:
195
+ @property
196
+ def expr(self) -> ObjectExpression: ...
197
+ def __getitem__(self, key: str) -> JobServicesIdContext: ...
198
+ def __getattr__(self, key: str) -> JobServicesIdContext: ...
199
+
200
+ class JobContext:
201
+ @property
202
+ def expr(self) -> ObjectExpression: ...
203
+ @property
204
+ def check_run_id(self) -> NumberExpression: ...
205
+ @property
206
+ def container(self) -> JobContainerContext: ...
207
+ @property
208
+ def services(self) -> JobServicesContext: ...
209
+ @property
210
+ def status(self) -> StringExpression: ...
211
+
212
+ class JobsJobIdOutputsContext:
213
+ @property
214
+ def expr(self) -> ObjectExpression: ...
215
+ def __getitem__(self, key: str) -> StringExpression: ...
216
+ def __getattr__(self, key: str) -> StringExpression: ...
217
+
218
+ class JobsJobIdContext:
219
+ @property
220
+ def expr(self) -> ObjectExpression: ...
221
+ @property
222
+ def result(self) -> StringExpression: ...
223
+ @property
224
+ def outputs(self) -> JobsJobIdOutputsContext: ...
225
+
226
+ class JobsContext:
227
+ @property
228
+ def expr(self) -> ObjectExpression: ...
229
+ def __getitem__(self, key: str) -> JobsJobIdContext: ...
230
+ def __getattr__(self, key: str) -> JobsJobIdContext: ...
231
+
232
+ class StepsStepIdOutputsContext:
233
+ @property
234
+ def expr(self) -> ObjectExpression: ...
235
+ def __getitem__(self, key: str) -> StringExpression: ...
236
+ def __getattr__(self, key: str) -> StringExpression: ...
237
+
238
+ class StepsStepIdContext:
239
+ @property
240
+ def expr(self) -> ObjectExpression: ...
241
+ @property
242
+ def outputs(self) -> StepsStepIdOutputsContext: ...
243
+ @property
244
+ def conclusion(self) -> StringExpression: ...
245
+ @property
246
+ def outcome(self) -> StringExpression: ...
247
+
248
+ class StepsContext:
249
+ @property
250
+ def expr(self) -> ObjectExpression: ...
251
+ def __getitem__(self, key: str) -> StepsStepIdContext: ...
252
+ def __getattr__(self, key: str) -> StepsStepIdContext: ...
253
+
254
+ class RunnerContext:
255
+ @property
256
+ def expr(self) -> ObjectExpression: ...
257
+ @property
258
+ def name(self) -> StringExpression: ...
259
+ @property
260
+ def os(self) -> StringExpression: ...
261
+ @property
262
+ def arch(self) -> StringExpression: ...
263
+ @property
264
+ def temp(self) -> StringExpression: ...
265
+ @property
266
+ def tool_cache(self) -> StringExpression: ...
267
+ @property
268
+ def debug(self) -> StringExpression: ...
269
+ @property
270
+ def environment(self) -> StringExpression: ...
271
+
272
+ class SecretsContext:
273
+ @property
274
+ def expr(self) -> ObjectExpression: ...
275
+ @property
276
+ def github_token(self) -> StringExpression: ...
277
+ def __getitem__(self, key: str) -> StringExpression: ...
278
+ def __getattr__(self, key: str) -> StringExpression: ...
279
+
280
+ class StrategyContext:
281
+ @property
282
+ def expr(self) -> ObjectExpression: ...
283
+ @property
284
+ def fail_fast(self) -> BooleanExpression: ...
285
+ @property
286
+ def job_index(self) -> NumberExpression: ...
287
+ @property
288
+ def job_total(self) -> NumberExpression: ...
289
+ @property
290
+ def max_parallel(self) -> NumberExpression: ...
291
+
292
+ class MatrixContext:
293
+ @property
294
+ def expr(self) -> ObjectExpression: ...
295
+ def __getitem__(self, key: str) -> ObjectExpression: ...
296
+ def __getattr__(self, key: str) -> ObjectExpression: ...
297
+
298
+ class NeedsJobIdOutputsContext:
299
+ @property
300
+ def expr(self) -> ObjectExpression: ...
301
+ def __getitem__(self, key: str) -> StringExpression: ...
302
+ def __getattr__(self, key: str) -> StringExpression: ...
303
+
304
+ class NeedsJobIdContext:
305
+ @property
306
+ def expr(self) -> ObjectExpression: ...
307
+ @property
308
+ def outputs(self) -> NeedsJobIdOutputsContext: ...
309
+ @property
310
+ def result(self) -> StringExpression: ...
311
+
312
+ class NeedsContext:
313
+ @property
314
+ def expr(self) -> ObjectExpression: ...
315
+ def __getitem__(self, key: str) -> NeedsJobIdContext: ...
316
+ def __getattr__(self, key: str) -> NeedsJobIdContext: ...
317
+
318
+ class InputsContext:
319
+ @property
320
+ def expr(self) -> ObjectExpression: ...
321
+ def __getitem__(self, key: str) -> ObjectExpression: ...
322
+ def __getattr__(self, key: str) -> ObjectExpression: ...
323
+
324
+ class context: # noqa: N801
325
+ github: ClassVar[GithubContext]
326
+ env: ClassVar[EnvContext]
327
+ vars: ClassVar[VarsContext]
328
+ job: ClassVar[JobContext]
329
+ jobs: ClassVar[JobsContext]
330
+ steps: ClassVar[StepsContext]
331
+ runner: ClassVar[RunnerContext]
332
+ secrets: ClassVar[SecretsContext]
333
+ strategy: ClassVar[StrategyContext]
334
+ matrix: ClassVar[MatrixContext]
335
+ needs: ClassVar[NeedsContext]
336
+ inputs: ClassVar[InputsContext]
337
+
338
+ def success() -> BooleanExpression: ...
339
+ def always() -> BooleanExpression: ...
340
+ def cancelled() -> BooleanExpression: ...
341
+ def failure() -> BooleanExpression: ...
342
+ def lit_str(s: str) -> StringExpression: ...
343
+ def lit_bool(b: bool) -> BooleanExpression: ...
344
+ def lit_num(n: float) -> NumberExpression: ...
345
+
346
+ __all__ = [
347
+ 'ArrayExpression',
348
+ 'BooleanExpression',
349
+ 'NumberExpression',
350
+ 'ObjectExpression',
351
+ 'StringExpression',
352
+ 'always',
353
+ 'cancelled',
354
+ 'context',
355
+ 'failure',
356
+ 'lit_bool',
357
+ 'lit_num',
358
+ 'lit_str',
359
+ 'success',
360
+ ]
yamloom/py.typed ADDED
File without changes
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: yamloom
3
+ Version: 0.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Python: >=3.9
@@ -0,0 +1,31 @@
1
+ yamloom/__init__.py,sha256=lvUXF2d_2onsNlqlOj1IUfVTWQRvjqLZAuvhj1_tIoM,89
2
+ yamloom/__init__.pyi,sha256=lvUXF2d_2onsNlqlOj1IUfVTWQRvjqLZAuvhj1_tIoM,89
3
+ yamloom/__main__.py,sha256=285oVoQGszpg5blTIEHUjfgd07bOPXxXck-SZboCHoA,1393
4
+ yamloom/_yamloom.cpython-314t-s390x-linux-gnu.so,sha256=-TRt7aKUseZcCBjYAJ6h2HooUq7d9s5plNNuF7ivvCE,1972768
5
+ yamloom/_yamloom.pyi,sha256=MJr_GZ5XHQNXf1CqHBa4DUY_O_1Q3OBpGFc9nzLHJi0,17057
6
+ yamloom/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ yamloom/actions/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ yamloom/actions/github/artifacts.py,sha256=9eDXNli8e-NEDEQNgmOVGFq4eNekokjwjvv433fCOGw,7558
9
+ yamloom/actions/github/cache.py,sha256=wD8wbVyKaN14X54X-9TfwWzuSPXaGRho3k7BbVOLFIA,5631
10
+ yamloom/actions/github/release.py,sha256=Sslw1EJ8jKccXTSf-2WFxGLsaT6awgqqSWSUadBIcWA,2694
11
+ yamloom/actions/github/scm.py,sha256=mOTSKkvXelOTMpUetEwFwYr7kS49vIAwFLQAj7FcOZ0,2906
12
+ yamloom/actions/packaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ yamloom/actions/packaging/python.py,sha256=r0Jfi4hyWZfZalYTsUc-rW0HglGcSRxNQLlhyILIPrU,2297
14
+ yamloom/actions/toolchains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ yamloom/actions/toolchains/dotnet.py,sha256=-McsBxwWoYboiAr0QdI_ZNaYZISnvgDAWKTr29hOxK8,2125
16
+ yamloom/actions/toolchains/go.py,sha256=GS7U2nv41ctv7DIu57Zn8RV4KB_qWw_RgDwxs5UimIE,1784
17
+ yamloom/actions/toolchains/java.py,sha256=g0kdXdjXpt9kX1nHOtWNHEUQbQtNF-e5wQaaOEe5PZA,2993
18
+ yamloom/actions/toolchains/node.py,sha256=Rx2pGiSZYq3V889HXm0HrqGnHUgpF0PjBebcZnUvRhE,3832
19
+ yamloom/actions/toolchains/php.py,sha256=bWbLXOYxtML1nTt25FZJLxpbYZ3yyzdLdKJPUs6Upgc,2025
20
+ yamloom/actions/toolchains/python.py,sha256=4TRyO6iXWwOx2a2C6Lxg2C9cnWhaeBXVVdQyu9hJUPc,6166
21
+ yamloom/actions/toolchains/ruby.py,sha256=MS_Ns_xOfrWA5LM8LQDR1scGVLZZQPuriW7KMKkyGlY,2077
22
+ yamloom/actions/toolchains/rust.py,sha256=IZp2pDChSttXUhBqv5HP3mzpW15QeTR21oiVuAei-ZQ,4476
23
+ yamloom/actions/toolchains/system.py,sha256=f4EFouFt2deu0oSIJ6rTS3lxyUpLR59Zv1e0v1vv2tg,1751
24
+ yamloom/actions/types.py,sha256=co4eINIts4JjZzxbM010mNjstF2K-00IIK_I43cbm6k,724
25
+ yamloom/actions/utils.py,sha256=JT5ROMgigIcq9lUGPqtQYE4Kha2KLZaR7cB3SttzweM,1021
26
+ yamloom/expressions.py,sha256=yPaQ0sw7R7yzz5r-8_2TowRt0zYRcI7i0SB-ork4jLI,123
27
+ yamloom/expressions.pyi,sha256=t2_4QbCf0GEEtw6JevdvG2xwC3gQYjJB2JsJvdt8lg8,12359
28
+ yamloom/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ yamloom-0.1.0.dist-info/METADATA,sha256=ZPK04SYe0hwmjNR2NliiGn-P5hPjePa7lqvSj_0tPIE,256
30
+ yamloom-0.1.0.dist-info/WHEEL,sha256=Z7mQdLZqghP63eJPC82KGLA4dcZQUuZpTYBSl3spcwk,147
31
+ yamloom-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.11.5)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314t-manylinux_2_17_s390x
5
+ Tag: cp314-cp314t-manylinux2014_s390x