Skip to main content

jason logo jason-json

PyPI version CI

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 | jq '[to_entries[] | {(.key): .value | length}] | add'
{
  "東京都": 27,
  "千葉県": 33,
  "神奈川県": 1,
  "埼玉県": 29,
  "茨城県": 18,
  "栃木県": 4,
  "群馬県": 5
}
$ jason.json | jq '."東京都"[0]'
{
  "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

Metadata

Release files for jason-json 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jason-json 1.1.2
File Size Uploaded Provenance
jason_json-1.1.2.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jason-json 1.1.2
File Interpreter ABI Platform
jason_json-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / jason_json-1.1.2.tar.gz

Download URL jason_json-1.1.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7127987edb2050db8909e0a15559ce0cba08e5f1c2d33b338f1ea1469a5a10bd
BLAKE2b-256 checksum
How to use checksums
0ba80fd8ecf67a7ab5ae27ed87564b2384b8ad6e530d8197c88d89dc1e8a86fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / jason_json-1.1.2-py3-none-any.whl

Download URL jason_json-1.1.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a67b97fef2d245dd1baa181d5db9c84e6407461bdc4c085d6fbdb0d70430309
BLAKE2b-256 checksum
How to use checksums
492fc89632c47ccc0a750c81adf5b42fe4ab7351259d99a8a74f6b84b22768c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for jason-json 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page