flashforge-python-api 1.5.0__py3-none-any.whl → 3.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.
- flashforge/__init__.py +337 -233
- flashforge/_removed.py +65 -0
- flashforge/api/__init__.py +12 -18
- flashforge/api/constants/__init__.py +11 -11
- flashforge/api/constants/commands.py +18 -15
- flashforge/api/constants/endpoints.py +11 -11
- flashforge/api/misc/__init__.py +8 -8
- flashforge/api/network/__init__.py +11 -11
- flashforge/api/network/utils.py +71 -71
- flashforge/backends/__init__.py +80 -0
- flashforge/backends/connect.py +275 -0
- flashforge/backends/creator5_backend.py +191 -0
- flashforge/backends/dual_api_backend.py +170 -0
- flashforge/backends/dual_api_models.py +145 -0
- flashforge/backends/http_core.py +431 -0
- flashforge/backends/http_printer_backend.py +254 -0
- flashforge/backends/legacy_backend.py +436 -0
- flashforge/backends/printer_backend.py +217 -0
- flashforge/backends/types.py +125 -0
- flashforge/capabilities/__init__.py +98 -0
- flashforge/capabilities/models.py +67 -0
- flashforge/capabilities/palettes/__init__.py +28 -0
- flashforge/capabilities/palettes/ad5x_palette.py +70 -0
- flashforge/capabilities/palettes/creator5_palette.py +78 -0
- flashforge/capabilities/palettes/palette.py +54 -0
- flashforge/{api/controls/creator5_palette.py → capabilities/palettes/palette_snap.py} +226 -258
- flashforge/capabilities/printer_capabilities.py +145 -0
- flashforge/capabilities/registry.py +125 -0
- flashforge/capabilities/resolve_model.py +61 -0
- flashforge/discovery/__init__.py +39 -39
- flashforge/discovery/discovery.py +730 -763
- flashforge/exceptions.py +90 -51
- flashforge/models/__init__.py +52 -55
- flashforge/models/machine_info.py +540 -543
- flashforge/{api/controls/info.py → models/machine_info_parser.py} +35 -242
- flashforge/models/responses.py +119 -254
- flashforge/status/__init__.py +43 -0
- flashforge/status/printer_snapshot.py +396 -0
- flashforge/tcp/__init__.py +55 -54
- flashforge/tcp/a3_client.py +427 -427
- flashforge/tcp/a4_client.py +304 -304
- flashforge/tcp/ff_client.py +609 -590
- flashforge/tcp/gcode/__init__.py +15 -13
- flashforge/tcp/gcode/a3_gcode_controller.py +109 -109
- flashforge/tcp/gcode/gcode_controller.py +292 -308
- flashforge/tcp/gcode/gcodes.py +81 -99
- flashforge/tcp/gcode/legacy_gcode_controller.py +56 -0
- flashforge/tcp/parsers/__init__.py +27 -27
- flashforge/tcp/parsers/endstop_status.py +248 -248
- flashforge/tcp/parsers/location_info.py +83 -83
- flashforge/tcp/parsers/print_status.py +180 -180
- flashforge/tcp/parsers/printer_info.py +146 -146
- flashforge/tcp/parsers/temp_info.py +218 -218
- flashforge/tcp/parsers/thumbnail_info.py +274 -274
- flashforge/tcp/tcp_client.py +52 -12
- flashforge/threemf/__init__.py +40 -0
- flashforge/threemf/parser.py +560 -0
- flashforge/threemf/warnings.py +58 -0
- flashforge_python_api-3.0.0.dist-info/METADATA +184 -0
- flashforge_python_api-3.0.0.dist-info/RECORD +69 -0
- {flashforge_python_api-1.5.0.dist-info → flashforge_python_api-3.0.0.dist-info}/WHEEL +1 -1
- {flashforge_python_api-1.5.0.dist-info → flashforge_python_api-3.0.0.dist-info}/licenses/LICENSE +21 -21
- flashforge/api/controls/__init__.py +0 -17
- flashforge/api/controls/control.py +0 -413
- flashforge/api/controls/files.py +0 -210
- flashforge/api/controls/job_control.py +0 -880
- flashforge/api/controls/temp_control.py +0 -309
- flashforge/client.py +0 -609
- flashforge_python_api-1.5.0.dist-info/METADATA +0 -152
- flashforge_python_api-1.5.0.dist-info/RECORD +0 -49
- {flashforge_python_api-1.5.0.dist-info → flashforge_python_api-3.0.0.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: flashforge-python-api
|
|
3
|
+
Version: 3.0.0
|
|
4
|
+
Summary: A comprehensive Python library for controlling FlashForge 3D printers
|
|
5
|
+
Project-URL: Homepage, https://gitlab.com/GhostTypes/ff-5mp-api-py
|
|
6
|
+
Project-URL: Documentation, https://gitlab.com/GhostTypes/ff-5mp-api-py/-/blob/main/docs/README.md
|
|
7
|
+
Project-URL: Repository, https://gitlab.com/GhostTypes/ff-5mp-api-py.git
|
|
8
|
+
Project-URL: Issues, https://gitlab.com/GhostTypes/ff-5mp-api-py/-/issues
|
|
9
|
+
Author-email: GhostTypes <notghosttypes@gmail.com>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: 3d-printer,api,async,control,flashforge,python
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: System :: Hardware :: Hardware Drivers
|
|
23
|
+
Requires-Python: >=3.11
|
|
24
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
25
|
+
Requires-Dist: ifaddr>=0.2.0
|
|
26
|
+
Requires-Dist: pydantic>=2.0.0
|
|
27
|
+
Requires-Dist: requests>=2.31.0
|
|
28
|
+
Provides-Extra: all
|
|
29
|
+
Requires-Dist: black>=23.0.0; extra == 'all'
|
|
30
|
+
Requires-Dist: mypy>=1.0.0; extra == 'all'
|
|
31
|
+
Requires-Dist: pillow>=10.0.0; extra == 'all'
|
|
32
|
+
Requires-Dist: pre-commit>=3.0.0; extra == 'all'
|
|
33
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'all'
|
|
34
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'all'
|
|
35
|
+
Requires-Dist: pytest>=7.0.0; extra == 'all'
|
|
36
|
+
Requires-Dist: ruff>=0.1.0; extra == 'all'
|
|
37
|
+
Provides-Extra: dev
|
|
38
|
+
Requires-Dist: black>=23.0.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: mypy>=1.0.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
|
|
41
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
|
42
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
43
|
+
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
44
|
+
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
45
|
+
Provides-Extra: imaging
|
|
46
|
+
Requires-Dist: pillow>=10.0.0; extra == 'imaging'
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
|
|
49
|
+
# FlashForge Python API
|
|
50
|
+
|
|
51
|
+
Python library for controlling FlashForge 3D printers with async support for the modern HTTP API and the legacy TCP protocol.
|
|
52
|
+
|
|
53
|
+
## Supported Printers
|
|
54
|
+
|
|
55
|
+
| Printer | Support |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| Adventurer 5M | Full |
|
|
58
|
+
| Adventurer 5M Pro | Full |
|
|
59
|
+
| AD5X | Full |
|
|
60
|
+
| Creator 5 | Full (HTTP-only) |
|
|
61
|
+
| Creator 5 Pro | Full (HTTP-only) |
|
|
62
|
+
| Adventurer 3 / 4 | Dedicated TCP clients |
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install flashforge-python-api
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Quick Start
|
|
71
|
+
|
|
72
|
+
Modern LAN-mode HTTP printers need the IP address, the serial number and the check code
|
|
73
|
+
(a per-printer credential that discovery does not return). `connect_printer` picks the
|
|
74
|
+
backend for the printer family and returns it ready to use.
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
import asyncio
|
|
78
|
+
import os
|
|
79
|
+
|
|
80
|
+
from flashforge import ConnectOptions, NotSupportedError, PrinterDiscovery, connect_printer
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
async def main():
|
|
84
|
+
check_code = os.getenv("FLASHFORGE_CHECK_CODE", "").strip()
|
|
85
|
+
printers = await PrinterDiscovery().discover()
|
|
86
|
+
if not printers:
|
|
87
|
+
print("No printers found")
|
|
88
|
+
return
|
|
89
|
+
|
|
90
|
+
# Discovery gives the model (from the printer's product ID) and the ports.
|
|
91
|
+
# Modern printers need the check code; Adventurer 3 / 4 do not.
|
|
92
|
+
backend = await connect_printer(printers[0], ConnectOptions(check_code=check_code or None))
|
|
93
|
+
async with backend: # closes the connections on exit
|
|
94
|
+
print(f"{backend.capabilities.display_name} ({backend.family})")
|
|
95
|
+
status = await backend.get_status()
|
|
96
|
+
print(f"State: {status.state}, nozzle {status.temperatures.extruder.current} C")
|
|
97
|
+
|
|
98
|
+
# Gate features on capabilities. A call the printer cannot do raises NotSupportedError.
|
|
99
|
+
if backend.capabilities.led.controllable:
|
|
100
|
+
await backend.set_led(True)
|
|
101
|
+
try:
|
|
102
|
+
await backend.set_chamber_temp(40)
|
|
103
|
+
except NotSupportedError as error:
|
|
104
|
+
print(error.reason)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
asyncio.run(main())
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
To connect without discovery (manual IP or a saved printer), pass a `ConnectTarget`:
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
from flashforge import ConnectOptions, ConnectTarget, connect_printer
|
|
114
|
+
|
|
115
|
+
backend = await connect_printer(
|
|
116
|
+
ConnectTarget("192.168.1.50", serial_number="SN..."),
|
|
117
|
+
ConnectOptions(check_code="12345678"),
|
|
118
|
+
)
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The model then comes from the printer's `/detail` response. A connection failure raises
|
|
122
|
+
`PrinterConnectionError` with a reason that you can show to the user (for example a wrong
|
|
123
|
+
check code, or a printer that is not in LAN-only mode).
|
|
124
|
+
|
|
125
|
+
## Main Entry Points
|
|
126
|
+
|
|
127
|
+
- `connect_printer`: connects and returns the backend for the printer family
|
|
128
|
+
- `Adventurer5MBackend`, `Adventurer5MProBackend`, `AD5XBackend`: dual-API family (HTTP + TCP)
|
|
129
|
+
- `Creator5Backend`: HTTP-only family (Creator 5, Creator 5 Pro)
|
|
130
|
+
- `LegacyBackend`: TCP-only family (Adventurer 3, Adventurer 4, other TCP printers)
|
|
131
|
+
- `backend.capabilities`: what the connected printer can do (`available`, `controllable`, `reason` per feature)
|
|
132
|
+
- `backend.get_status()`: one normalized status snapshot for every family
|
|
133
|
+
- `PrinterDiscovery`: printer discovery
|
|
134
|
+
- `FlashForgeA3Client`, `FlashForgeA4Client`, `FlashForgeTcpClient`: low-level TCP clients
|
|
135
|
+
|
|
136
|
+
## Capabilities
|
|
137
|
+
|
|
138
|
+
- printer discovery
|
|
139
|
+
- printer status and machine information
|
|
140
|
+
- job control
|
|
141
|
+
- file listing, uploads, and thumbnails
|
|
142
|
+
- temperature and motion control, including per-nozzle and chamber temperature control (Creator 5)
|
|
143
|
+
- LED, camera, and filtration control where supported
|
|
144
|
+
- AD5X and Creator 5 / Creator 5 Pro material-station, slot configuration, and material mapping
|
|
145
|
+
- sliced 3MF parsing: read the tools, materials, colors, estimates, and thumbnail of a `.3mf` before upload
|
|
146
|
+
|
|
147
|
+
## Parse a Sliced 3MF
|
|
148
|
+
|
|
149
|
+
A sliced 3MF tells you which filaments (tools) a print uses. The Creator 5 series does not report this for stored files, so read the 3MF before you upload it. Then build one material mapping per filament.
|
|
150
|
+
|
|
151
|
+
```python
|
|
152
|
+
import asyncio
|
|
153
|
+
from flashforge import AD5XMaterialMapping, parse_3mf
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
async def build_mappings(path: str) -> list[AD5XMaterialMapping]:
|
|
157
|
+
# parse_3mf is synchronous file I/O, so run it in a worker thread.
|
|
158
|
+
info = await asyncio.to_thread(parse_3mf, path)
|
|
159
|
+
print(f"{info.file_name}: {info.tool_count} tool(s), sliced for {info.printer_family}")
|
|
160
|
+
|
|
161
|
+
mappings = []
|
|
162
|
+
for filament in info.filaments:
|
|
163
|
+
mappings.append(
|
|
164
|
+
AD5XMaterialMapping(
|
|
165
|
+
tool_id=filament.tool_id, # 0-based: filament 1 is tool 0
|
|
166
|
+
slot_id=filament.tool_id + 1, # choose the station slot to print from
|
|
167
|
+
material_name=filament.material_name,
|
|
168
|
+
tool_material_color=filament.color or "#FFFFFF",
|
|
169
|
+
slot_material_color=filament.color or "#FFFFFF",
|
|
170
|
+
)
|
|
171
|
+
)
|
|
172
|
+
return mappings
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
In a real app, pick `slot_id` and `slot_material_color` from the slots the printer reports. Pass the mappings to `upload_file_creator5` / `start_creator5_job` (Creator 5 series) or `upload_file_ad5x` (AD5X).
|
|
176
|
+
|
|
177
|
+
`parse_3mf` accepts one sliced plate only. A project file with no sliced G-code raises `ThreeMFNotSlicedError`. A file with more than one sliced plate raises `ThreeMFMultiplePlatesError`. All 3MF errors subclass `ThreeMFError`.
|
|
178
|
+
|
|
179
|
+
## Documentation
|
|
180
|
+
|
|
181
|
+
- [docs/README.md](docs/README.md)
|
|
182
|
+
- [docs/client.md](docs/client.md)
|
|
183
|
+
- [docs/protocols.md](docs/protocols.md)
|
|
184
|
+
- [docs/api_reference.md](docs/api_reference.md)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
flashforge/__init__.py,sha256=KdVIivXvzkZ1CyckNNr9D2_PlfhtSRrDH69tK9QuY6I,8168
|
|
2
|
+
flashforge/_removed.py,sha256=5picv4nUBpTd9MnAEArMpZ7B71lquAwwu6AdnyOq-3M,2968
|
|
3
|
+
flashforge/exceptions.py,sha256=HNjiwXSjjLv23aG4MM1d7-KopYdlKu9JPSaPY_OPPSw,3212
|
|
4
|
+
flashforge/api/__init__.py,sha256=l0OFgn-JgPkMsjhvge2JUlG8pJxuR1JsludBXKSumxU,240
|
|
5
|
+
flashforge/api/constants/__init__.py,sha256=eA7DEbSQmftyIbon7zeJwN6QqJETUwTQHByBsfeCn7Y,174
|
|
6
|
+
flashforge/api/constants/commands.py,sha256=er8DSl6hVvSmIpEZS04IEn0n3smTXnKOsIQGJH_A660,744
|
|
7
|
+
flashforge/api/constants/endpoints.py,sha256=vIxj5811lQZOn0VyDPXxFMO_QKiD6fxZ0AE0CUQEOcw,348
|
|
8
|
+
flashforge/api/filament/__init__.py,sha256=isT2dl0hzUS0xMTXMm4Tip0GTG1gCsm8LKWa9xPu4Y8,104
|
|
9
|
+
flashforge/api/filament/filament.py,sha256=TtcC2G2nD9Sq4cOrCZzFLZ6Q0Ve-zfrfuEF9uQ8M3eE,1214
|
|
10
|
+
flashforge/api/misc/__init__.py,sha256=7skaPNU8sURMCX0hRqefkyvuHCiaIOlJ0UycQS1lIXQ,219
|
|
11
|
+
flashforge/api/misc/redaction.py,sha256=8LG2WsFXhdBqbZ4AXYwpm8hQ_PxaOeAKmZBeG5kzAT4,2675
|
|
12
|
+
flashforge/api/misc/scientific_notation.py,sha256=KSMTrrYhPWLv0gbcEAD6u-jEOcIwUjOCOPMBi0LiO-k,826
|
|
13
|
+
flashforge/api/misc/temperature.py,sha256=qeHlCdPzLyqGDEB874Ib5AgYHMR9Qtw61shnw4G095E,1066
|
|
14
|
+
flashforge/api/network/__init__.py,sha256=LYcCe9cjFSKHKgJlEMFhC5aDmq_raetgNiYorgYIGvk,175
|
|
15
|
+
flashforge/api/network/fnet_code.py,sha256=BR2niVKKk4ZfXtizUDIMXzDhlCxPHzqWg5AQQIcoj3g,402
|
|
16
|
+
flashforge/api/network/utils.py,sha256=7cO9o7sb2lBNl2qVnHckvy53G_UeMQFoaMLNxHl36BI,2167
|
|
17
|
+
flashforge/backends/__init__.py,sha256=hacZP8zbOM1zbmWp2gDiYzpyUZswRUgpODoPSDI4IQE,2251
|
|
18
|
+
flashforge/backends/connect.py,sha256=z0uBiFwShyiWkgVN1LeoJ9LTxo7VDSk3tF71IYOjwXo,11746
|
|
19
|
+
flashforge/backends/creator5_backend.py,sha256=52iuiy4F4ZCpc_qpyFIVuDkSU0ZeH2n1PcX9qJYktoU,8661
|
|
20
|
+
flashforge/backends/dual_api_backend.py,sha256=zJyDcXqTtnvlnAavwwNC-bQViv_eRxBaL9m-yK8cc-I,6690
|
|
21
|
+
flashforge/backends/dual_api_models.py,sha256=wEeiGdWZVbN5IIw9SShjCZPWeTNFGD4RAOiUZBjn_Ug,5643
|
|
22
|
+
flashforge/backends/http_core.py,sha256=air4PymPaOuorG9meEkOV4jc89q1nlWGnCt_0jHtNH4,17850
|
|
23
|
+
flashforge/backends/http_printer_backend.py,sha256=KNJR2Sw80C06EKVkqo2BLHqPRVtHHGv57rj9vIlzqHI,10945
|
|
24
|
+
flashforge/backends/legacy_backend.py,sha256=_-IJwwcQozKwc5GYnN4PSrkJhnANy3O77tWn4dtpMGM,16091
|
|
25
|
+
flashforge/backends/printer_backend.py,sha256=_8PdVi7L7kZA5QMB6164KZsNg9hQPjF63WaVxRP7blI,8986
|
|
26
|
+
flashforge/backends/types.py,sha256=5-9ZjomHHrSv70hdvghklfE_szFmK95qG4cQyYa4FzA,4637
|
|
27
|
+
flashforge/capabilities/__init__.py,sha256=z0eCzMTj2yld658d06xH_dSKS5Z4mYhmyCD4awUzJ8I,2862
|
|
28
|
+
flashforge/capabilities/models.py,sha256=Bx5JU8fPzyyCuZACze9IBowVRqzMiv661-HeumZNlwE,2366
|
|
29
|
+
flashforge/capabilities/printer_capabilities.py,sha256=5WU5WnffxAgp632GP3gBieipgHDueplxv06_PN__nXs,5290
|
|
30
|
+
flashforge/capabilities/registry.py,sha256=xTGWA8sYlovq2KDUejs15l9J1pk3N4j7FNZpUQaUyqU,4179
|
|
31
|
+
flashforge/capabilities/resolve_model.py,sha256=6XYx8CKFDAaBrWX567B2vGV_Y4cirhhqR2DMXnzC-8w,2227
|
|
32
|
+
flashforge/capabilities/palettes/__init__.py,sha256=KWLUpLcdZpbalrphkdzwk8LeJSM8Nffhl9YiaBEs4N0,1010
|
|
33
|
+
flashforge/capabilities/palettes/ad5x_palette.py,sha256=-TCyDskbeJ9r1mNBDuiP9HisaPEujHHQPxiHU6mGKOE,2372
|
|
34
|
+
flashforge/capabilities/palettes/creator5_palette.py,sha256=v1yjsmW8JSiOs7GytJYmdjxgm0pZVTC6CvWvaxCX2Lg,2596
|
|
35
|
+
flashforge/capabilities/palettes/palette.py,sha256=Rv8fqr-v-o-QbSuLPHKoYYShTsvezWxiRJ_z4_FaaWA,2323
|
|
36
|
+
flashforge/capabilities/palettes/palette_snap.py,sha256=-sj3j1NwIha0_QCesKwvouGvs4ItYC8xZ1fOK8GWYlg,7275
|
|
37
|
+
flashforge/discovery/__init__.py,sha256=Hd5S0GqE0wUonqkuG07fTiycS7KPQvmpy8dJJBsK2fs,871
|
|
38
|
+
flashforge/discovery/discovery.py,sha256=yh4NNHXcH2xeK9qkhuA2IamsWoXOp4pohdLjQ7EYrE8,27466
|
|
39
|
+
flashforge/models/__init__.py,sha256=p8ecnWmp705Qwuvp3mPBhabf4Af0JWmHp5iNHTcsCRY,1145
|
|
40
|
+
flashforge/models/machine_info.py,sha256=eNOBB4ELQD5odrrW_02uwuBPLDnSuPbUB63GKwvXPFk,24913
|
|
41
|
+
flashforge/models/machine_info_parser.py,sha256=Vq3Qypb1Uk4tZg8hyJU7e_ln9ByGiVvq-P6ciamjuvw,16480
|
|
42
|
+
flashforge/models/responses.py,sha256=YY5R_T6XRNXWDUjNXphd6l9HlMbWYQbvdvh01ZbEO4k,4905
|
|
43
|
+
flashforge/status/__init__.py,sha256=ppQ0W9Pg2edqV4zboi48fyzG7sQSl8cozNH3hFYKza8,930
|
|
44
|
+
flashforge/status/printer_snapshot.py,sha256=dHWjAno8-IVulsT4j6nQF4VdJCyIcpEaauxKYv57y7w,13168
|
|
45
|
+
flashforge/tcp/__init__.py,sha256=hEKai8d39gB18Y22p2mAGcbRPiRHqZXNVwmW2C6vnr0,1424
|
|
46
|
+
flashforge/tcp/a3_client.py,sha256=-Q5-zWh6gcVFkeWju_eo_iqckVjJ389yEYvpz3n9KIE,16294
|
|
47
|
+
flashforge/tcp/a4_client.py,sha256=SKsswDSuwQ36I-omnJ8w6MKoHkkBRa6Ty2WCc8P6i8M,11535
|
|
48
|
+
flashforge/tcp/ff_client.py,sha256=SNz2Tf5MidIqBTHpb7T4gYAreHB-Vh8P6LOgUiQTY7w,21776
|
|
49
|
+
flashforge/tcp/tcp_client.py,sha256=WMzO3rokYtWIAXtc_Hp8e8xMLFcoTvLYOdeoIh0NtWA,18835
|
|
50
|
+
flashforge/tcp/gcode/__init__.py,sha256=3baqbmmmWzpH9Nk04XBoJ234GFQHiI2VX8N23JfHfp8,374
|
|
51
|
+
flashforge/tcp/gcode/a3_gcode_controller.py,sha256=DId1n6L2vT2CpR3wP9j6_GKEh-RTdI1Sa1kYjnhrPSA,3816
|
|
52
|
+
flashforge/tcp/gcode/gcode_controller.py,sha256=SHwRfoUlWZMVdxL8HpbD441A9hvtOeFBg0PTHoULAYM,9684
|
|
53
|
+
flashforge/tcp/gcode/gcodes.py,sha256=AFkarvZQSguH8sELHeWs4NGQiTMXlfXIxVIG8xq74ZA,2984
|
|
54
|
+
flashforge/tcp/gcode/legacy_gcode_controller.py,sha256=gDAjX--DOSobooMiui7To3ynHiseNzWjfNBLlTz4Cgk,2135
|
|
55
|
+
flashforge/tcp/parsers/__init__.py,sha256=FnlmXPk74v6sURiDWed0XxTMpFkv-yMUBBLsiaGNCoM,757
|
|
56
|
+
flashforge/tcp/parsers/endstop_status.py,sha256=R3G_tXahjzfnFKm_WkvE_0Cymt7q5jiNEiO-clxam8I,10150
|
|
57
|
+
flashforge/tcp/parsers/location_info.py,sha256=HmPRZUKbI9ZQtUoQNuWOJHQGz-XNHpy7o7D6KreGFII,2978
|
|
58
|
+
flashforge/tcp/parsers/print_status.py,sha256=qEl7HrWSywsqGHluNcfHCA6M1yXa959WpMbwq66ru48,6451
|
|
59
|
+
flashforge/tcp/parsers/printer_info.py,sha256=0CBVYiA7G9SQGSS9eSCR2hpIuIqugxIxJikG2AvotAE,5587
|
|
60
|
+
flashforge/tcp/parsers/temp_info.py,sha256=peF-Z0H3msm4VqWe6a6xx0p5Ew5Lh-JE2pAXvDDNpBE,8156
|
|
61
|
+
flashforge/tcp/parsers/thumbnail_info.py,sha256=XT2nGDNYkyaOh3p2BlZX1rLaLi7dkApJaewBfwRoMtA,10752
|
|
62
|
+
flashforge/threemf/__init__.py,sha256=7EOkyQKcTz7mWar1QyAaIYM7M--RsFQd93OQRST7ays,940
|
|
63
|
+
flashforge/threemf/parser.py,sha256=wB-3CUDPLhD0_DxIwOExDcPcWKQB_xmggfavGNXwU3A,21547
|
|
64
|
+
flashforge/threemf/warnings.py,sha256=iIyoEGHsBPbh77CabcK9g1kiaQ2HzLRKVHqghCasrUo,2530
|
|
65
|
+
flashforge_python_api-3.0.0.dist-info/METADATA,sha256=jgRdouxq3R5gZEgpoJto6GAssifyC6n9vftCaUefAR4,7460
|
|
66
|
+
flashforge_python_api-3.0.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
67
|
+
flashforge_python_api-3.0.0.dist-info/entry_points.txt,sha256=AkOxlsLvQ7cvMLxn7tlzfKp_DCH2hXhbVceHIXxawpU,66
|
|
68
|
+
flashforge_python_api-3.0.0.dist-info/licenses/LICENSE,sha256=lW2RvsgnKpSECUO1251Wj_EMkdmuA6Vlxea-eje7wuM,1088
|
|
69
|
+
flashforge_python_api-3.0.0.dist-info/RECORD,,
|
{flashforge_python_api-1.5.0.dist-info → flashforge_python_api-3.0.0.dist-info}/licenses/LICENSE
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 GhostTypes
|
|
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
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 GhostTypes
|
|
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,17 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
FlashForge Python API - Controls Package
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
from .control import Control
|
|
6
|
-
from .files import Files
|
|
7
|
-
from .info import Info
|
|
8
|
-
from .job_control import JobControl
|
|
9
|
-
from .temp_control import TempControl
|
|
10
|
-
|
|
11
|
-
__all__ = [
|
|
12
|
-
"Control",
|
|
13
|
-
"Files",
|
|
14
|
-
"Info",
|
|
15
|
-
"JobControl",
|
|
16
|
-
"TempControl",
|
|
17
|
-
]
|