loobric-cli 1.0.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.
- loobric/__init__.py +26 -0
- loobric/cli/__init__.py +8 -0
- loobric/cli/main.py +1917 -0
- loobric/client.py +413 -0
- loobric/errors.py +40 -0
- loobric/importers/__init__.py +67 -0
- loobric/importers/_util.py +31 -0
- loobric/importers/base.py +67 -0
- loobric/importers/din4000/__init__.py +65 -0
- loobric/importers/din4000/_codes.py +116 -0
- loobric/importers/din4000/_csv.py +30 -0
- loobric/importers/din4000/_xml.py +42 -0
- loobric/importers/gtc.py +145 -0
- loobric/importers/hypermill.py +72 -0
- loobric/importers/p21.py +222 -0
- loobric/importers/run.py +102 -0
- loobric/importers/solidcam.py +89 -0
- loobric/transport.py +210 -0
- loobric_cli-1.0.0.dist-info/METADATA +141 -0
- loobric_cli-1.0.0.dist-info/RECORD +24 -0
- loobric_cli-1.0.0.dist-info/WHEEL +5 -0
- loobric_cli-1.0.0.dist-info/entry_points.txt +2 -0
- loobric_cli-1.0.0.dist-info/licenses/LICENSE +21 -0
- loobric_cli-1.0.0.dist-info/top_level.txt +1 -0
loobric/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
# Copyright (c) 2025 sliptonic
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
"""Loobric client — importable Python library for the Loobric Core API.
|
|
5
|
+
|
|
6
|
+
Speaks only the public REST API and depends on nothing from the server, so a
|
|
7
|
+
client (FreeCAD, future Fusion, scripts) can `pip install loobric-cli` and
|
|
8
|
+
reuse this rather than writing its own HTTP layer.
|
|
9
|
+
"""
|
|
10
|
+
from loobric.client import Client
|
|
11
|
+
from loobric.errors import (
|
|
12
|
+
AuthRequired,
|
|
13
|
+
ConnectionFailed,
|
|
14
|
+
HTTPError,
|
|
15
|
+
NotFound,
|
|
16
|
+
LoobricClientError,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
"Client",
|
|
21
|
+
"LoobricClientError",
|
|
22
|
+
"ConnectionFailed",
|
|
23
|
+
"HTTPError",
|
|
24
|
+
"NotFound",
|
|
25
|
+
"AuthRequired",
|
|
26
|
+
]
|
loobric/cli/__init__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
# Copyright (c) 2025 sliptonic
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
"""Loobric client CLI package. Entry point: ``loobric.cli.main:main``.
|
|
5
|
+
|
|
6
|
+
Intentionally does not import ``main`` here — that would shadow the ``main``
|
|
7
|
+
submodule (a function and a module sharing the name on the package).
|
|
8
|
+
"""
|