flashforge-python-api 1.6.0__py3-none-any.whl → 3.1.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.
Files changed (70) hide show
  1. flashforge/__init__.py +137 -56
  2. flashforge/_removed.py +65 -0
  3. flashforge/api/__init__.py +12 -18
  4. flashforge/api/constants/__init__.py +11 -11
  5. flashforge/api/constants/commands.py +18 -15
  6. flashforge/api/constants/endpoints.py +11 -11
  7. flashforge/api/misc/__init__.py +8 -8
  8. flashforge/api/network/__init__.py +11 -11
  9. flashforge/api/network/utils.py +71 -71
  10. flashforge/backends/__init__.py +80 -0
  11. flashforge/backends/connect.py +275 -0
  12. flashforge/backends/creator5_backend.py +191 -0
  13. flashforge/backends/dual_api_backend.py +170 -0
  14. flashforge/backends/dual_api_models.py +145 -0
  15. flashforge/backends/http_core.py +431 -0
  16. flashforge/backends/http_printer_backend.py +254 -0
  17. flashforge/backends/legacy_backend.py +436 -0
  18. flashforge/backends/printer_backend.py +217 -0
  19. flashforge/backends/types.py +125 -0
  20. flashforge/capabilities/__init__.py +98 -0
  21. flashforge/capabilities/models.py +67 -0
  22. flashforge/capabilities/palettes/__init__.py +28 -0
  23. flashforge/capabilities/palettes/ad5x_palette.py +70 -0
  24. flashforge/capabilities/palettes/creator5_palette.py +78 -0
  25. flashforge/capabilities/palettes/palette.py +54 -0
  26. flashforge/{api/controls/creator5_palette.py → capabilities/palettes/palette_snap.py} +226 -258
  27. flashforge/capabilities/printer_capabilities.py +145 -0
  28. flashforge/capabilities/registry.py +125 -0
  29. flashforge/capabilities/resolve_model.py +61 -0
  30. flashforge/discovery/__init__.py +39 -39
  31. flashforge/discovery/discovery.py +150 -77
  32. flashforge/exceptions.py +90 -51
  33. flashforge/models/__init__.py +52 -55
  34. flashforge/models/machine_info.py +540 -543
  35. flashforge/{api/controls/info.py → models/machine_info_parser.py} +35 -242
  36. flashforge/models/responses.py +119 -254
  37. flashforge/status/__init__.py +43 -0
  38. flashforge/status/printer_snapshot.py +396 -0
  39. flashforge/tcp/__init__.py +55 -54
  40. flashforge/tcp/a3_client.py +427 -427
  41. flashforge/tcp/a4_client.py +304 -304
  42. flashforge/tcp/ff_client.py +609 -590
  43. flashforge/tcp/gcode/__init__.py +15 -13
  44. flashforge/tcp/gcode/a3_gcode_controller.py +109 -109
  45. flashforge/tcp/gcode/gcode_controller.py +292 -308
  46. flashforge/tcp/gcode/gcodes.py +81 -99
  47. flashforge/tcp/gcode/legacy_gcode_controller.py +56 -0
  48. flashforge/tcp/parsers/__init__.py +27 -27
  49. flashforge/tcp/parsers/endstop_status.py +248 -248
  50. flashforge/tcp/parsers/location_info.py +83 -83
  51. flashforge/tcp/parsers/print_status.py +180 -180
  52. flashforge/tcp/parsers/printer_info.py +146 -146
  53. flashforge/tcp/parsers/temp_info.py +218 -218
  54. flashforge/tcp/parsers/thumbnail_info.py +274 -274
  55. flashforge/tcp/tcp_client.py +52 -12
  56. flashforge/threemf/__init__.py +40 -40
  57. flashforge/threemf/parser.py +560 -560
  58. flashforge/threemf/warnings.py +58 -58
  59. {flashforge_python_api-1.6.0.dist-info → flashforge_python_api-3.1.0.dist-info}/METADATA +46 -47
  60. flashforge_python_api-3.1.0.dist-info/RECORD +69 -0
  61. {flashforge_python_api-1.6.0.dist-info → flashforge_python_api-3.1.0.dist-info}/WHEEL +1 -1
  62. {flashforge_python_api-1.6.0.dist-info → flashforge_python_api-3.1.0.dist-info}/licenses/LICENSE +21 -21
  63. flashforge/api/controls/__init__.py +0 -17
  64. flashforge/api/controls/control.py +0 -413
  65. flashforge/api/controls/files.py +0 -210
  66. flashforge/api/controls/job_control.py +0 -896
  67. flashforge/api/controls/temp_control.py +0 -309
  68. flashforge/client.py +0 -609
  69. flashforge_python_api-1.6.0.dist-info/RECORD +0 -52
  70. {flashforge_python_api-1.6.0.dist-info → flashforge_python_api-3.1.0.dist-info}/entry_points.txt +0 -0
