Library to queue actions.
Project description
python3-cyberfusion-queue-support
Library to queue actions.
Install
PyPI
Run the following command to install the package from PyPI:
pip3 install python3-cyberfusion-queue-support
Debian
Run the following commands to build a Debian package:
mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc
Configure
No configuration is supported.
Usage
Example
from cyberfusion.QueueSupport import Queue
from cyberfusion.QueueSupport.items.chmod import ChmodItem
queue = Queue()
item = ChmodItem(path="/tmp/example.txt", mode=0o600)
print(item.outcomes)
queue.add(item)
preview = True or False
outcomes = queue.process(preview=preview)
for outcome in outcomes:
print(str(outcome))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python3_cyberfusion_queue_support-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239cbfcab56ce042289f0a5a3be3ad44211212ce91b81728c0dbbb8a6670cb02 |
|
MD5 | c1391b6a58d7623ae28e80b3d3e39472 |
|
BLAKE2b-256 | 04879b556cea6d8cef0c3c583f4cc470feed41b5ee2d06e35e76bdfcd0be4d4b |
Close
Hashes for python3_cyberfusion_queue_support-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e258f59fbe09d26377fae1973d7f93bab5c3589cbec3a75cda6237ab8687be3f |
|
MD5 | 9b267e0bdf16753079cfc65eb118c619 |
|
BLAKE2b-256 | 72615899cb3c95a6be3163035999f1c0d343ef2213feea0301e3780f32e5970d |