Skip to content

Add content to guide about writing interfaces + wrappers for libraries in other languages #22

Open
@NickleDave

Description

@NickleDave

Python is uniquely suited for writing wrappers + interface to libraries in other languages.

I think this is in scope for pyOpenSci since a lot of tools will be written in other languages and we want to provide access to them.
An example of a package we've already reviewed here would be pygmt.

It would be good if we could provide some guidance on good practices for doing this.

This came up in #21
#21 (comment)

Things to cover, this is a rough list that mainly reveals my ignorance 😕

  • Ways to interface
    • CFFI
    • eval calls (not so good)
    • tools like SWIG
    • pybind11
    • rpy2
  • Build tools, which I know we are thinking about anyway
    • Meson
    • scikit-build
    • dev.py
  • example packages
    • pygmt

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe welcome a contributor to work on this issue! thank you in advance!new-contentNew feature or requestsprintable

    Type

    Projects

    Status

    Python Package Guide

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions