Update README.md

This commit is contained in:
gd 2021-03-09 02:42:56 +03:00
parent 1808070b35
commit 1b566907e0
1 changed files with 8 additions and 2 deletions

View File

@ -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
```