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.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

written-0.0.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file written-0.0.3.tar.gz.

File metadata

  • Download URL: written-0.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2

File hashes

Hashes for written-0.0.3.tar.gz
Algorithm Hash digest
SHA256 231582d32abdf27d9293b9e82275884a1e210680ff159232bcadfd5162112bf0
MD5 7af1949f9c2ba6b8f6a572670a1e8b0b
BLAKE2b-256 7425158c36425bf1230b75c2080a2fe4dd36a406d1428974de28ff74db68ea23

See more details on using hashes here.

File details

Details for the file written-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: written-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2

File hashes

Hashes for written-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 77e4c25cdf57a28fedc55a7b7648d979f87d2a3935e4aaddbf5b55641987d9ee
MD5 6e1c5054d9c02681bb95323a1bec07e7
BLAKE2b-256 3d3f0c86f1c5a4814741b23023e5137bb840e76d63e374fe110e9603a2c4b1e1

See more details on using hashes here.

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