{ "info": { "author": "Pavel Odvody", "author_email": "podvody@redhat.com", "bugtrack_url": null, "classifiers": [], "description": "# schemalib\n\nSchemalib is a library for simple handling and usage of JSON schemas in your code. Simply define\na schema library with paths from which to load the schemas and then use the `check` decorator provided\nby the object instance to perform actual checking against that schema library. Relative or absolute paths\ncan be specified, there's also a support for loading schemas relative to a Python module (Python's module load\norder applies here).\n\n## Examples:\n\n```python\nfrom schemalib import SchemaLibrary\nschemas = SchemaLibrary('/my/schema/path', 'package://my.python.package')\n\n# check contents of keyword argument `data_obj`\n@schemas.check(data_obj='some-schema-file')\ndef my_function(data_obj=None):\n ...\n\n# check return value of the function\n@schemas.check('some-other-schema-file')\ndef my_function():\n ...\n\n# check both\n@schemas.check('some-other-schema-file', data_obj='some-schema-file')\ndef my_function(data_obj=None):\n ...\n```\n\n## Lincese\n\nGNU/GPLv-3\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shaded-enmity/schemalib", "keywords": "lib", "license": "GPLv-3", "maintainer": "", "maintainer_email": "", "name": "schemalib", "package_url": "https://pypi.org/project/schemalib/", "platform": "", "project_url": "https://pypi.org/project/schemalib/", "project_urls": { "Homepage": "https://github.com/shaded-enmity/schemalib" }, "release_url": "https://pypi.org/project/schemalib/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Library for working with JSON Schemas", "version": "1.0.1" }, "last_serial": 2916806, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e7b9a417b96d488649efc081031daafd", "sha256": "1997ba14f91782573b047d86f6ded8fdc852b1948654f1c2a1ad097ad18bced1" }, "downloads": -1, "filename": "schemalib-1.0.tar.gz", "has_sig": false, "md5_digest": "e7b9a417b96d488649efc081031daafd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1997, "upload_time": "2017-06-01T13:27:35", "url": "https://files.pythonhosted.org/packages/41/ab/2079994430ae022b28fca15a388118f887702f2b6f29e6cf298f1bffc3c9/schemalib-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "335a4243a2644e053ff1ccac0f354786", "sha256": "d9b41ecedf72af5dacb133dcbba4419319cfa100578eb4939838446725cab671" }, "downloads": -1, "filename": "schemalib-1.0.1.tar.gz", "has_sig": false, "md5_digest": "335a4243a2644e053ff1ccac0f354786", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2427, "upload_time": "2017-06-01T13:33:29", "url": "https://files.pythonhosted.org/packages/71/c8/77f5bbc10e713ecb9b250e8dd1d28190d8602851442c82b23bf8b73bf2e2/schemalib-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "335a4243a2644e053ff1ccac0f354786", "sha256": "d9b41ecedf72af5dacb133dcbba4419319cfa100578eb4939838446725cab671" }, "downloads": -1, "filename": "schemalib-1.0.1.tar.gz", "has_sig": false, "md5_digest": "335a4243a2644e053ff1ccac0f354786", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2427, "upload_time": "2017-06-01T13:33:29", "url": "https://files.pythonhosted.org/packages/71/c8/77f5bbc10e713ecb9b250e8dd1d28190d8602851442c82b23bf8b73bf2e2/schemalib-1.0.1.tar.gz" } ] }