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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pyrustic/written",
"name": "written",
"maintainer": "Pyrustic Evangelist",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "rusticalex@yahoo.com",
"keywords": "application,pyrustic",
"author": "Pyrustic Evangelist",
"author_email": "rusticalex@yahoo.com",
"download_url": "https://files.pythonhosted.org/packages/07/d9/1696ac6e0a6c279f805ead12583b91501add530a4771e7371893cb1cea7f/written-0.0.4.tar.gz",
"platform": null,
"description": "This package attempts to atomically write data to a file.\n\n**Example 1:**\n\n```python\nimport written\n\ndata = \"my text\"\npath = \"/path/to/file.txt\"\n\nwritten.write(data, path)\n```\n\n\n\n**Example 2:**\n\n```python\nimport written\n\ndata = b'my bin data'\npath = \"/path/to/file.bin\"\n\nwritten.write(data, path)\n```\n\n**Installation:**\n```bash\npip install written\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Try to atomically write data to a file",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/pyrustic/written"
},
"split_keywords": [
"application",
"pyrustic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "992ade8d5d3c03b1025a55c6b4e40f245e6b39a97f1255730ddd5c16b95c99f5",
"md5": "d3c8a2b791ba25311955c5b215fbcc6f",
"sha256": "0abd9f3305c4e9059e5c8a3b48009bf77b058eda223adc905b239d95116671d1"
},
"downloads": -1,
"filename": "written-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d3c8a2b791ba25311955c5b215fbcc6f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 4938,
"upload_time": "2024-03-13T23:00:27",
"upload_time_iso_8601": "2024-03-13T23:00:27.759051Z",
"url": "https://files.pythonhosted.org/packages/99/2a/de8d5d3c03b1025a55c6b4e40f245e6b39a97f1255730ddd5c16b95c99f5/written-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "07d91696ac6e0a6c279f805ead12583b91501add530a4771e7371893cb1cea7f",
"md5": "d4185dc6e51bca4f77735b701ad04045",
"sha256": "12ca854f2b33e2e6a6b478084bb303be3e7343436d7c2e25f2f4ebc8b3acacdb"
},
"downloads": -1,
"filename": "written-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "d4185dc6e51bca4f77735b701ad04045",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 4334,
"upload_time": "2024-03-13T23:00:30",
"upload_time_iso_8601": "2024-03-13T23:00:30.200925Z",
"url": "https://files.pythonhosted.org/packages/07/d9/1696ac6e0a6c279f805ead12583b91501add530a4771e7371893cb1cea7f/written-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-13 23:00:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyrustic",
"github_project": "written",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "written"
}