Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use svgcheck as a Python library #42

Open
jayqi opened this issue Mar 26, 2024 · 0 comments
Open

Use svgcheck as a Python library #42

jayqi opened this issue Mar 26, 2024 · 0 comments

Comments

@jayqi
Copy link

jayqi commented Mar 26, 2024

I would like to check an SVG file as a part of a unit test in a Python project, and being able to run an svgcheck(path) or svgcheck(text) function would be much nicer than having to use a CLI program with subprocess. Looking at svgcheck.run.main, it looks like there isn't currently a straightforward functional entrypoint, as all of the parameters (including source) can only be specified through command line arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant