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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: written-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 12ca854f2b33e2e6a6b478084bb303be3e7343436d7c2e25f2f4ebc8b3acacdb
MD5 d4185dc6e51bca4f77735b701ad04045
BLAKE2b-256 07d91696ac6e0a6c279f805ead12583b91501add530a4771e7371893cb1cea7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: written-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0abd9f3305c4e9059e5c8a3b48009bf77b058eda223adc905b239d95116671d1
MD5 d3c8a2b791ba25311955c5b215fbcc6f
BLAKE2b-256 992ade8d5d3c03b1025a55c6b4e40f245e6b39a97f1255730ddd5c16b95c99f5

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