apache / arrow-nanoarrow

Helpers for Arrow C Data & Arrow C Stream interfaces
https://arrow.apache.org/nanoarrow
Apache License 2.0
149 stars 34 forks source link

refactor(python): Split buffer Cython internals into a separate module #549

Closed paleolimbot closed 5 days ago

paleolimbot commented 5 days ago

Continuing the saga, this splits the buffer internals into their own module.

The definition of Extensions in setup.py was also getting unwieldy, so I factored that out into a function. This should better support future linking to a common nanoarrow static or shared library (instead of just compiling in the sources for whatever we need in that module).