diff --git a/README.rst b/README.rst index 84d5546..41c428c 100644 --- a/README.rst +++ b/README.rst @@ -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. @@ -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)) @@ -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`` diff --git a/setup.py b/setup.py index d679490..70440a2 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='atomicfile', - version='0.1', + version='1.0', author='Alexander Saltanov', author_email='asd@mokote.com', url='http://github.com/sashka/atomicfile',