@@ -1,58 +1,58 @@
1
- """
2
- FlashForge Python API - Slicer warning translations
3
-
4
- Slicers in the OrcaSlicer family (OrcaSlicer, Orca-FlashForge, Flash Studio)
5
- write slice warnings into ``Metadata/slice_info.config`` as raw i18n keys such
6
- as ``bed_temperature_too_high_than_filament``, not as display text. This module
7
- turns those keys into readable sentences. An unknown key falls back to a
8
- prettified form, so a new warning still reads acceptably.
9
-
10
- The keys come from OrcaSlicer's ``GCodeProcessor.hpp``, and the wording follows
11
- ``Plater::get_slice_warning_string()``, so the messages match what the slicer
12
- itself shows. The table matches ``slicer-meta``'s ``warning-translations.ts``.
13
- """
14
-
15
- from __future__ import annotations
16
-
17
- _KNOWN_WARNINGS: dict[str, str] = {
18
- "bed_temperature_too_high_than_filament": (
19
- "The current hot bed temperature is relatively high. The nozzle may be clogged "
20
- "when printing this filament in a closed enclosure. Please open the front door "
21
- "and/or remove the upper glass."
22
- ),
23
- "the_actual_nozzle_hrc_smaller_than_the_required_nozzle_hrc": (
24
- "The nozzle hardness required by the filament is higher than the default nozzle "
25
- "hardness of the printer. Please replace the hardened nozzle or filament, "
26
- "otherwise, the nozzle will be attrited or damaged."
27
- ),
28
- "not_support_traditional_timelapse": (
29
- "Enabling traditional timelapse photography may cause surface imperfections. "
30
- "It is recommended to change to smooth mode."
31
- ),
32
- "not_generate_timelapse": "Timelapse will not be generated for this print.",
33
- "smooth_timelapse_without_prime_tower": (
34
- "Smooth mode for timelapse is enabled, but the prime tower is off, which may "
35
- "cause print defects. Please enable the prime tower, re-slice and print again."
36
- ),
37
- "activate_long_retraction_when_cut": "Long retraction when cut is enabled for this print.",
38
- }
39
-
40
-
41
- def translate_warning(key: str) -> str:
42
- """
43
- Translate a raw slicer warning key into readable text.
44
-
45
- Args:
46
- key: The warning key as the slicer wrote it.
47
-
48
- Returns:
49
- The curated message for a known key, a prettified form of an unknown
50
- snake_case key, or an empty string for an empty key.
51
- """
52
- if not key:
53
- return ""
54
- known = _KNOWN_WARNINGS.get(key)
55
- if known is not None:
56
- return known
57
- words = key.replace("_", " ").strip()
58
- return words[:1].upper() + words[1:] if words else ""
1
+ """
2
+ FlashForge Python API - Slicer warning translations
3
+
4
+ Slicers in the OrcaSlicer family (OrcaSlicer, Orca-FlashForge, Flash Studio)
5
+ write slice warnings into ``Metadata/slice_info.config`` as raw i18n keys such
6
+ as ``bed_temperature_too_high_than_filament``, not as display text. This module
7
+ turns those keys into readable sentences. An unknown key falls back to a
8
+ prettified form, so a new warning still reads acceptably.
9
+
10
+ The keys come from OrcaSlicer's ``GCodeProcessor.hpp``, and the wording follows
11
+ ``Plater::get_slice_warning_string()``, so the messages match what the slicer
12
+ itself shows. The table matches ``slicer-meta``'s ``warning-translations.ts``.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ _KNOWN_WARNINGS: dict[str, str] = {
18
+ "bed_temperature_too_high_than_filament": (
19
+ "The current hot bed temperature is relatively high. The nozzle may be clogged "
20
+ "when printing this filament in a closed enclosure. Please open the front door "
21
+ "and/or remove the upper glass."
22
+ ),
23
+ "the_actual_nozzle_hrc_smaller_than_the_required_nozzle_hrc": (
24
+ "The nozzle hardness required by the filament is higher than the default nozzle "
25
+ "hardness of the printer. Please replace the hardened nozzle or filament, "
26
+ "otherwise, the nozzle will be attrited or damaged."
27
+ ),
28
+ "not_support_traditional_timelapse": (
29
+ "Enabling traditional timelapse photography may cause surface imperfections. "
30
+ "It is recommended to change to smooth mode."
31
+ ),
32
+ "not_generate_timelapse": "Timelapse will not be generated for this print.",
33
+ "smooth_timelapse_without_prime_tower": (
34
+ "Smooth mode for timelapse is enabled, but the prime tower is off, which may "
35
+ "cause print defects. Please enable the prime tower, re-slice and print again."
36
+ ),
37
+ "activate_long_retraction_when_cut": "Long retraction when cut is enabled for this print.",
38
+ }
39
+
40
+
41
+ def translate_warning(key: str) -> str:
42
+ """
43
+ Translate a raw slicer warning key into readable text.
44
+
45
+ Args:
46
+ key: The warning key as the slicer wrote it.
47
+
48
+ Returns:
49
+ The curated message for a known key, a prettified form of an unknown
50
+ snake_case key, or an empty string for an empty key.
51
+ """
52
+ if not key:
53
+ return ""
54
+ known = _KNOWN_WARNINGS.get(key)
55
+ if known is not None:
56
+ return known
57
+ words = key.replace("_", " ").strip()
58
+ return words[:1].upper() + words[1:] if words else ""
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: flashforge-python-api
3
- Version: 1.6.0
3
+ Version: 3.1.0
4
4
  Summary: A comprehensive Python library for controlling FlashForge 3D printers
5
- Project-URL: Homepage, https://github.com/GhostTypes/ff-5mp-api-py
6
- Project-URL: Documentation, https://github.com/GhostTypes/ff-5mp-api-py#readme
7
- Project-URL: Repository, https://github.com/GhostTypes/ff-5mp-api-py.git
8
- Project-URL: Issues, https://github.com/GhostTypes/ff-5mp-api-py/issues
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
9
  Author-email: GhostTypes <notghosttypes@gmail.com>
10
10
  License-Expression: MIT
11
11
  License-File: LICENSE
@@ -69,70 +69,69 @@ pip install flashforge-python-api
69
69
 
70
70
  ## Quick Start
71
71
 
72
- Modern LAN-mode HTTP printers require:
73
-
74
- - printer IP address
75
- - serial number
76
- - check code (per-printer credential, not returned by discovery)
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.
77
75
 
78
76
  ```python
79
77
  import asyncio
80
78
  import os
81
- from flashforge import FlashForgeClient, FiveMClientConnectionOptions, PrinterDiscovery
79
+
80
+ from flashforge import ConnectOptions, NotSupportedError, PrinterDiscovery, connect_printer
82
81
 
83
82
 
84
83
  async def main():
85
84
  check_code = os.getenv("FLASHFORGE_CHECK_CODE", "").strip()
86
- if not check_code:
87
- print("Set FLASHFORGE_CHECK_CODE before running this example")
88
- return
89
-
90
- discovery = PrinterDiscovery()
91
- printers = await discovery.discover()
92
-
85
+ printers = await PrinterDiscovery().discover()
93
86
  if not printers:
94
87
  print("No printers found")
95
88
  return
96
89
 
97
- printer = printers[0]
98
- if not printer.serial_number:
99
- print("Discovered printer did not report a serial number")
100
- return
101
-
102
- options = FiveMClientConnectionOptions(
103
- http_port=printer.event_port,
104
- tcp_port=printer.command_port,
105
- )
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")
106
97
 
107
- async with FlashForgeClient(
108
- printer.ip_address,
109
- printer.serial_number,
110
- check_code,
111
- options=options,
112
- ) as client:
113
- status = await client.get_printer_status()
114
- if not status:
115
- return
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)
116
105
 
117
- await client.init_control()
118
106
 
119
- status = await client.get_printer_status()
120
- print(f"Printer: {client.printer_name}")
121
- print(f"State: {status.machine_state if status else 'unknown'}")
107
+ asyncio.run(main())
108
+ ```
122
109
 
123
- await client.control.home_axes()
110
+ To connect without discovery (manual IP or a saved printer), pass a `ConnectTarget`:
124
111
 
112
+ ```python
113
+ from flashforge import ConnectOptions, ConnectTarget, connect_printer
125
114
 
126
- asyncio.run(main())
115
+ backend = await connect_printer(
116
+ ConnectTarget("192.168.1.50", serial_number="SN..."),
117
+ ConnectOptions(check_code="12345678"),
118
+ )
127
119
  ```
128
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
+
129
125
  ## Main Entry Points
130
126
 
131
- - `FlashForgeClient`: primary client for modern printers
132
- - `PrinterDiscovery`: recommended discovery API
133
- - `FlashForgeA4Client`: documented TCP client for Adventurer 4 Lite / Pro printers
134
- - `FlashForgeA3Client`: documented TCP client for Adventurer 3 printers
135
- - `FlashForgeTcpClient` and `client.tcp_client`: lower-level TCP access for direct commands and generic legacy workflows
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
136
135
 
137
136
  ## Capabilities
138
137
 
@@ -0,0 +1,69 @@
1
+ flashforge/__init__.py,sha256=AzKdKbWaU-l6jCKdt-Y5Uzc-z_3ZXV93TYHYpMNjakc,7831
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=My-bI22OSMu0oP-Ljdt6U3yzFafk9N4I7XbXrsZxbL4,31230
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.1.0.dist-info/METADATA,sha256=wYIGXiAmsWfjyo9ruCfgv3SSBF-L2y7fGfhMGaq6J3s,7460
66
+ flashforge_python_api-3.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
67
+ flashforge_python_api-3.1.0.dist-info/entry_points.txt,sha256=AkOxlsLvQ7cvMLxn7tlzfKp_DCH2hXhbVceHIXxawpU,66
68
+ flashforge_python_api-3.1.0.dist-info/licenses/LICENSE,sha256=lW2RvsgnKpSECUO1251Wj_EMkdmuA6Vlxea-eje7wuM,1088
69
+ flashforge_python_api-3.1.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.32.4
2
+ Generator: hatchling 1.33.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -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
- ]