Skip to main content

Write strings to access nested JSON objects

Project description

https://travis-ci.org/jiffyclub/jaccs.svg?branch=master

Jaccs allows you to pull data from JSON objects using string Python expressions. For example:

>>> from jaccs import access
>>> access({'a': 'b': [{'c': 1}, {'c': 2}]}, '_.a.b[1].c')
2

This is expected to be most useful for combining specifications stored in external text files (say JSON or YAML) with data objects in Python.

Documentation is at https://jiffyclub.github.io/jaccs/.

Project details


Download files

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

Source Distributions

jaccs-1.0.0.zip (5.9 kB view details)

Uploaded Source

jaccs-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

jaccs-1.0.0-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jaccs-1.0.0.zip.

File metadata

  • Download URL: jaccs-1.0.0.zip
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jaccs-1.0.0.zip
Algorithm Hash digest
SHA256 68d0ffceb7d119280fb98f0e5397e4badbe9e4924d3a170e5daaac7ce241013b
MD5 813fc9178c9298d3695cfb8554be1634
BLAKE2b-256 fd3c1458ff3877f5cf2093f128962aa091e88bca6a413918763dc617860245e0

See more details on using hashes here.

File details

Details for the file jaccs-1.0.0.tar.gz.

File metadata

  • Download URL: jaccs-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jaccs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26c9bc9f1dc8be2fec677ec45a190922e1b8c52c2f7e8270a5459b6d06c7aae1
MD5 4a3763caadc3356f88c4e0e98dc80a40
BLAKE2b-256 b913e80999d36a380e8c9a4a0c6b4a25eab41da17a2a764c680e5adc848c2568

See more details on using hashes here.

File details

Details for the file jaccs-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jaccs-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1bfe84ba33978923432d4227836251ee63779c3531649296b0f5cfc0277b8229
MD5 2c9b1ca531ecbf4cf0c91bf775f6991b
BLAKE2b-256 19fc2507180914ab921e56ba1ae455dd982cc40cb87935523908f04ab751f8ef

See more details on using hashes here.

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