Skip to main content

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

Project description

jason logo jason-json

PyPI version Maintainability Test Coverage 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"
      }
    },

jason.json is the result with running jason.json -O -s jason.json -i 2.

Help

$ 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:

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-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

jason_json-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jason_json-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for jason_json-1.0.0.tar.gz
Algorithm Hash digest
SHA256 396badcc71f5413fb9b3873c864bceccd7e4c9915f2395811184b33d448b06e9
MD5 60cc09ea381a056a89475e1af3855080
BLAKE2b-256 92469125a2c1c97b9a21840894eefca0b6687e331a2d140c1a2a92f091b0558e

See more details on using hashes here.

File details

Details for the file jason_json-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jason_json-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for jason_json-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b54f821dd05cd42fbc0b21cc9a40dc02cd3bd906d1993f8462a4f0e575c565b
MD5 2d797104ed106ede18a337feccf274a4
BLAKE2b-256 8df0f1e20df7de36fbd1b722aebdc4dce40c38a7e10d53a7d899837c7de40f0b

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