r/gis • u/molassesbath • 16h ago
Projects & Feedback arcpy_arrow: An interop library for ArcGIS data and Python DataFrames
[GIS Experience] 2 years as a local govt GIS analyst
[AI Disclosure] Main code written by hand, AI used for "code review" / feedback. Tests are AI generated.
arcpy_arrow is a Python library I wrote for round-tripping ArcGIS data and DataFrames, backed by Esri's native Apache Arrow support.
Use cases include:
- Interactively query, join, and transform your GIS data as pandas, geopandas, and polars dataframes
- Quickly dump a Feature Class or Table to DuckDB, parquet, or Excel
- Write robust, Pythonic scripts using CatalogPath objects
As someone from the "normal" data world, I was frustrated with existing options (like the SEDF) for accessing ArcGIS feature classes and tables in file and enterprise geodatabases inside a simple Jupyter notebook or Python script. I found myself repeatedly writing the same helpers around arcpy.da.TableToArrowTable() calls, and eventually decided to write a personal library with schema validation, explicit type sanitization, and an intuitive API.
In addition to these interop procedures, arcpy_arrow includes several helpers designed to reduce ArcPy boilerplate.
Installation can be a bit fiddly depending on your Python environment. Full instructions are on Github: https://github.com/slaterdixon/arcpy_arrow
I welcome feedback or bugs; I have been dogfooding the package for a while but have probably missed some cases.
