python3-cyberfusion-file-support
Library for idempotent writing to files.
Install
PyPI
Run the following command to install the package from PyPI:
pip3 install python3-cyberfusion-file-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.FileSupport import DestinationFileReplacement
queue = Queue()
tmp_file = DestinationFileReplacement(
queue,
contents="foobar",
destination_file_path="/tmp/foobar.txt",
default_comment_character=None,
command=["true"],
)
print(tmp_file.differences)
tmp_file.add_copy_to_queue()
queue.process(preview=...)
Release files for python3-cyberfusion-file-support 1.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python3_cyberfusion_file_support-1.9.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python3_cyberfusion_file_support-1.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / python3_cyberfusion_file_support-1.9.1.tar.gz
| Download URL | python3_cyberfusion_file_support-1.9.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91bf8c4ae7eaa42dfec6645f3531d33d8eae289c20927f8c6836c358c68943ae
|
|
BLAKE2b-256 checksum How to use checksums |
0e831d0a96508cc8ab56c52d6580b0f7d145b3f07eb7621f8d89221d638b59ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / python3_cyberfusion_file_support-1.9.1-py3-none-any.whl
| Download URL | python3_cyberfusion_file_support-1.9.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b52a439ec51133fdf36e6aabebff0aa846acc9233dd108221b3dcd6948b17695
|
|
BLAKE2b-256 checksum How to use checksums |
a8107bcfe978694dafaab8c43642d6da7e0bc37029f74cfa211a6c57cf5d4603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|