8000 Providing Public Cython API within NumPy · Issue #11803 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Providing Public Cython API within NumPy #11803
Closed
@jakirkham

Description

@jakirkham

Would it make sense for NumPy to provide numpy.pxd and numpy/math.pxd (currently included in Cython)?

Given NumPy already ships SWIG bindings, providing Cython bindings seems reasonable and is not too different in concept. Plus there are already internal consumers of Cython bindings, which would likely benefit from having access to a single public API. Would add that other projects like SciPy have been adding a fair number of things in *.pxd files included in their public API making this a bit of a trend. This would certainly help build a framework for NumPy to expose other things in the public API. Finally would note that having the Cython bindings live in Cython complicates the process of keeping them up-to-date as they must provide support for various versions of NumPy, which should hopefully be less of a problem if Cython bindings were included in NumPy's public API.

Thoughts on this would be welcome. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0