From 1b566907e0f414c043fc51e906067ca7f4f648c1 Mon Sep 17 00:00:00 2001 From: gd Date: Tue, 9 Mar 2021 02:42:56 +0300 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d396f76..6461f0c 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,12 @@ More information is available in docstrings: >>> help(jwrap) ``` +## Installation + +``` +pip install jwrap +``` + ## Quickstart For example, you can write some data to json file by this: @@ -17,7 +23,7 @@ For example, you can write some data to json file by this: from jwrap import Jwrap j = Jwrap('myfile.json') -j.json['mykey'] = 'my value' -# or: j.ins('mykey', 'my value') +j.json()['mykey'] = 'my value' +# or j.ins('mykey', 'my value') j.commit() # write data to file ``` \ No newline at end of file