Skip to main content

Wrapper for easy interacting with JSON files.

Project description

jwrap

jwrap — is a single-file micro-library that implements JSON wrapper. Its mission is to make interacting with JSON a little bit easier without writing extra code.

More information is available in docstrings:

>>> import jwrap
>>> help(jwrap)

Quickstart

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.commit()  # write data to file

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jwrap-0.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

jwrap-0.3-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page