Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Version bump to 1.0. Gratipay experiment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sashka committed Oct 15, 2014
1 parent 3f154ee commit 62683e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ AtomicFile
.. image:: https://travis-ci.org/sashka/atomicfile.png?branch=master
:target: https://travis-ci.org/sashka/atomicfile

.. image:: http://img.shields.io/gratipay/sashka.svg
:target: https://www.gratipay.com/sashka/


Writeable file object that atomically updates a file.

Expand All @@ -12,7 +15,7 @@ All writes will go to a temporary file. Call ``close()`` explicitly when you are
AtomicFile is friendly to ``with`` statement. ::

from atomicfile import AtomicFile

with AtomicFile("panic.txt", "w") as f:
f.write(json.dumps(big_data_array_100MB, sort_keys=True, indent=4))

Expand All @@ -23,5 +26,3 @@ To install AtomicFile, simply: ::

pip install atomicfile


You can buy me a cup of coffee or a glass of wine. Bitcoin could be sent to ``1Boahzk5jMTebqiKVESzbnVWTvBTGnAvYf``
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='atomicfile',
version='0.1',
version='1.0',
author='Alexander Saltanov',
author_email='[email protected]',
url='http://github.com/sashka/atomicfile',
Expand Down

0 comments on commit 62683e2

Please sign in to comment.