psytricks 2.2.0a3__tar.gz → 2.2.0a7__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.
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/PKG-INFO +5 -1
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/README.md +4 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/pyproject.toml +2 -2
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__init__.py +1 -1
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/psytricks-lib.ps1 +1 -1
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/decoder.py +1 -1
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/mappings.py +4 -1
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/LICENSE +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/psytricks-wrapper.ps1 +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/restricks-server.example.xml +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/restricks-server.ps1 +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/sampledata/GetAccessUsers.json +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/sampledata/GetMachineStatus.json +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/sampledata/GetSessions.json +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/cli.py +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/literals.py +0 -0
- {psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/wrapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: psytricks
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.0a7
|
|
4
4
|
Summary: PowerShell Python Citrix Tricks.
|
|
5
5
|
License-Expression: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -124,6 +124,9 @@ Service Wrapper)][www_winsw] but you may choose anything you like to launch the
|
|
|
124
124
|
server process like NSSM, Scheduled Tasks 📅, homegrown dark magic 🪄🔮 or
|
|
125
125
|
others.
|
|
126
126
|
|
|
127
|
+
🧪 A more recent approach could be [Shawl][www_shawl] - let us know if you've
|
|
128
|
+
tried it and how it went!
|
|
129
|
+
|
|
127
130
|
To go with **WinSW** simply download the bundled version provided with each
|
|
128
131
|
[PSyTricks release][www_releases]. Just look for the `.zip` asset having `REST`
|
|
129
132
|
and `WinSW` in its name.
|
|
@@ -227,4 +230,5 @@ wrapper.set_maintenance(machine="vm42.vdi.example.xy", disable=False)
|
|
|
227
230
|
[www_winsw]: https://github.com/winsw/winsw
|
|
228
231
|
[www_releases]: https://github.com/imcf/psytricks/releases
|
|
229
232
|
[www_rtf]: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
|
|
233
|
+
[www_shawl]: https://github.com/mtkennerly/shawl
|
|
230
234
|
|
|
@@ -100,6 +100,9 @@ Service Wrapper)][www_winsw] but you may choose anything you like to launch the
|
|
|
100
100
|
server process like NSSM, Scheduled Tasks 📅, homegrown dark magic 🪄🔮 or
|
|
101
101
|
others.
|
|
102
102
|
|
|
103
|
+
🧪 A more recent approach could be [Shawl][www_shawl] - let us know if you've
|
|
104
|
+
tried it and how it went!
|
|
105
|
+
|
|
103
106
|
To go with **WinSW** simply download the bundled version provided with each
|
|
104
107
|
[PSyTricks release][www_releases]. Just look for the `.zip` asset having `REST`
|
|
105
108
|
and `WinSW` in its name.
|
|
@@ -203,3 +206,4 @@ wrapper.set_maintenance(machine="vm42.vdi.example.xy", disable=False)
|
|
|
203
206
|
[www_winsw]: https://github.com/winsw/winsw
|
|
204
207
|
[www_releases]: https://github.com/imcf/psytricks/releases
|
|
205
208
|
[www_rtf]: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
|
|
209
|
+
[www_shawl]: https://github.com/mtkennerly/shawl
|
|
@@ -7,7 +7,7 @@ authors = [
|
|
|
7
7
|
license = "GPL-3.0-or-later"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
dynamic = []
|
|
10
|
-
version = "2.2.0-a.
|
|
10
|
+
version = "2.2.0-a.7"
|
|
11
11
|
|
|
12
12
|
[tool.poetry]
|
|
13
13
|
documentation = "https://imcf.one/apidocs/psytricks/psytricks.html"
|
|
@@ -34,7 +34,7 @@ psytricks = "psytricks.cli:run_cli"
|
|
|
34
34
|
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
|
|
35
35
|
|
|
36
36
|
[tool.poetry-dynamic-versioning]
|
|
37
|
-
enable =
|
|
37
|
+
enable = false
|
|
38
38
|
style = "semver"
|
|
39
39
|
vcs = "git"
|
|
40
40
|
|
|
@@ -49,7 +49,7 @@ def parse_powershell_json(json_dict):
|
|
|
49
49
|
try:
|
|
50
50
|
mapped_value = mapping[value]
|
|
51
51
|
except KeyError as err:
|
|
52
|
-
mapped_value = f"
|
|
52
|
+
mapped_value = f"undefined-mapping-{value}"
|
|
53
53
|
log.error(f"No mapping for value '{value}' - using '{mapped_value}'!")
|
|
54
54
|
log.trace(err)
|
|
55
55
|
log.trace(f"{key}: {value} -> {mapped_value}")
|
|
@@ -9,7 +9,8 @@ The dicts defined here can be used to map the numerical values back to their
|
|
|
9
9
|
descriptive names. The mapped names are corresponding to the ones described in
|
|
10
10
|
the official Citrix CVAD 2203 developer docs (all transformed to lowercase):
|
|
11
11
|
|
|
12
|
-
https://developer-docs.citrix.com/
|
|
12
|
+
https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/2203/
|
|
13
|
+
https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/2507/
|
|
13
14
|
"""
|
|
14
15
|
|
|
15
16
|
#######################################################################################
|
|
@@ -25,6 +26,8 @@ power_state = {
|
|
|
25
26
|
7: "turningoff",
|
|
26
27
|
8: "suspending",
|
|
27
28
|
9: "resuming",
|
|
29
|
+
10: "notsupported",
|
|
30
|
+
11: "virtualmachinenotfound",
|
|
28
31
|
}
|
|
29
32
|
"""A machine's *power status* (`Citrix.Broker.Admin.SDK.PowerState`).
|
|
30
33
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/sampledata/GetAccessUsers.json
RENAMED
|
File without changes
|
{psytricks-2.2.0a3 → psytricks-2.2.0a7}/src/psytricks/__ps1__/sampledata/GetMachineStatus.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|