FYI, just discussed on the Arrow Community Call, we plan to include this on the 14.0.0 release as an experimental protocol.
In the future, we may hold a vote to remove the experimental flag, although it's unclear if this protocol requires a vote because (under certain interpretations) it is not "cross-language". [1] [1] https://arrow.apache.org/docs/format/Changing.html On Tue, Oct 10, 2023 at 10:29 AM Will Jones <will.jones...@gmail.com> wrote: > Hello Arrow devs, > > We are winding down discussion and review. I have created a rendered > version of the proposed protocol: [1] > > Feel free to add feedback in the PR [2] or on this thread. > > Best, > Will Jones > > [1] > http://crossbow.voltrondata.com/pr_docs/37797/format/CDataInterface/PyCapsuleInterface.html > [2] https://github.com/apache/arrow/pull/37797 > > On Fri, Sep 22, 2023 at 8:11 PM Will Jones <will.jones...@gmail.com> > wrote: > >> Hello Arrow devs, >> >> Based on Joris' idea in [1], I've drafted up a protocol specification for >> PyCapsules holding Arrow C Data / Stream Interface structs. PR: [2] >> >> This has two goals: >> >> 1. Provide a library-independent representation of these structs in Python >> 2. Standardize methods to export objects to these PyCapsules. >> >> This will help projects like nanoarrow be able to import Arrow data >> safely from more than just PyArrow [3]. It would also allow libraries to >> easily interchange Arrow data without requiring going through PyArrow or >> writing a bespoke export function. >> >> I would welcome feedback in the PR [2]. >> >> Thanks for your attention, >> >> Will Jones >> >> [1] https://github.com/apache/arrow/issues/34031 >> [2] https://github.com/apache/arrow/pull/37797 >> [3] >> https://github.com/apache/arrow-nanoarrow/blob/c4816261dc34f5f898b1658359c25b867b1079cd/python/src/nanoarrow/lib.py#L21-L35 >> >>