check-jsonschema-0.9.1
توضیحات
A jsonschema CLI and pre-commit hook
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | check-jsonschema-0.9.1 |
| نام | check-jsonschema |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stephen Rosen |
| ایمیل نویسنده | sirosen@uchicago.edu |
| آدرس صفحه اصلی | https://github.com/python-jsonschema/check-jsonschema |
| آدرس اینترنتی | https://pypi.org/project/check-jsonschema/ |
| مجوز | - |
[](https://pypi.org/project/check-jsonschema/)
[](https://pypi.org/project/check-jsonschema/)
[](https://github.com/python-jsonschema/check-jsonschema/actions/workflows/build.yaml)
[](https://results.pre-commit.ci/latest/github/python-jsonschema/check-jsonschema/main)
[](https://check-jsonschema.readthedocs.io/en/stable)
# check-jsonschema
A JSON Schema CLI and [pre-commit](https://pre-commit.com/) hook built on [jsonschema](https://github.com/python-jsonschema/jsonschema/).
The schema may be specified as a local or remote (HTTP or HTTPS) file.
Remote files are automatically downloaded and cached if possible.
## Usage
`check-jsonschema` can be installed and run as a CLI tool, or via pre-commit.
### Example pre-commit config
The following configuration uses `check-jsonschema` to validate Github Workflow
files.
```yaml
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0
hooks:
- id: check-github-workflows
```
## Documentation
Full documentation can be found at https://check-jsonschema.readthedocs.io/
نیازمندی
| مقدار | نام |
|---|---|
| ==0.17.22 | ruamel.yaml |
| <5.0,>=4.5.1 | jsonschema |
| <3.0 | requests |
| <9,>=8 | click |
| >=1.4.0 | importlib-resources |
| <8 | pytest |
| <8 | coverage |
| <4 | pytest-xdist |
| ==0.23.1 | responses |
| <8 | sphinx |
| <4 | sphinx-issues |
| ==2023.3.27 | furo |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl check-jsonschema-0.9.1:
pip install check-jsonschema-0.9.1.whl
نصب پکیج tar.gz check-jsonschema-0.9.1:
pip install check-jsonschema-0.9.1.tar.gz