Skip to main content

Verify that an svg file is compliant with the RFC standards.

Project description

SVGCHECK

Release License PyPI - Version PyPI - Status PyPI - Format

Check SVG against RFC schema

This 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. The program has the option of modifying and writing out a version of the input that passes the defined schema.

Usage

svgcheck accepts a single XML document as input and optionally outputs a modified version of the document.

Basic Usage

svgcheck [options] SOURCE

Options

Short Long Description
-C --clear-cache purge the cache and exit
-h --help show the help message and exit
-N --no-network don't use the network to resolve references
-q --quiet dont print anything
-r --repair repair the SVG so it meets RFC 7966, only emit the new file if repairs are needed
-a --always-emit repair the SVG file if needed, emit the file even if no repairs are needed
-v --verbose print extra information
-V --version display the version number and exit
-d RNG --rng=RNG specify an alternate RNG file
-o FILENAME --out=FILENAME specify an output filename, default to stdout
-g --grey-scale use a grey scale heuristic to determine what is white
--grey-level cut off level between black and white

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svgcheck-0.11.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

svgcheck-0.11.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file svgcheck-0.11.0.tar.gz.

File metadata

  • Download URL: svgcheck-0.11.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for svgcheck-0.11.0.tar.gz
Algorithm Hash digest
SHA256 f6902d0e21df9ed90deedef87b05245805936f4785059bd98de3fba845c870d9
MD5 277af930408fd96e4b35ea3a9687f6a7
BLAKE2b-256 3963973853b46cdfd7f7ec62a7d264a6c5365de468e88a684607fed28318bae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for svgcheck-0.11.0.tar.gz:

Publisher: pypi-publish.yml on ietf-tools/svgcheck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file svgcheck-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: svgcheck-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for svgcheck-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e47502d02aff0848d8c12d770b9262d9897ec34ce909ded989d37549e5ab6366
MD5 f081a3284d615df4cd7b7fb7a9568a17
BLAKE2b-256 a73945b7e6d862dec99a99b502c6c7be12274cb8bda1bd75a9241ed057d4d2ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for svgcheck-0.11.0-py3-none-any.whl:

Publisher: pypi-publish.yml on ietf-tools/svgcheck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page