python3-cyberfusion-queue-support 1.1.3__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.
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.1
2
+ Name: python3-cyberfusion-queue-support
3
+ Version: 1.1.3
4
+ Summary: Library to queue actions.
5
+ Author-email: Cyberfusion <support@cyberfusion.io>
6
+ Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-queue-support
7
+ Description-Content-Type: text/markdown
8
+ Requires-Dist: python3-cyberfusion-systemd-support ~=1.0
9
+
10
+ # python3-cyberfusion-queue-support
11
+
12
+ Library to queue actions.
13
+
14
+ # Install
15
+
16
+ ## PyPI
17
+
18
+ Run the following command to install the package from PyPI:
19
+
20
+ pip3 install python3-cyberfusion-queue-support
21
+
22
+ ## Debian
23
+
24
+ Run the following commands to build a Debian package:
25
+
26
+ mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
27
+ dpkg-buildpackage -us -uc
28
+
29
+ # Configure
30
+
31
+ No configuration is supported.
32
+
33
+ # Usage
34
+
35
+ ## Example
36
+
37
+ ```python
38
+ from cyberfusion.QueueSupport import Queue
39
+ from cyberfusion.QueueSupport.items.chmod import ChmodItem
40
+
41
+ queue = Queue()
42
+
43
+ item = ChmodItem(path="/tmp/example.txt", mode=0o600)
44
+ print(item.outcomes)
45
+
46
+ queue.add(item)
47
+
48
+ preview = True or False
49
+
50
+ outcomes = queue.process(preview=preview)
51
+
52
+ for outcome in outcomes:
53
+ print(str(outcome))
54
+ ```
@@ -0,0 +1,23 @@
1
+ cyberfusion/QueueSupport/__init__.py,sha256=Oj7djeqtw1peSBGVYJoV8I_qoRjQJpDnX3-0EDFvTSk,2140
2
+ cyberfusion/QueueSupport/interfaces.py,sha256=KW5DPm1j2alO2U18FZzglkRBhe4BXJqoQihOEAa0q8Y,941
3
+ cyberfusion/QueueSupport/outcomes.py,sha256=tFazpn5UHE2cpUr2wW1B4lfI55njFiijlFgn2xdD7hU,9041
4
+ cyberfusion/QueueSupport/utilities.py,sha256=vsQOZunX0UwudoIauCPV-Ij1TVrjWG_16wctvJPaMVQ,186
5
+ cyberfusion/QueueSupport/exceptions/__init__.py,sha256=oQqNMAtmurT7lHA-y5oHPiugNu4v9RSFRH5aQydRg0E,766
6
+ cyberfusion/QueueSupport/items/__init__.py,sha256=uS3fvsJBFxU_ieiLOGQNALnBWFPL8m875rupIW2i5qg,514
7
+ cyberfusion/QueueSupport/items/chmod.py,sha256=Jdh4hmeSp83aTXIscLbvL-7PWj9-Vw5YGJlOmP9gp-I,2183
8
+ cyberfusion/QueueSupport/items/chown.py,sha256=V5bdKa_JpPKAmo291dlwxaSu4y1JW9YGF7b6Fqoqwa4,4222
9
+ cyberfusion/QueueSupport/items/command.py,sha256=0l6CBTPoxu3rTeC2O05uIZeMeDC8HzJ7ryYR-vebtZQ,1895
10
+ cyberfusion/QueueSupport/items/copy.py,sha256=M2Wdujj7-qaRthBqdlIRD4msMQyPFefLM6BmWq_R_A0,1742
11
+ cyberfusion/QueueSupport/items/mkdir.py,sha256=kaShYGpZIgCbgM3k5BahFnzPgLuE0vU8eYOLek2jwts,1594
12
+ cyberfusion/QueueSupport/items/move.py,sha256=ai4NQRCi3ETmAMphlRTxYq9mvT6ZnajqSPA1hvmNGsY,1738
13
+ cyberfusion/QueueSupport/items/systemd_tmp_files_create.py,sha256=suAR6nnvKlTkIlTTwzxnK9U3bT3-l-6Njg31V4m3gI8,1532
14
+ cyberfusion/QueueSupport/items/systemd_unit_disable.py,sha256=Oj4FNsVT8g0avBZLbwh5FdlwDzEaS7BxklUGYMDkoDk,1583
15
+ cyberfusion/QueueSupport/items/systemd_unit_enable.py,sha256=kR89zxl2M4-L1xIghQIQeB3-w4a-7fgRNDZHaytot3Y,1575
16
+ cyberfusion/QueueSupport/items/systemd_unit_reload.py,sha256=ch-i8GpOF2C5Dz7bw964yF0FUKFFYpMXV7W2-oEkQkk,1489
17
+ cyberfusion/QueueSupport/items/systemd_unit_restart.py,sha256=wCXIh0QzjC4V6N7lUvtT-Ssxclksgt9xoQNDj6ygRAk,1500
18
+ cyberfusion/QueueSupport/items/systemd_unit_stop.py,sha256=z2U9bpSskyE92xeJxI47-90nLcpI9M2P1XtWepBm3Mg,1513
19
+ cyberfusion/QueueSupport/items/unlink.py,sha256=kPUlJBgao3haHTL6jrM0bM4azEfMaM3uOX5l9IWYa4o,1597
20
+ python3_cyberfusion_queue_support-1.1.3.dist-info/METADATA,sha256=QUtoXHk-XnWsCA-u5irwm0Qpz_GyfTJtslfFcEChhKo,1143
21
+ python3_cyberfusion_queue_support-1.1.3.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
22
+ python3_cyberfusion_queue_support-1.1.3.dist-info/top_level.txt,sha256=ss011q9S6SL_KIIyq7iujFmIYa0grSjlnInO7cDkeag,12
23
+ python3_cyberfusion_queue_support-1.1.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+