Metadata-Version: 2.1
Name: schemastore
Version: 0.1.2
Summary: Dump of schemastore schemas for offline use in Python based applications
Home-page: https://github.com/pycontribs/schemastorepy
Author: Sorin Sbarnea
Author-email: sorin.sbarnea@gmail.com
License: Apache-2.0
Project-URL: Bug Tracker, https://github.com/pycontribs/schemastorepy/issues
Project-URL: CI: GitHub, https://github.com/pycontribs/schemastorepy/actions?query=workflow:gh+branch:main+event:push
Project-URL: Source Code, https://github.com/pycontribs/schemastorepy
Keywords: schemastore,json,yaml,schemas
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: Jython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Bug Tracking
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE

# schemastorepy

Contains all JSON Schemas from [schemastore.org](https://schemastore.org)
catalog so you can make use of them without needing internet access.

## How to use

```python
from schemastore import Store

store = Store(days=30)
my_schema_json = store.get('http://...') # <-- no network access happens
```

The `days` parameter is optional and defaults to 30, which means that after
this it will start checking if the locally cached schema is up to date and
refresh it it needed. `store.catalog` would contain
the content of the catalog itself.

## Stats

- Over 500 JSON Schemas in the catalog
- ~2.5Mib package size
- ~30Mib installed size
