jason_json


Namejason_json JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/eggplants/jason-json
SummaryJason (https://jason.co.jp) JSON Builder
upload_time2024-11-09 23:27:42
maintainerNone
docs_urlNone
authoreggplants
requires_python<4,>=3.10
licenseMIT
keywords json jason japanese scraping
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # [![jason logo](https://jason.co.jp/favicon.ico)](https://jason.co.jp/) jason-json

[![PyPI version](
  <https://img.shields.io/pypi/v/jason-json?color=blue>
  )](
  <https://pypi.org/project/jason-json/>
) [![Maintainability](
  <https://api.codeclimate.com/v1/badges/20d58be4ccf5c4c8e008/maintainability>
  )](
    <https://codeclimate.com/github/eggplants/jason-json/maintainability>
) [![Test Coverage](
  <https://api.codeclimate.com/v1/badges/20d58be4ccf5c4c8e008/test_coverage>
  )](
    <https://codeclimate.com/github/eggplants/jason-json/test_coverage>
  ) [![pre-commit.ci status](
  <https://results.pre-commit.ci/badge/github/eggplants/jason-json/master.svg>
  )](
  <https://results.pre-commit.ci/latest/github/eggplants/jason-json/master>
)

[![ghcr latest](
    <https://ghcr-badge.egpl.dev/eggplants/jason-json/latest_tag?trim=major&label=latest>
  )](
    <https://github.com/eggplants/jason-json/pkgs/container/jason-json>
) [![ghcr size](
  <https://ghcr-badge.egpl.dev/eggplants/jason-json/size>
  )](
  <https://github.com/eggplants/jason-json/pkgs/container/jason-json>
)

[Jason](https://jason.co.jp) JSON Builder

## Install

```bash
pip install git+https://github.com/eggplants/jason-json
# or...
pip install jason-json
```

## CLI Usage

You can run this program as `jason-json` or `jason.json` on CLI.

```shellsession
$ jason.json -i 2
{
  "東京都": [
    {
      "name": "足立鹿浜店",
      "address": "東京都足立区鹿浜6-34-19",
      "link": "http://jason.co.jp/wptest/?p=5079",
      "business_time": {
        "begin_sec": 36000,
        "end_sec": 79200,
        "duration_sec": 43200,
        "duration_str": "10:00~22:00"
      }
    },
```

[`jason.json`](https://github.com/eggplants/jason-json/blob/master/jason.json) is the result with running `jason.json -O -s jason.json -i 2`.

### Help

```shellsession
$ jason.json -h
usage: jason-json [-i INDENT] [-O] [-s SAVE] [-u URL] [-V] [-h]

Jason (https://jason.co.jp) JSON Builder.

options:
  -i INDENT, --indent INDENT
                         number of indentation spaces in json (default: 2)
  -O, --overwrite        overwrite if save path already exists (default: False)
  -s SAVE, --save SAVE   save json to given path (default: None)
  -u URL, --url URL      target url (default: https://jason.co.jp/network)
  -V, --version          show program's version number and exit (default: False)
  -h, --help             show this help message and exit
```

### from Docker

Try:

```bash
docker run -it ghcr.io/eggplants/jason-json -h
```

## License

MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/eggplants/jason-json",
    "name": "jason_json",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.10",
    "maintainer_email": null,
    "keywords": "json, jason, japanese, scraping",
    "author": "eggplants",
    "author_email": "w10776e8w@yahoo.co.jp",
    "download_url": "https://files.pythonhosted.org/packages/92/46/9125a2c1c97b9a21840894eefca0b6687e331a2d140c1a2a92f091b0558e/jason_json-1.0.0.tar.gz",
    "platform": null,
    "description": "# [![jason logo](https://jason.co.jp/favicon.ico)](https://jason.co.jp/) jason-json\n\n[![PyPI version](\n  <https://img.shields.io/pypi/v/jason-json?color=blue>\n  )](\n  <https://pypi.org/project/jason-json/>\n) [![Maintainability](\n  <https://api.codeclimate.com/v1/badges/20d58be4ccf5c4c8e008/maintainability>\n  )](\n    <https://codeclimate.com/github/eggplants/jason-json/maintainability>\n) [![Test Coverage](\n  <https://api.codeclimate.com/v1/badges/20d58be4ccf5c4c8e008/test_coverage>\n  )](\n    <https://codeclimate.com/github/eggplants/jason-json/test_coverage>\n  ) [![pre-commit.ci status](\n  <https://results.pre-commit.ci/badge/github/eggplants/jason-json/master.svg>\n  )](\n  <https://results.pre-commit.ci/latest/github/eggplants/jason-json/master>\n)\n\n[![ghcr latest](\n    <https://ghcr-badge.egpl.dev/eggplants/jason-json/latest_tag?trim=major&label=latest>\n  )](\n    <https://github.com/eggplants/jason-json/pkgs/container/jason-json>\n) [![ghcr size](\n  <https://ghcr-badge.egpl.dev/eggplants/jason-json/size>\n  )](\n  <https://github.com/eggplants/jason-json/pkgs/container/jason-json>\n)\n\n[Jason](https://jason.co.jp) JSON Builder\n\n## Install\n\n```bash\npip install git+https://github.com/eggplants/jason-json\n# or...\npip install jason-json\n```\n\n## CLI Usage\n\nYou can run this program as `jason-json` or `jason.json` on CLI.\n\n```shellsession\n$ jason.json -i 2\n{\n  \"\u6771\u4eac\u90fd\": [\n    {\n      \"name\": \"\u8db3\u7acb\u9e7f\u6d5c\u5e97\",\n      \"address\": \"\u6771\u4eac\u90fd\u8db3\u7acb\u533a\u9e7f\u6d5c6-34-19\",\n      \"link\": \"http://jason.co.jp/wptest/?p=5079\",\n      \"business_time\": {\n        \"begin_sec\": 36000,\n        \"end_sec\": 79200,\n        \"duration_sec\": 43200,\n        \"duration_str\": \"10:00\uff5e22:00\"\n      }\n    },\n```\n\n[`jason.json`](https://github.com/eggplants/jason-json/blob/master/jason.json) is the result with running `jason.json -O -s jason.json -i 2`.\n\n### Help\n\n```shellsession\n$ jason.json -h\nusage: jason-json [-i INDENT] [-O] [-s SAVE] [-u URL] [-V] [-h]\n\nJason (https://jason.co.jp) JSON Builder.\n\noptions:\n  -i INDENT, --indent INDENT\n                         number of indentation spaces in json (default: 2)\n  -O, --overwrite        overwrite if save path already exists (default: False)\n  -s SAVE, --save SAVE   save json to given path (default: None)\n  -u URL, --url URL      target url (default: https://jason.co.jp/network)\n  -V, --version          show program's version number and exit (default: False)\n  -h, --help             show this help message and exit\n```\n\n### from Docker\n\nTry:\n\n```bash\ndocker run -it ghcr.io/eggplants/jason-json -h\n```\n\n## License\n\nMIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Jason (https://jason.co.jp) JSON Builder",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/eggplants/jason-json",
        "Repository": "https://github.com/eggplants/jason-json"
    },
    "split_keywords": [
        "json",
        " jason",
        " japanese",
        " scraping"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8df0f1e20df7de36fbd1b722aebdc4dce40c38a7e10d53a7d899837c7de40f0b",
                "md5": "2d797104ed106ede18a337feccf274a4",
                "sha256": "7b54f821dd05cd42fbc0b21cc9a40dc02cd3bd906d1993f8462a4f0e575c565b"
            },
            "downloads": -1,
            "filename": "jason_json-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2d797104ed106ede18a337feccf274a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.10",
            "size": 6439,
            "upload_time": "2024-11-09T23:27:40",
            "upload_time_iso_8601": "2024-11-09T23:27:40.709027Z",
            "url": "https://files.pythonhosted.org/packages/8d/f0/f1e20df7de36fbd1b722aebdc4dce40c38a7e10d53a7d899837c7de40f0b/jason_json-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92469125a2c1c97b9a21840894eefca0b6687e331a2d140c1a2a92f091b0558e",
                "md5": "60cc09ea381a056a89475e1af3855080",
                "sha256": "396badcc71f5413fb9b3873c864bceccd7e4c9915f2395811184b33d448b06e9"
            },
            "downloads": -1,
            "filename": "jason_json-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "60cc09ea381a056a89475e1af3855080",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.10",
            "size": 5308,
            "upload_time": "2024-11-09T23:27:42",
            "upload_time_iso_8601": "2024-11-09T23:27:42.222722Z",
            "url": "https://files.pythonhosted.org/packages/92/46/9125a2c1c97b9a21840894eefca0b6687e331a2d140c1a2a92f091b0558e/jason_json-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-09 23:27:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "eggplants",
    "github_project": "jason-json",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jason_json"
}
        
Elapsed time: 0.63841s