Skip to content

Type hints or wrappers for some of Processing libraries? #51

@arseniiv

Description

@arseniiv

Hi! 🎈 While tinkering with this beautiful thing and Processing Sound library I thought it should be not too hard to add some support for APIs of major libraries like this one. How do I proceed?

I reckon it should be possible to just write a stub (for this example, named processing.sound.pyi or maybe just sound.pyi in a folder processing) and it would work? I hadn’t tried to write stubs yet though I type-hint my own code quite extensively.

Probably better would be to have wrappers to get rid of JVM types where Python types (and numpy arrays etc.) are more homey, how you did here for the core itself; but I don’t know if it’s easy or not. What could I do to help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions