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
Generic
Run the following command to create a source distribution:
python3 setup.py sdist
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for python3-cyberfusion-queue-support-1.1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced845e523024713e5bde606909996a7e0e4d67bf6689e9601c3b88d3b66c9ee |
|
MD5 | 48ee755f0db060d82ca23fbcceeb418d |
|
BLAKE2b-256 | 07a63c783a6570f3563684766a06dca2349b75add5f8a8a533765354765b8e7a |