semvec/pypi-packages huggingface dataset:
svgchecklib 0.0.1
Python Library for SVG Validation (fork of the svgcheck cli)
Requires Python: >=3.6

# svgchecklib
Python Library for SVG Validation (fork of the svgcheck cli, designed for seamless integration into Python codebases).

## Usage as Python library

```python
from src.svgchecklib import validate_svg

validation_results = validate_svg("path_to_svg_file")
print(validation_results)

"""
Result looks like the next list: 
[
"2: The attribute 'red' does not allow the value 'fill', replaced with 'black'.", 
'File does not conform to SVG requirements'
]
"""
```