forktex-cloud 0.2.3__tar.gz → 0.2.4__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.
- forktex_cloud-0.2.4/LICENSE +21 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/PKG-INFO +7 -41
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/README.md +2 -34
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/pyproject.toml +9 -35
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/__init__.py +1 -24
- forktex_cloud-0.2.4/src/forktex_cloud/bridge/__init__.py +1 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/bridge/local_compose.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/bridge/log_formatter.py +39 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/bridge/loki.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/bridge/persistence_defaults.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/client/__init__.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/client/client.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/client/generated/__init__.py +135 -166
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/config.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/manifest/__init__.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/manifest/errors.py +11 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/manifest/loader.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/manifest/merge.py +29 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/manifest/schema.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/paths.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/scaffold/__init__.py +1 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/scaffold/templates.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/secrets/__init__.py +1 -0
- forktex_cloud-0.2.4/src/forktex_cloud/secrets/base.py +29 -0
- forktex_cloud-0.2.4/src/forktex_cloud/secrets/factory.py +34 -0
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/secrets/fernet.py +0 -23
- {forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/secrets/resolver.py +0 -23
- forktex_cloud-0.2.4/src/forktex_cloud/templates/observability/loki.yml +32 -0
- forktex_cloud-0.2.4/src/forktex_cloud/templates/observability/promtail.yml +23 -0
- forktex_cloud-0.2.3/LICENSE +0 -45
- forktex_cloud-0.2.3/NOTICE +0 -23
- forktex_cloud-0.2.3/src/forktex_cloud/bridge/__init__.py +0 -24
- forktex_cloud-0.2.3/src/forktex_cloud/bridge/log_formatter.py +0 -62
- forktex_cloud-0.2.3/src/forktex_cloud/manifest/errors.py +0 -34
- forktex_cloud-0.2.3/src/forktex_cloud/manifest/merge.py +0 -52
- forktex_cloud-0.2.3/src/forktex_cloud/scaffold/__init__.py +0 -24
- forktex_cloud-0.2.3/src/forktex_cloud/secrets/__init__.py +0 -24
- forktex_cloud-0.2.3/src/forktex_cloud/secrets/base.py +0 -52
- forktex_cloud-0.2.3/src/forktex_cloud/secrets/factory.py +0 -57
- forktex_cloud-0.2.3/src/forktex_cloud/templates/observability/loki.yml +0 -55
- forktex_cloud-0.2.3/src/forktex_cloud/templates/observability/promtail.yml +0 -46
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ForkTex
|
|
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,23 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: forktex-cloud
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Typed Python SDK for the ForkTex Cloud platform — provision, deploy, and manage VPS-backed apps via a declarative manifest.
|
|
5
|
-
License-Expression:
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
|
-
License-File: NOTICE
|
|
8
7
|
Keywords: forktex,cloud,deployment,vps,hetzner,ansible,blue-green,iac,infrastructure-as-code,sdk
|
|
9
|
-
Author:
|
|
8
|
+
Author: ForkTex
|
|
10
9
|
Author-email: info@forktex.com
|
|
11
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.11
|
|
12
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
12
|
Classifier: Intended Audience :: Developers
|
|
14
13
|
Classifier: Intended Audience :: System Administrators
|
|
15
14
|
Classifier: Operating System :: OS Independent
|
|
16
15
|
Classifier: Programming Language :: Python :: 3
|
|
17
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
21
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
20
|
Classifier: Topic :: System :: Distributed Computing
|
|
23
21
|
Classifier: Topic :: System :: Installation/Setup
|
|
@@ -52,7 +50,7 @@ You can use it directly from any Python application — no `forktex` CLI require
|
|
|
52
50
|
pip install forktex-cloud
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
Requires Python ≥ 3.11.
|
|
56
54
|
|
|
57
55
|
## Quick Start
|
|
58
56
|
|
|
@@ -188,39 +186,7 @@ This SDK lives inside the [`forktex/cloud`](https://github.com/forktex/cloud) mo
|
|
|
188
186
|
- Production runbook: [production-runbook.md](https://github.com/forktex/cloud/blob/master/docs/production-runbook.md)
|
|
189
187
|
- Issues: [https://github.com/forktex/cloud/issues](https://github.com/forktex/cloud/issues)
|
|
190
188
|
|
|
191
|
-
## Development
|
|
192
|
-
|
|
193
|
-
The [`Makefile`](Makefile) is generated by `forktex fsd makefile sync` from [`forktex.json`](forktex.json) — do not hand-edit.
|
|
194
|
-
|
|
195
|
-
```bash
|
|
196
|
-
make help # list every available target
|
|
197
|
-
make deps # editable install with the dev group
|
|
198
|
-
make format # ruff format
|
|
199
|
-
make lint # ruff check
|
|
200
|
-
make test # pytest tests/
|
|
201
|
-
make codegen-check # verify the generated client imports cleanly
|
|
202
|
-
make build # python3 -m build → dist/
|
|
203
|
-
make ci # format-check + lint + license-check + audit + test + build
|
|
204
|
-
make clean # remove caches and dist/
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
`make ci` is the single command that gates a publish: format-check, lint, dual-license header check, dependency CVE audit, full test suite, and `python -m build` + `twine check`.
|
|
208
|
-
|
|
209
|
-
### License headers
|
|
210
|
-
|
|
211
|
-
Every source file carries the AGPL-3.0 + Commercial dual-license SPDX header, applied idempotently via:
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
make license-check # CI gate — fails if any source file is missing the header
|
|
215
|
-
make license-fix # add or refresh headers across src/, tests/, scripts/
|
|
216
|
-
make license-strip # remove headers (used before license-model changes)
|
|
217
|
-
```
|
|
218
|
-
|
|
219
189
|
## License
|
|
220
190
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
Commercial licensing inquiries: info@forktex.com.
|
|
224
|
-
|
|
225
|
-
The 1.0.x releases on PyPI remain under MIT; from **0.2.3** onwards the package ships AGPL-3.0+Commercial.
|
|
191
|
+
MIT — see [LICENSE](LICENSE).
|
|
226
192
|
|
|
@@ -16,7 +16,7 @@ You can use it directly from any Python application — no `forktex` CLI require
|
|
|
16
16
|
pip install forktex-cloud
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Requires Python ≥ 3.11.
|
|
20
20
|
|
|
21
21
|
## Quick Start
|
|
22
22
|
|
|
@@ -152,38 +152,6 @@ This SDK lives inside the [`forktex/cloud`](https://github.com/forktex/cloud) mo
|
|
|
152
152
|
- Production runbook: [production-runbook.md](https://github.com/forktex/cloud/blob/master/docs/production-runbook.md)
|
|
153
153
|
- Issues: [https://github.com/forktex/cloud/issues](https://github.com/forktex/cloud/issues)
|
|
154
154
|
|
|
155
|
-
## Development
|
|
156
|
-
|
|
157
|
-
The [`Makefile`](Makefile) is generated by `forktex fsd makefile sync` from [`forktex.json`](forktex.json) — do not hand-edit.
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
make help # list every available target
|
|
161
|
-
make deps # editable install with the dev group
|
|
162
|
-
make format # ruff format
|
|
163
|
-
make lint # ruff check
|
|
164
|
-
make test # pytest tests/
|
|
165
|
-
make codegen-check # verify the generated client imports cleanly
|
|
166
|
-
make build # python3 -m build → dist/
|
|
167
|
-
make ci # format-check + lint + license-check + audit + test + build
|
|
168
|
-
make clean # remove caches and dist/
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
`make ci` is the single command that gates a publish: format-check, lint, dual-license header check, dependency CVE audit, full test suite, and `python -m build` + `twine check`.
|
|
172
|
-
|
|
173
|
-
### License headers
|
|
174
|
-
|
|
175
|
-
Every source file carries the AGPL-3.0 + Commercial dual-license SPDX header, applied idempotently via:
|
|
176
|
-
|
|
177
|
-
```bash
|
|
178
|
-
make license-check # CI gate — fails if any source file is missing the header
|
|
179
|
-
make license-fix # add or refresh headers across src/, tests/, scripts/
|
|
180
|
-
make license-strip # remove headers (used before license-model changes)
|
|
181
|
-
```
|
|
182
|
-
|
|
183
155
|
## License
|
|
184
156
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
Commercial licensing inquiries: info@forktex.com.
|
|
188
|
-
|
|
189
|
-
The 1.0.x releases on PyPI remain under MIT; from **0.2.3** onwards the package ships AGPL-3.0+Commercial.
|
|
157
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -1,37 +1,14 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
[project]
|
|
25
2
|
name = "forktex-cloud"
|
|
26
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.4"
|
|
27
4
|
description = "Typed Python SDK for the ForkTex Cloud platform — provision, deploy, and manage VPS-backed apps via a declarative manifest."
|
|
28
5
|
authors = [
|
|
29
|
-
{name = "
|
|
6
|
+
{name = "ForkTex", email = "info@forktex.com"}
|
|
30
7
|
]
|
|
31
8
|
readme = "README.md"
|
|
32
|
-
license = "
|
|
33
|
-
license-files = ["LICENSE"
|
|
34
|
-
requires-python = ">=3.
|
|
9
|
+
license = "MIT"
|
|
10
|
+
license-files = ["LICENSE"]
|
|
11
|
+
requires-python = ">=3.11"
|
|
35
12
|
keywords = [
|
|
36
13
|
"forktex",
|
|
37
14
|
"cloud",
|
|
@@ -51,9 +28,8 @@ classifiers = [
|
|
|
51
28
|
"Operating System :: OS Independent",
|
|
52
29
|
"Programming Language :: Python :: 3",
|
|
53
30
|
"Programming Language :: Python :: 3 :: Only",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
54
32
|
"Programming Language :: Python :: 3.12",
|
|
55
|
-
"Programming Language :: Python :: 3.13",
|
|
56
|
-
"Programming Language :: Python :: 3.14",
|
|
57
33
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
58
34
|
"Topic :: System :: Distributed Computing",
|
|
59
35
|
"Topic :: System :: Installation/Setup",
|
|
@@ -83,14 +59,12 @@ dev = [
|
|
|
83
59
|
"pytest (>=8.4.2,<9.0.0)",
|
|
84
60
|
"pytest-asyncio (>=1.2.0,<2.0.0)",
|
|
85
61
|
"ruff (>=0.8.0)",
|
|
86
|
-
"pyright>=1.1.
|
|
87
|
-
"
|
|
88
|
-
"build>=1.2.0",
|
|
89
|
-
"twine>=5.0.0",
|
|
62
|
+
"pyright (>=1.1.0,<2.0.0)",
|
|
63
|
+
"mypy (>=1.11.0,<2.0.0)",
|
|
90
64
|
]
|
|
91
65
|
|
|
92
66
|
[tool.ruff]
|
|
93
|
-
target-version = "
|
|
67
|
+
target-version = "py311"
|
|
94
68
|
line-length = 100
|
|
95
69
|
extend-exclude = [
|
|
96
70
|
# Auto-generated by OpenAPI codegen. Canonical import shape comes from
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""forktex_cloud — Standalone Python SDK for the ForkTex Cloud platform.
|
|
25
2
|
|
|
26
3
|
Usage::
|
|
@@ -33,7 +10,7 @@ Usage::
|
|
|
33
10
|
servers = client.list_servers()
|
|
34
11
|
"""
|
|
35
12
|
|
|
36
|
-
__version__ = "0.
|
|
13
|
+
__version__ = "1.0.1"
|
|
37
14
|
|
|
38
15
|
from forktex_cloud import paths
|
|
39
16
|
from forktex_cloud.client.client import CloudAPIError, ForktexCloudClient
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Bridge modules: manifest-to-Docker Compose for local dev."""
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""Manifest -> local docker-compose generator.
|
|
25
2
|
|
|
26
3
|
Generates a simple local-oriented docker-compose.local.yml from a forktex manifest.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"""ANSI color formatting for log output."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import time
|
|
6
|
+
|
|
7
|
+
# 8 distinct ANSI colors for service names
|
|
8
|
+
COLORS = [
|
|
9
|
+
"\033[36m", # cyan
|
|
10
|
+
"\033[32m", # green
|
|
11
|
+
"\033[33m", # yellow
|
|
12
|
+
"\033[35m", # magenta
|
|
13
|
+
"\033[34m", # blue
|
|
14
|
+
"\033[31m", # red
|
|
15
|
+
"\033[37m", # white
|
|
16
|
+
"\033[96m", # bright cyan
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
DIM = "\033[2m"
|
|
20
|
+
RESET = "\033[0m"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def assign_colors(service_ids: list[str]) -> dict[str, str]:
|
|
24
|
+
"""Assign a distinct ANSI color to each service (round-robin)."""
|
|
25
|
+
return {sid: COLORS[i % len(COLORS)] for i, sid in enumerate(sorted(service_ids))}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def format_line(
|
|
29
|
+
ts_ns: int,
|
|
30
|
+
service: str,
|
|
31
|
+
line: str,
|
|
32
|
+
color: str,
|
|
33
|
+
max_name_len: int,
|
|
34
|
+
) -> str:
|
|
35
|
+
"""Format a single log line with timestamp, colored service name, and separator."""
|
|
36
|
+
t = time.gmtime(ts_ns // 1_000_000_000)
|
|
37
|
+
ts_str = time.strftime("%H:%M:%S", t)
|
|
38
|
+
padded = service.ljust(max_name_len)
|
|
39
|
+
return f"{DIM}{ts_str}{RESET} {color}{padded}{RESET} {DIM}|{RESET} {line}"
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""Thin Loki HTTP API client using stdlib only."""
|
|
25
2
|
|
|
26
3
|
from __future__ import annotations
|
{forktex_cloud-0.2.3 → forktex_cloud-0.2.4}/src/forktex_cloud/bridge/persistence_defaults.py
RENAMED
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""Shared auto-config defaults for persistence services.
|
|
25
2
|
|
|
26
3
|
Used by the dev compose generator to auto-detect healthchecks, volumes,
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""Typed httpx client for the ForkTex Cloud API.
|
|
25
2
|
|
|
26
3
|
All response/request models come from ``forktex_cloud.client.generated``
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
# Copyright (C) 2026 FORKTEX S.R.L.
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-ForkTex-Commercial
|
|
4
|
-
#
|
|
5
|
-
# This file is part of forktex-cloud.
|
|
6
|
-
#
|
|
7
|
-
# For commercial licensing -- including use in proprietary products, SaaS
|
|
8
|
-
# deployments, or any context where AGPL obligations cannot be met -- you
|
|
9
|
-
# MUST obtain a commercial license from FORKTEX S.R.L. (info@forktex.com).
|
|
10
|
-
#
|
|
11
|
-
# This program is free software: you can redistribute it and/or modify
|
|
12
|
-
# it under the terms of the GNU Affero General Public License as published by
|
|
13
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
# (at your option) any later version.
|
|
15
|
-
#
|
|
16
|
-
# This program is distributed in the hope that it will be useful,
|
|
17
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
# GNU Affero General Public License for more details.
|
|
20
|
-
#
|
|
21
|
-
# You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
23
|
-
|
|
24
1
|
"""Typed httpx client for the ForkTex Cloud control plane API.
|
|
25
2
|
|
|
26
3
|
All methods are synchronous — the CLI is sync (click-based).
|