json-explorer


Namejson-explorer JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/stringertheory/json-explorer
SummaryExplore the structure of a bunch of jsons
upload_time2023-06-07 20:20:45
maintainer
docs_urlNone
authorMike Stringer
requires_python>=3.7,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Build status](https://img.shields.io/github/actions/workflow/status/stringertheory/json-explorer/main.yml?branch=main)](https://github.com/stringertheory/json-explorer/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/stringertheory/json-explorer/branch/main/graph/badge.svg)](https://codecov.io/gh/stringertheory/json-explorer)

# JSON Explorer

Explore the structure and contents of a group of JSONs, like responses
from an API.

### Installation

```
pip install json-explorer
```

JSON Explorer is a small tool with no dependencies and is tested in
Python 3.7+.

### Getting started

Get started by writing a few JSONs you want to explore to a file, one
per line. Then run `json-explorer` from the command line:

```
json-explorer data_from_an_undocumented_API.jsonl
```

If you just want to try it out but don't have JSONs in a file, you can
run `json-explorer --example` to see how it works with example data.

This will pop up a web page that helps you explore the properties of
the objects, what data types are in there, what values are unique, and
more.

From there, you might use `jq` or `jmespath` to write something to
more read the data that you're interested in using.

For more details, see the [full
documentation](https://stringertheory.github.io/json-explorer/>).


### Other tools to help with JSON data

This tool is intended for quick and dirty exploration of JSONs. If
that's not what you need, there are a *lot* of great resources for
working with JSON data. Here is an [awesome
list](https://github.com/burningtree/awesome-json).

There are a couple tools in the python ecosystem that complement JSON
Explorer:

- [GenSON](https://github.com/wolverdude/genson/) can create a [JSON
  Schema](https://json-schema.org/) from a group of JSONs.

- [jmespath.py](https://github.com/jmespath/jmespath.py). The official
  Python implementation fo the JMESPath query language for JSON.

Also, there are many tools for viewing/navigating individual JSONs, a 

- [JSON View](https://jsonview.com/). A simple browser extension to
  view JSONs, that's available for several browsers.

- [JSON Hero](https://jsonhero.io/). A full-featured JSON
  visualization tool.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/stringertheory/json-explorer",
    "name": "json-explorer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mike Stringer",
    "author_email": "fmike.stringer.internet@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b3/de/bb6de8eb0ea34b67a98f98838da0d3d1e6f2438bbe36e97d114983e78d60/json_explorer-0.1.0.tar.gz",
    "platform": null,
    "description": "[![Build status](https://img.shields.io/github/actions/workflow/status/stringertheory/json-explorer/main.yml?branch=main)](https://github.com/stringertheory/json-explorer/actions/workflows/main.yml?query=branch%3Amain)\n[![codecov](https://codecov.io/gh/stringertheory/json-explorer/branch/main/graph/badge.svg)](https://codecov.io/gh/stringertheory/json-explorer)\n\n# JSON Explorer\n\nExplore the structure and contents of a group of JSONs, like responses\nfrom an API.\n\n### Installation\n\n```\npip install json-explorer\n```\n\nJSON Explorer is a small tool with no dependencies and is tested in\nPython 3.7+.\n\n### Getting started\n\nGet started by writing a few JSONs you want to explore to a file, one\nper line. Then run `json-explorer` from the command line:\n\n```\njson-explorer data_from_an_undocumented_API.jsonl\n```\n\nIf you just want to try it out but don't have JSONs in a file, you can\nrun `json-explorer --example` to see how it works with example data.\n\nThis will pop up a web page that helps you explore the properties of\nthe objects, what data types are in there, what values are unique, and\nmore.\n\nFrom there, you might use `jq` or `jmespath` to write something to\nmore read the data that you're interested in using.\n\nFor more details, see the [full\ndocumentation](https://stringertheory.github.io/json-explorer/>).\n\n\n### Other tools to help with JSON data\n\nThis tool is intended for quick and dirty exploration of JSONs. If\nthat's not what you need, there are a *lot* of great resources for\nworking with JSON data. Here is an [awesome\nlist](https://github.com/burningtree/awesome-json).\n\nThere are a couple tools in the python ecosystem that complement JSON\nExplorer:\n\n- [GenSON](https://github.com/wolverdude/genson/) can create a [JSON\n  Schema](https://json-schema.org/) from a group of JSONs.\n\n- [jmespath.py](https://github.com/jmespath/jmespath.py). The official\n  Python implementation fo the JMESPath query language for JSON.\n\nAlso, there are many tools for viewing/navigating individual JSONs, a \n\n- [JSON View](https://jsonview.com/). A simple browser extension to\n  view JSONs, that's available for several browsers.\n\n- [JSON Hero](https://jsonhero.io/). A full-featured JSON\n  visualization tool.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Explore the structure of a bunch of jsons",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://stringertheory.github.io/json-explorer/",
        "Homepage": "https://github.com/stringertheory/json-explorer",
        "Repository": "https://github.com/stringertheory/json-explorer"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d7687c0b85f979a34828059154da24f951f62fa6a36521383c6e60726377989",
                "md5": "2d41b0e854e3766247217cf2dbd7c33f",
                "sha256": "73526d129d17504d4b52aa8b3e90205f7833bbbfaecf7a7c15859afdf07a11b5"
            },
            "downloads": -1,
            "filename": "json_explorer-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2d41b0e854e3766247217cf2dbd7c33f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 10105,
            "upload_time": "2023-06-07T20:20:43",
            "upload_time_iso_8601": "2023-06-07T20:20:43.570783Z",
            "url": "https://files.pythonhosted.org/packages/2d/76/87c0b85f979a34828059154da24f951f62fa6a36521383c6e60726377989/json_explorer-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3debb6de8eb0ea34b67a98f98838da0d3d1e6f2438bbe36e97d114983e78d60",
                "md5": "8280c51c86a3f20fe18fc48ea11cccfb",
                "sha256": "da4f65cb7f90baba26177cdbe62b6b1e4dae3e38881390b94726e28c357327e3"
            },
            "downloads": -1,
            "filename": "json_explorer-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8280c51c86a3f20fe18fc48ea11cccfb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 9879,
            "upload_time": "2023-06-07T20:20:45",
            "upload_time_iso_8601": "2023-06-07T20:20:45.087495Z",
            "url": "https://files.pythonhosted.org/packages/b3/de/bb6de8eb0ea34b67a98f98838da0d3d1e6f2438bbe36e97d114983e78d60/json_explorer-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-07 20:20:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "stringertheory",
    "github_project": "json-explorer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "json-explorer"
}
        
Elapsed time: 0.52052s