Skip to main content

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

Project description

jason logo jason-json

PyPI version Maintainability pre-commit.ci status

ghcr latest ghcr size

Jason JSON Builder

Install

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.

$ 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"
      }
    },
    ...
  ],
  "群馬県": [
    ...
  ]
}

Help

$ jason.json -h
usage: jason.json [-h] [-O] [-i NAT] [-s PATH] [-u URL] [-V]

Jason (jason.co.jp) JSON Builder

options:
  -h, --help            show this help message and exit
  -O, --overwrite       overwrite if save path already exists (default: False)
  -i NAT, --indent NAT  indent json (default: None)
  -s PATH, --save PATH  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

from Docker

Try:

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

License

MIT

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

jason_json-0.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

jason_json-0.0.1-py3-none-any.whl (6.3 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