{ "info": { "author": "Jim Schaad", "author_email": "ietf@augustcellars.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Other Audience", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Text Processing", "Topic :: Text Processing :: Markup :: XML" ], "description": "Check SVG against RFC schema\n============================\n\nThis program takes an XML file containing an SVG or an RFC document. It then compares\nall of the SVG elements with the schema defined in the document with `RFC 7996 bis`_.\nThe program has the option\nof modifying and writing out a version of the input that passes the defined schema.\n\nThe `RFC Editor`_ is in the process of changing the canonical input format of\nInternet-Draft_ and RFC_ docuemnts. As part of this process, the ability to create\nartwork which is not ASCII text is being introduced. This is being done with SVG.\nHowever, the full set of SVG does not match with the archival nature of RFCs so\na subset of the SVG specification is being defined by the RFC Editor that eliminates\nmany capabilities such as animation. Additionally, there is a requirement that\nthe images have the widest possible usage both by printers, monochrome displays and\nindividuals with visual disabilities. Further information on the process can be found\non the RFC Editor at the `RFC Editor`_ site.\n\n.. _Internet-Draft: https://en.wikipedia.org/wiki/Internet_Draft\n.. _RFC: https://en.wikipedia.org/wiki/Request_for_Comments\n.. _RFC 7996 bis: https://datatracker.ietf.org/doc/draft-7996-bis\n.. _RFC Editor: https://www.rfc-editor.org\n\nUsage\n=====\n\nsvgcheck accepts a single XML document as input and optionally outputs a modified version of\nthe document.\n\n**Basic Usage**: ``svgcheck [options] SOURCE``\n\n**Options**\n The following parameters affect how svgcheck behaves, however none are required.\n\n =============== ======================= ==================================================\n Short Long Description\n =============== ======================= ==================================================\n ``-C`` ``--clear-cache`` purge the cache and exit\n ``-h`` ``--help`` show the help message and exit\n ``-N`` ``--no-network`` don't use the network to resolve references\n ``-q`` ``--quiet`` dont print anything\n ``-r`` ``--repair`` repair the SVG so it meets RFC 7966, only emit the new file if repairs are needed\n ``-a`` ``--always-emit`` repair the SVG file if needed, emit the file even if no repairs are needed\n ``-v`` ``--verbose`` print extra information\n ``-V`` ``--version`` display the version number and exit\n ``-X`` ``--no-xinclude`` don't resolve xi:include elements\n\n ``-d RNG`` ``--rng=RNG`` specify an alternate RNG file\n ``-o FILENAME`` ``--out=FILENAME`` specify an output filename, default to stdout\n ``-g`` ``--grey-scale`` use a grey scale hieristic to determine what is white\n . ``--grey-level`` cut off level between black and white\n =============== ======================= ==================================================\n\nDependencies\n============\n\nsvgcheck depends on the following packages:\n\n* lxml_ *(>= 4.1.1)*\n* requests_ *(>= 2.5.0)*\n* `rfctools_common`_ *(>= 0.5.5)*\n\n.. _lxml: http://lxml.de\n.. _requests: http://docs.python-requests.org\n.. _rfctools_common: https://pypi.python.org/pypi/pip\n\n\nChangelog\n=========\n\n\nVersion 0.5.19 (Thur 29 Aug)\n------------------------------------------------\n\n\n\t* Move sources to an appropirate github location\n\t* Always emit a file when repair is chosen\n\n\n\n\n\n\nVersion 0.5.17 (Fri 16 Aug)\n------------------------------------------------\n\n\n\t* Remove Python 3.4 from the supported liste\n\n\n\n\n\n\nVersion 0.5.16 (Mon 1 July)\n------------------------------------------------\n\n\n\t* Require new version of rfctools for new RNG file", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ietf-tools/RfcEditor/tree/master/svgcheck", "keywords": "svg validation RFC", "license": "Simplified BSD", "maintainer": "", "maintainer_email": "", "name": "svgcheck", "package_url": "https://pypi.org/project/svgcheck/", "platform": "", "project_url": "https://pypi.org/project/svgcheck/", "project_urls": { "Homepage": "https://github.com/ietf-tools/RfcEditor/tree/master/svgcheck" }, "release_url": "https://pypi.org/project/svgcheck/0.6.0/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "summary": "Verify that an svg file is compliant with the RFC standards.", "version": "0.6.0" }, "last_serial": 5978978, "releases": { "0.5.1": [ { "comment_text": "", "digests": { "md5": "26dec64af21a643513817b32cc8a4f72", "sha256": "85ecefd8f214f0e0d8316cdd767b5ede5271b201676be5cfe748df8a5dc71dc5" }, "downloads": -1, "filename": "svgcheck-0.5.1.tar.gz", "has_sig": false, "md5_digest": "26dec64af21a643513817b32cc8a4f72", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 16115, "upload_time": "2018-03-10T14:46:48", "url": "https://files.pythonhosted.org/packages/fc/e4/15b39988cd949f9f793d39081d64237219fe2ee76aabbea0ed373fbe15bc/svgcheck-0.5.1.tar.gz" } ], "0.5.12": [ { "comment_text": "", "digests": { "md5": "35f45b36d5c24132491f573f6f8a38dd", "sha256": "71fdedb32f2e9e630d2eb99dcefccc6467acf9f5ac3113ea42fb9d70dfa8ea81" }, "downloads": -1, "filename": "svgcheck-0.5.12.win-amd64.zip", "has_sig": false, "md5_digest": "35f45b36d5c24132491f573f6f8a38dd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 70305, "upload_time": "2019-02-23T19:44:50", "url": "https://files.pythonhosted.org/packages/0b/e8/6f1e640699e4bff1cb05f56bfec8f30d28ed6600f79f1f6ec5ca77f458cc/svgcheck-0.5.12.win-amd64.zip" } ], "0.5.14": [ { "comment_text": "", "digests": { "md5": "2e6ea4a142f8f89b3b93ae5d768addec", "sha256": "b044d653c1caeea0d9e2531d2df0710b938bd4f26e5ee209ed7c4931351865b0" }, "downloads": -1, "filename": "svgcheck-0.5.14.tar.gz", "has_sig": false, "md5_digest": "2e6ea4a142f8f89b3b93ae5d768addec", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 17398, "upload_time": "2019-04-22T05:51:58", "url": "https://files.pythonhosted.org/packages/ae/18/7168f50a4ef7c2018bca2f275625bc164da2e22c81858a852168996f7475/svgcheck-0.5.14.tar.gz" } ], "0.5.15": [ { "comment_text": "", "digests": { "md5": "9603eff24234e6beb66230504d39d84a", "sha256": "1f9edcb3db77733ae346a1123fadc2198163267588a279c2e7b2e42e8f7d595c" }, "downloads": -1, "filename": "svgcheck-0.5.15.tar.gz", "has_sig": false, "md5_digest": "9603eff24234e6beb66230504d39d84a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 17595, "upload_time": "2019-06-03T19:21:30", "url": "https://files.pythonhosted.org/packages/5c/b8/ca7422427fa64e3d9191f68359be4682b13c6963158e4fae9a8f6d197e21/svgcheck-0.5.15.tar.gz" } ], "0.5.16": [ { "comment_text": "", "digests": { "md5": "3c4caad2c07ad3b89ebed788cec7912d", "sha256": "27d17f43cbd922000b84a4e2a2fdea1bb7bd355c1c48f5a8f9ab2b1cfcdaee6a" }, "downloads": -1, "filename": "svgcheck-0.5.16.tar.gz", "has_sig": false, "md5_digest": "3c4caad2c07ad3b89ebed788cec7912d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 17623, "upload_time": "2019-07-01T18:35:50", "url": "https://files.pythonhosted.org/packages/65/ed/159738bdf225ce55228e519f76695c65351a7efa89d1da691d2bc31888c5/svgcheck-0.5.16.tar.gz" } ], "0.5.17": [ { "comment_text": "", "digests": { "md5": "919a60d830f7d30773477a62be980d5f", "sha256": "0520d18d999513e10efaa7975cd6eb43df8402868da071fd00f7e74b29c7ffcb" }, "downloads": -1, "filename": "svgcheck-0.5.17.tar.gz", "has_sig": false, "md5_digest": "919a60d830f7d30773477a62be980d5f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 17690, "upload_time": "2019-08-16T20:02:00", "url": "https://files.pythonhosted.org/packages/1e/35/00c6899be4d22c4512c403295670166bfca34198a315101d840d595489fc/svgcheck-0.5.17.tar.gz" } ], "0.5.19": [ { "comment_text": "", "digests": { "md5": "ade07f83fdc310a5355fb1aa879342f8", "sha256": "54d0096c6895155d424524ccb3ab5fce1f380b72c623a3414eba7c50ba8dd838" }, "downloads": -1, "filename": "svgcheck-0.5.19.tar.gz", "has_sig": false, "md5_digest": "ade07f83fdc310a5355fb1aa879342f8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 18459, "upload_time": "2019-08-29T19:57:57", "url": "https://files.pythonhosted.org/packages/ec/53/e46a2d994d722c538642e004470464c9c314741bbb9e8799735f780f4aad/svgcheck-0.5.19.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "a041687ebfa40f0ee6b107db9db37968", "sha256": "526c07acd433892d56d0d1d430fd4e79e4670ae2b7edad6dec18196c0ad562ae" }, "downloads": -1, "filename": "svgcheck-0.5.3.tar.gz", "has_sig": false, "md5_digest": "a041687ebfa40f0ee6b107db9db37968", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 16387, "upload_time": "2018-04-26T17:10:05", "url": "https://files.pythonhosted.org/packages/09/df/f956fc95e21d98df685f102050902d59b0914015608f66d42a483e11edf9/svgcheck-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "eba518081c3b527c2e114865442b52b6", "sha256": "f0e2ca450c5e9539d1d07662d688f67abc92fcc5d6a5fa7413469a104d30e6d1" }, "downloads": -1, "filename": "svgcheck-0.5.4.tar.gz", "has_sig": false, "md5_digest": "eba518081c3b527c2e114865442b52b6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 16545, "upload_time": "2018-05-09T23:27:47", "url": "https://files.pythonhosted.org/packages/e4/6a/6e624360774b252a4bdcf7f60709fcda1fba2bcde27190140c76d0b1c65b/svgcheck-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "cc54aadec81ecc9ce648101b5cd1d67b", "sha256": "41506bf72c48b66afc494eb7ccdc78b7d89cb0c24e7fba2fe465c907d21357a7" }, "downloads": -1, "filename": "svgcheck-0.5.5.tar.gz", "has_sig": false, "md5_digest": "cc54aadec81ecc9ce648101b5cd1d67b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 16552, "upload_time": "2018-06-19T14:09:32", "url": "https://files.pythonhosted.org/packages/33/42/8b4fb6f081a16bad608963732115977d1f66ae9658d3ea5323fcbe33397c/svgcheck-0.5.5.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "2fe29f2833f3b97b3cc613cecb6522dc", "sha256": "1f7aec34b92706dc8d2f6693cd48f0576677a4c818a6fe9a7ed31723c8c0bf42" }, "downloads": -1, "filename": "svgcheck-0.6.0.tar.gz", "has_sig": false, "md5_digest": "2fe29f2833f3b97b3cc613cecb6522dc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 18558, "upload_time": "2019-10-15T19:06:36", "url": "https://files.pythonhosted.org/packages/c0/1c/8dd8afc962b69232899d38df39139e83527987bede90e2fc5ee4329c9d6c/svgcheck-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2fe29f2833f3b97b3cc613cecb6522dc", "sha256": "1f7aec34b92706dc8d2f6693cd48f0576677a4c818a6fe9a7ed31723c8c0bf42" }, "downloads": -1, "filename": "svgcheck-0.6.0.tar.gz", "has_sig": false, "md5_digest": "2fe29f2833f3b97b3cc613cecb6522dc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 18558, "upload_time": "2019-10-15T19:06:36", "url": "https://files.pythonhosted.org/packages/c0/1c/8dd8afc962b69232899d38df39139e83527987bede90e2fc5ee4329c9d6c/svgcheck-0.6.0.tar.gz" } ] }