Skip to main content

No project description provided

Project description

json_context

Use JSON as context!

from json_context import json_context

with json_context('cache.json') as cache:
	print(cache)
	... ... ...
	cache.write()
	... ... ...

json_context will read the specified JSON file and write the changes!

You can use write() to manually write the changes any time!

Project details


Download files

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

Source Distribution

json-context-0.0.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_context-0.0.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file json-context-0.0.2.tar.gz.

File metadata

  • Download URL: json-context-0.0.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for json-context-0.0.2.tar.gz
Algorithm Hash digest
SHA256 caccc6a55c089f1995b2d33b09a089c1ac59e05e4960ea715e64ed49e6c460f6
MD5 cf57a4b6a4e80daefb35afa2c16573f7
BLAKE2b-256 8a5736d1484fc874f56907a5aa922d27489a89678efdd290ae7931a5e7626f87

See more details on using hashes here.

File details

Details for the file json_context-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: json_context-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for json_context-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c139b66b5a20124807607ccff204f48a900515b4e8b8da8e1730bb3c0c9956
MD5 fcf6f8873d9ba9304609a930b6c8167f
BLAKE2b-256 8559e8616e71325c60ee350376c972ed6da8ada5d055a2f6070e1c6697c78d44

See more details on using hashes here.

Supported by

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