anycubic-cloud-api 0.4.2__tar.gz → 0.4.3__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.
- anycubic_cloud_api-0.4.3/COPYRIGHT +54 -0
- anycubic_cloud_api-0.4.3/MANIFEST.in +3 -0
- {anycubic_cloud_api-0.4.2/src/anycubic_cloud_api.egg-info → anycubic_cloud_api-0.4.3}/PKG-INFO +27 -3
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/README.md +25 -1
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/pyproject.toml +5 -1
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3/src/anycubic_cloud_api.egg-info}/PKG-INFO +27 -3
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/SOURCES.txt +2 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/LICENSE +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/setup.cfg +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/__init__.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/anycubic_api.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/api/base.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/api/functions.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/api/mqtt.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/api_endpoints.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/const.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/enums.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/lan.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/mqtt.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/consumable.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/files.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/gcode_file.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/orders.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/print_response.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/print_speed_mode.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/printer.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/printer_properties.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/printing_settings.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/project.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/exceptions/error_strings.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/exceptions/exceptions.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/helpers/helpers.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/lan/__init__.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/lan/client.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/lan/handshake.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/models/auth.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/models/cloud_upload.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/models/http.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/resources/anycubic_mqqt_tls_ca.crt +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/resources/anycubic_mqqt_tls_client.crt +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/resources/anycubic_mqqt_tls_client.key +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/dependency_links.txt +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/requires.txt +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/top_level.txt +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/tests/test_axis_position.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/tests/test_lan_client.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/tests/test_lan_handshake.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/tests/test_lan_reports.py +0 -0
- {anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/tests/test_partial_reports.py +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
anycubic-cloud-api
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2024-2026 WaresWichall
|
|
5
|
+
Copyright (C) 2026 Nino Bondonno
|
|
6
|
+
|
|
7
|
+
This library originated as part of the Home Assistant integration
|
|
8
|
+
"hass-anycubic_cloud" by WaresWichall:
|
|
9
|
+
|
|
10
|
+
https://github.com/WaresWichall/hass-anycubic_cloud
|
|
11
|
+
|
|
12
|
+
It was extracted into a standalone package, modified and extended by
|
|
13
|
+
Nino Bondonno from 2026 onwards. Modifications include the LAN Mode
|
|
14
|
+
client, filament-usage estimation, tolerant parsing of partial printer
|
|
15
|
+
reports, and the test suite.
|
|
16
|
+
|
|
17
|
+
This program is free software: you can redistribute it and/or modify it
|
|
18
|
+
under the terms of the GNU General Public License as published by the
|
|
19
|
+
Free Software Foundation, either version 3 of the License, or (at your
|
|
20
|
+
option) any later version.
|
|
21
|
+
|
|
22
|
+
This program is distributed in the hope that it will be useful, but
|
|
23
|
+
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
25
|
+
General Public License for more details.
|
|
26
|
+
|
|
27
|
+
You should have received a copy of the GNU General Public License along
|
|
28
|
+
with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
THIRD-PARTY MATERIAL — NOT COVERED BY THIS LICENCE
|
|
32
|
+
--------------------------------------------------
|
|
33
|
+
|
|
34
|
+
src/anycubic_cloud_api/resources/
|
|
35
|
+
anycubic_mqqt_tls_ca.crt
|
|
36
|
+
anycubic_mqqt_tls_client.crt
|
|
37
|
+
anycubic_mqqt_tls_client.key
|
|
38
|
+
|
|
39
|
+
These are Anycubic's own X.509 certificates and the matching client key,
|
|
40
|
+
issued by "AC Root CA, O=Anycubic" to "CN=AnycubicSlicer". They are the
|
|
41
|
+
property of Shenzhen Anycubic Technology Co., Ltd.
|
|
42
|
+
|
|
43
|
+
They are NOT the work of the authors above, are NOT licensed under the GNU
|
|
44
|
+
General Public License, and no claim of ownership over them is made here.
|
|
45
|
+
They are included solely because Anycubic's MQTT broker requires mutual TLS
|
|
46
|
+
using this identity, and there is no other way for a third-party client to
|
|
47
|
+
connect to a service the user already has an account with.
|
|
48
|
+
|
|
49
|
+
They are a shared identity distributed inside Anycubic's own desktop slicer,
|
|
50
|
+
not a per-user credential, and were present in the upstream project this is
|
|
51
|
+
derived from.
|
|
52
|
+
|
|
53
|
+
If Anycubic would prefer these were not redistributed, contact the maintainer
|
|
54
|
+
and they will be removed.
|
{anycubic_cloud_api-0.4.2/src/anycubic_cloud_api.egg-info → anycubic_cloud_api-0.4.3}/PKG-INFO
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: anycubic-cloud-api
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Async client for the Anycubic Cloud API and its MQTT stream
|
|
5
|
-
Author: Nino Bondonno
|
|
5
|
+
Author: WaresWichall, Nino Bondonno
|
|
6
6
|
Maintainer: Nino Bondonno
|
|
7
7
|
License: GPL-3.0-or-later
|
|
8
8
|
Project-URL: Homepage, https://github.com/Nino6689/anycubic-cloud-api
|
|
@@ -29,9 +29,33 @@ Dynamic: license-file
|
|
|
29
29
|
|
|
30
30
|
Async Python client for the **Anycubic Cloud** API and its MQTT telemetry stream.
|
|
31
31
|
|
|
32
|
-
Extracted from the [Home Assistant Anycubic
|
|
32
|
+
Extracted from the [Home Assistant Anycubic integration](https://github.com/Nino6689/hass-anycubic)
|
|
33
33
|
so it can be versioned, tested and used independently.
|
|
34
34
|
|
|
35
|
+
## Attribution
|
|
36
|
+
|
|
37
|
+
**The bulk of this library is the work of [@WaresWichall](https://github.com/WaresWichall), from
|
|
38
|
+
[hass-anycubic_cloud](https://github.com/WaresWichall/hass-anycubic_cloud)** — the Anycubic cloud
|
|
39
|
+
API client, the MQTT layer and the printer data models all originated there, under GPL-3.0.
|
|
40
|
+
|
|
41
|
+
This package extracts that code so it can be versioned and tested on its own, and adds to it:
|
|
42
|
+
the LAN Mode client, the filament-usage maths, tolerant parsing of partial reports, and the test
|
|
43
|
+
suite. Those additions and modifications are by [@Nino6689](https://github.com/Nino6689), from
|
|
44
|
+
2026 onwards.
|
|
45
|
+
|
|
46
|
+
It remains **GPL-3.0-or-later**, as it must.
|
|
47
|
+
|
|
48
|
+
### Anycubic's certificates
|
|
49
|
+
|
|
50
|
+
This package ships Anycubic's own TLS certificates and client key, because their MQTT broker
|
|
51
|
+
requires mutual TLS using that identity and there is no other way for a third-party client to reach
|
|
52
|
+
it. **They are Anycubic's property, not covered by this licence, and no ownership is claimed** — see
|
|
53
|
+
[COPYRIGHT](COPYRIGHT). They are a shared identity taken from Anycubic's own slicer rather than a
|
|
54
|
+
per-user credential, and they came from the upstream project this is derived from.
|
|
55
|
+
|
|
56
|
+
The **LAN Mode** client needs none of this. If you only talk to the printer locally, no Anycubic
|
|
57
|
+
credential is involved at any point.
|
|
58
|
+
|
|
35
59
|
## Install
|
|
36
60
|
|
|
37
61
|
```bash
|
|
@@ -2,9 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
Async Python client for the **Anycubic Cloud** API and its MQTT telemetry stream.
|
|
4
4
|
|
|
5
|
-
Extracted from the [Home Assistant Anycubic
|
|
5
|
+
Extracted from the [Home Assistant Anycubic integration](https://github.com/Nino6689/hass-anycubic)
|
|
6
6
|
so it can be versioned, tested and used independently.
|
|
7
7
|
|
|
8
|
+
## Attribution
|
|
9
|
+
|
|
10
|
+
**The bulk of this library is the work of [@WaresWichall](https://github.com/WaresWichall), from
|
|
11
|
+
[hass-anycubic_cloud](https://github.com/WaresWichall/hass-anycubic_cloud)** — the Anycubic cloud
|
|
12
|
+
API client, the MQTT layer and the printer data models all originated there, under GPL-3.0.
|
|
13
|
+
|
|
14
|
+
This package extracts that code so it can be versioned and tested on its own, and adds to it:
|
|
15
|
+
the LAN Mode client, the filament-usage maths, tolerant parsing of partial reports, and the test
|
|
16
|
+
suite. Those additions and modifications are by [@Nino6689](https://github.com/Nino6689), from
|
|
17
|
+
2026 onwards.
|
|
18
|
+
|
|
19
|
+
It remains **GPL-3.0-or-later**, as it must.
|
|
20
|
+
|
|
21
|
+
### Anycubic's certificates
|
|
22
|
+
|
|
23
|
+
This package ships Anycubic's own TLS certificates and client key, because their MQTT broker
|
|
24
|
+
requires mutual TLS using that identity and there is no other way for a third-party client to reach
|
|
25
|
+
it. **They are Anycubic's property, not covered by this licence, and no ownership is claimed** — see
|
|
26
|
+
[COPYRIGHT](COPYRIGHT). They are a shared identity taken from Anycubic's own slicer rather than a
|
|
27
|
+
per-user credential, and they came from the upstream project this is derived from.
|
|
28
|
+
|
|
29
|
+
The **LAN Mode** client needs none of this. If you only talk to the printer locally, no Anycubic
|
|
30
|
+
credential is involved at any point.
|
|
31
|
+
|
|
8
32
|
## Install
|
|
9
33
|
|
|
10
34
|
```bash
|
|
@@ -4,12 +4,16 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "anycubic-cloud-api"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.3"
|
|
8
8
|
description = "Async client for the Anycubic Cloud API and its MQTT stream"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
11
11
|
license = { text = "GPL-3.0-or-later" }
|
|
12
|
+
# Most of this library originated in WaresWichall's Home Assistant
|
|
13
|
+
# integration; it is extracted, modified and extended here. See the
|
|
14
|
+
# attribution section of the README.
|
|
12
15
|
authors = [
|
|
16
|
+
{ name = "WaresWichall" },
|
|
13
17
|
{ name = "Nino Bondonno" },
|
|
14
18
|
]
|
|
15
19
|
maintainers = [
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3/src/anycubic_cloud_api.egg-info}/PKG-INFO
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: anycubic-cloud-api
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Async client for the Anycubic Cloud API and its MQTT stream
|
|
5
|
-
Author: Nino Bondonno
|
|
5
|
+
Author: WaresWichall, Nino Bondonno
|
|
6
6
|
Maintainer: Nino Bondonno
|
|
7
7
|
License: GPL-3.0-or-later
|
|
8
8
|
Project-URL: Homepage, https://github.com/Nino6689/anycubic-cloud-api
|
|
@@ -29,9 +29,33 @@ Dynamic: license-file
|
|
|
29
29
|
|
|
30
30
|
Async Python client for the **Anycubic Cloud** API and its MQTT telemetry stream.
|
|
31
31
|
|
|
32
|
-
Extracted from the [Home Assistant Anycubic
|
|
32
|
+
Extracted from the [Home Assistant Anycubic integration](https://github.com/Nino6689/hass-anycubic)
|
|
33
33
|
so it can be versioned, tested and used independently.
|
|
34
34
|
|
|
35
|
+
## Attribution
|
|
36
|
+
|
|
37
|
+
**The bulk of this library is the work of [@WaresWichall](https://github.com/WaresWichall), from
|
|
38
|
+
[hass-anycubic_cloud](https://github.com/WaresWichall/hass-anycubic_cloud)** — the Anycubic cloud
|
|
39
|
+
API client, the MQTT layer and the printer data models all originated there, under GPL-3.0.
|
|
40
|
+
|
|
41
|
+
This package extracts that code so it can be versioned and tested on its own, and adds to it:
|
|
42
|
+
the LAN Mode client, the filament-usage maths, tolerant parsing of partial reports, and the test
|
|
43
|
+
suite. Those additions and modifications are by [@Nino6689](https://github.com/Nino6689), from
|
|
44
|
+
2026 onwards.
|
|
45
|
+
|
|
46
|
+
It remains **GPL-3.0-or-later**, as it must.
|
|
47
|
+
|
|
48
|
+
### Anycubic's certificates
|
|
49
|
+
|
|
50
|
+
This package ships Anycubic's own TLS certificates and client key, because their MQTT broker
|
|
51
|
+
requires mutual TLS using that identity and there is no other way for a third-party client to reach
|
|
52
|
+
it. **They are Anycubic's property, not covered by this licence, and no ownership is claimed** — see
|
|
53
|
+
[COPYRIGHT](COPYRIGHT). They are a shared identity taken from Anycubic's own slicer rather than a
|
|
54
|
+
per-user credential, and they came from the upstream project this is derived from.
|
|
55
|
+
|
|
56
|
+
The **LAN Mode** client needs none of this. If you only talk to the printer locally, no Anycubic
|
|
57
|
+
credential is involved at any point.
|
|
58
|
+
|
|
35
59
|
## Install
|
|
36
60
|
|
|
37
61
|
```bash
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/anycubic_api.py
RENAMED
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/api/functions.py
RENAMED
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/const/api_endpoints.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/files.py
RENAMED
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/orders.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/printer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/data_models/project.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/helpers/helpers.py
RENAMED
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/lan/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/lan/handshake.py
RENAMED
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api/models/cloud_upload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/requires.txt
RENAMED
|
File without changes
|
{anycubic_cloud_api-0.4.2 → anycubic_cloud_api-0.4.3}/src/anycubic_cloud_api.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|