Skip to content

Python binding? #826

Description

@vsalvino

This is not an issue, but a question. Has this project ever considered writing a Python module? Given that this is a C library, and Python does support writing "wrappers" around C libraries, it would be possible to create a Python interface for tidy. Combined with the newer Python wheel binary format, it would then be possible to distribute pre-compiled Python packages.

As an example, see Sass / libsass. It is a C library which has created their own Python module libsass-python. Pre-compiled binary wheels are then distributed on PyPI.

As a Python developer, I would be extremely interested in contributing or helping out if you consider doing this. Unfortunately I myself lack knowledge of the tidy-html5 C codebase.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions