{"id":22832738,"url":"https://github.com/ietf-tools/svgcheck","last_synced_at":"2025-06-23T15:32:55.263Z","repository":{"id":42445725,"uuid":"451706935","full_name":"ietf-tools/svgcheck","owner":"ietf-tools","description":"Check SVG against RFC schema","archived":false,"fork":false,"pushed_at":"2024-12-03T22:36:06.000Z","size":8694,"stargazers_count":22,"open_issues_count":8,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-20T14:06:48.227Z","etag":null,"topics":["rfc","svg","tool","utility","validation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ietf-tools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T02:25:11.000Z","updated_at":"2025-05-08T17:02:59.000Z","dependencies_parsed_at":"2025-04-02T21:10:41.663Z","dependency_job_id":"2d4e6578-33b2-4e78-8d1a-8fb534b38551","html_url":"https://github.com/ietf-tools/svgcheck","commit_stats":{"total_commits":356,"total_committers":6,"mean_commits":"59.333333333333336","dds":0.1376404494382022,"last_synced_commit":"695899e131b4b2425cfc0abca81be04cc8c2ef18"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/ietf-tools/svgcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Fsvgcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Fsvgcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Fsvgcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Fsvgcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ietf-tools","download_url":"https://codeload.github.com/ietf-tools/svgcheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Fsvgcheck/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261504509,"owners_count":23168848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rfc","svg","tool","utility","validation"],"created_at":"2024-12-12T21:09:02.035Z","updated_at":"2025-06-23T15:32:55.221Z","avatar_url":"https://github.com/ietf-tools.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \n\u003cimg src=\"https://raw.githubusercontent.com/ietf-tools/common/main/assets/logos/svgcheck.svg\" alt=\"SVGCHECK\" height=\"125\" /\u003e\n    \n[![Release](https://img.shields.io/github/release/ietf-tools/svgcheck.svg?style=flat\u0026maxAge=360)](https://github.com/ietf-tools/svgcheck/releases)\n[![License](https://img.shields.io/github/license/ietf-tools/svgcheck)](https://github.com/ietf-tools/svgcheck/blob/main/LICENSE)\n[![PyPI - Version](https://img.shields.io/pypi/v/svgcheck)](https://pypi.org/project/svgcheck/)\n[![PyPI - Status](https://img.shields.io/pypi/status/svgcheck)](https://pypi.org/project/svgcheck/)\n[![PyPI - Format](https://img.shields.io/pypi/format/svgcheck)](https://pypi.org/project/svgcheck/)\n    \n##### Check SVG against RFC schema\n    \n\u003c/div\u003e\n\n- [Changelog](https://github.com/ietf-tools/svgcheck/blob/main/CHANGELOG.md)\n- [Contributing](https://github.com/ietf-tools/.github/blob/main/CONTRIBUTING.md)\n\n---\n\nThis program takes an XML file containing an SVG or an RFC document.  It then compares all of the SVG elements with the schema defined in the document with [RFC 7996 bis](https://datatracker.ietf.org/doc/draft-7996-bis). The program has the option of modifying and writing out a version of the input that passes the defined schema.\n\n\n## Usage\n\n`svgcheck` accepts a single XML document as input and optionally outputs a modified version of the document.\n\n### Basic Usage\n\n```sh\nsvgcheck [options] SOURCE\n```\n\n### Options\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| `-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 heuristic to determine what is white                             |\n|               | `--grey-level`   | cut off level between black and white                                             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fietf-tools%2Fsvgcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fietf-tools%2Fsvgcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fietf-tools%2Fsvgcheck/lists"}