Metadata-Version: 2.1
Name: written
Version: 0.0.2
Summary: Try to atomically write data to a file
Home-page: https://github.com/pyrustic/written
Author: Pyrustic Evangelist
Author-email: rusticalex@yahoo.com
Maintainer: Pyrustic Evangelist
Maintainer-email: rusticalex@yahoo.com
License: MIT
Keywords: application,pyrustic
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
License-File: LICENSE

This package attempts to atomically write data to a file.

**Example 1:**

```python
import written

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

written.write(data, path)
```



**Example 2:**

```python
import written

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

written.write(data, path)
```

**Installation:**
```bash
pip install written
```

