Skip to main content

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)

Source distribution for python3-cyberfusion-file-support 1.9.1
File Size Uploaded
python3_cyberfusion_file_support-1.9.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python3-cyberfusion-file-support 1.9.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.9.1 This release

2 release files

1.9

2 release files

1.8.1

2 release files

1.8

2 release files

1.7

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1.1.1

1 release file

1.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page