Skip to main content

Try to atomically write data to a file

Project description

This package attempts to atomically write data to a file.

Example 1:

import written

data = "my text"
path = "/path/to/file.txt"

written.write(data, path)

Example 2:

import written

data = b'my bin data'
path = "/path/to/file.bin"

written.write(data, path)

Installation:

pip install written

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

written-0.0.4.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

written-0.0.4-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page