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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101a8821f74dcef1ca1db10f1c64645d04f14cd31e8aa4e2bacc3e822a506bc5 |
|
MD5 | 2579c43c4aac5839acbfaf5e3524e889 |
|
BLAKE2b-256 | d97d9168749c70e4d311d596a113b641ea8ff43f9f256712f1dc6f8d61974dc1 |