{
"info": {
"author": "Brett Langdon",
"author_email": "me@brett.is",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
],
"description": "============\nresumeschema\n============\n\n``resumeschema`` is a `json-schema `_ validator for the `resume-schema `_ spec.\n\n``resumeschema`` is mostly just a wrapper around `jsonschema `_.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ [sudo] pip install resumeschema\n\n\nAPI\n---\nvalidate(instance)\n~~~~~~~~~~~~~~~~~~\nCheck if the provided ``instance`` is valid under the ``resume-schema`` spec.\n\nReturns nothing.\n\nRaises a ``jsonschema.ValidationError`` on error.\n\n.. code:: python\n\n import resumeschema\n instance = {\n 'basics': {\n 'name': 'Resume Schema',\n },\n }\n resumeschema.validate(instance)\n\n\nis_valid(instance)\n~~~~~~~~~~~~~~~~~~\nCheck if the provided ``instance`` is valid under the ``resume-schema`` spec.\n\nReturns ``True`` if valid ``False`` if not.\n\n.. code:: python\n\n import resumeschema\n instance = {\n 'basics': {\n 'name': 'Resume Schema',\n },\n }\n if resumeschema.is_valid(instance):\n print 'It is valid!'\n\n\niter_errors(instance)\n~~~~~~~~~~~~~~~~~~~~~\nGet an iterator to iterate any ``jsonschema.ValidationErrors`` from the provided ``instance``.\n\nReturns an iterator of ``jsonschema.ValidationErrors``.\n\n.. code:: python\n\n import resumeschema\n invalid_instance = {\n 'basics': {\n # `first_name` is not a supported field\n 'first_name': 'Resume Schema',\n },\n }\n for error in resumeschema.iter_errors(invalid_instance):\n print error.message\n\n\nvalidator\n~~~~~~~~~\nAn instance of ``jsonschema.Draft4Validator`` to use as you so choose.\n\n\n.. code:: python\n\n import resumeschema\n instance = {\n 'basics': {\n 'name': 'Resume Schema',\n },\n }\n resumeschema.validator.validate(instance)",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/underdogio/resumeschema-python",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "resumeschema",
"package_url": "https://pypi.org/project/resumeschema/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/resumeschema/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://github.com/underdogio/resumeschema-python"
},
"release_url": "https://pypi.org/project/resumeschema/1.0.0/",
"requires_dist": null,
"requires_python": null,
"summary": "JSON schema validator for the resume-schema (https://github.com/jsonresume/resume-schema) spec",
"version": "1.0.0"
},
"last_serial": 2013109,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "63d72c617c641374907ff97b7524f530",
"sha256": "0cab4f6eb671c48dac6a851d91661ee474ab54f54e06a499dd290f58728c2e0b"
},
"downloads": -1,
"filename": "resumeschema-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "63d72c617c641374907ff97b7524f530",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6968,
"upload_time": "2016-03-17T21:19:00",
"url": "https://files.pythonhosted.org/packages/0b/e9/e86287caf4c778f45514b698da302290a7538f38790b4a4591522defb3a4/resumeschema-1.0.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "63d72c617c641374907ff97b7524f530",
"sha256": "0cab4f6eb671c48dac6a851d91661ee474ab54f54e06a499dd290f58728c2e0b"
},
"downloads": -1,
"filename": "resumeschema-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "63d72c617c641374907ff97b7524f530",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6968,
"upload_time": "2016-03-17T21:19:00",
"url": "https://files.pythonhosted.org/packages/0b/e9/e86287caf4c778f45514b698da302290a7538f38790b4a4591522defb3a4/resumeschema-1.0.0.tar.gz"
}
]
}