{ "info": { "author": "Luis Pedro Coelho", "author_email": "luis@luispedro.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Operating System :: POSIX", "Programming Language :: Python" ], "description": "# Safeout: write out a file safely\n\nWith `safeout`, you can write:\n\n from safeout import safeout\n with safeout('output.txt') as output:\n output.write(\"Hello world\\n\")\n\nand this will write out the file `output.txt` in a safe, atomic manner. That\nis, if there are any problems (Exceptions or a crash) in the `with` block, then\nthere there will be **no output**. If the `with` block completes, then the\noutput file will include the whole result.\n\nSo, if the output file exists, you can be confident that the process completed\ncorrectly.\n\nLicense: MIT\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Safeout", "package_url": "https://pypi.org/project/Safeout/", "platform": "Any", "project_url": "https://pypi.org/project/Safeout/", "project_urls": null, "release_url": "https://pypi.org/project/Safeout/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Write out a file safely (atomically)", "version": "0.2.1" }, "last_serial": 3466321, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "a1947abe600ee419c2a4104667832c8e", "sha256": "7d71b71bd2dff6a09f09036f640c0df3df209c68ed42cc3bdcde8bb2044e5c00" }, "downloads": -1, "filename": "Safeout-0.2.tar.gz", "has_sig": false, "md5_digest": "a1947abe600ee419c2a4104667832c8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1726, "upload_time": "2018-01-06T02:18:15", "url": "https://files.pythonhosted.org/packages/52/9f/23ec9787b3c6c06ad3fad46c82a280a65fc6b8fec4234ef0c4c846cc18b4/Safeout-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bddac585642b701b46c833fa69693b27", "sha256": "b6821e16d38d921f521d023f7324f525f2723f5c5d052f90c5743062aac847a0" }, "downloads": -1, "filename": "Safeout-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bddac585642b701b46c833fa69693b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1942, "upload_time": "2018-01-06T02:19:57", "url": "https://files.pythonhosted.org/packages/47/19/5ad7e2081bfbc609a1b5e7412424f3e5f069988b6884a7408d1aeae2e009/Safeout-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bddac585642b701b46c833fa69693b27", "sha256": "b6821e16d38d921f521d023f7324f525f2723f5c5d052f90c5743062aac847a0" }, "downloads": -1, "filename": "Safeout-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bddac585642b701b46c833fa69693b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1942, "upload_time": "2018-01-06T02:19:57", "url": "https://files.pythonhosted.org/packages/47/19/5ad7e2081bfbc609a1b5e7412424f3e5f069988b6884a7408d1aeae2e009/Safeout-0.2.1.tar.gz" } ] }