Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Scalar FFI import & export #525

Merged
merged 8 commits into from
Feb 21, 2024
Merged

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Feb 19, 2024

Starts work on accepting scalar input into functions. Implements conversions from __geo_interface__ to geoarrow scalars.

Todo:

  • Export geoarrow scalars via __arrow_c_array__
  • Import geoarrow scalars via __arrow_c_array__
  • Import geoarrow scalars via __geo_interface__ (on each scalar class, not just on the ScalarInput wrapper)

Closes #524, closes #436

@kylebarron kylebarron marked this pull request as ready for review February 20, 2024 21:49
@kylebarron kylebarron changed the title Python: Scalar imports Python: Scalar FFI import & export Feb 20, 2024
@kylebarron kylebarron merged commit 6aa1ffb into main Feb 21, 2024
6 checks passed
@kylebarron kylebarron deleted the kyle/python-scalar-import branch February 21, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python: Implement Scalar FFI Python: all functions accepting scalars should accept __geo_interface__
1 participant