Registry / data / arro3-core

arro3-core

JSON →
library0.8.1pypypi✓ verified 26d ago

Arro3-core provides the Pythonic foundation for managing, processing, and generating geospatial data with a focus on ease of use and interoperability. It defines a standardized schema for geospatial datasets and provides utilities for reading and writing them. The current version is 0.8.0, and being a pre-1.0 library, its API is subject to change.

pip install arro3-core
INSTALL
IMPORT
SIG · ARRO3-CORE
A
arro3-core
datapythonv0.8.1
Install
2.0s avg
Import
Disk
27MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.8.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 29.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.0s · import 0.000s · 29MB
27MB installed
● package 27MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Arro
from arro3 import Arro
from arro3 import Arro

This quickstart demonstrates how to create an Arro object from a dictionary, save it to a local file using `ArroFile.write()`, and then load it back using `ArroFile.read()`.

import os from arro3.core import ArroFile from arro3.schema.core import Arro # Define a simple Arro object structure data = { "id": "my-dataset-id", "name": "My Test Dataset", "description": "A minimal example Arro dataset.", "bbox": [0.0, 0.0, 1.0, 1.0], # minx, miny, maxx, maxy "spatial_ref_sys": {"epsg": 4326}, # Example SRS "assets": {} # Assets dict required, can be empty } try: # 1. Create an Arro object from a dictionary my_arro = Arro(**data) print(f"Created Arro object with ID: {my_arro.id}") # 2. Define a temporary file path for demonstration temp_file_path = "temp_arro_dataset.json" # 3. Save the Arro object to a file ArroFile.write(my_arro, temp_file_path) print(f"Arro object saved to {temp_file_path}") # 4. Load the Arro object from the file loaded_arro = ArroFile.read(temp_file_path) print(f"Loaded Arro object with ID: {loaded_arro.id}") assert my_arro.id == loaded_arro.id print("Verification successful: Loaded ID matches original ID.") except Exception as e: print(f"An error occurred: {e}") finally: # Clean up the temporary file if os.path.exists(temp_file_path): os.remove(temp_file_path) print(f"Cleaned up temporary file: {temp_file_path}")
Debug
Known issues
breakingArro3-core is currently in its 0.x.x release series, meaning the API is not yet stable. Breaking changes to classes, methods, and schema definitions can occur between minor versions (e.g., 0.8.0 to 0.9.0).
fix
Always pin to a specific patch version (e.g., `arro3-core==0.8.0`) and review release notes carefully when upgrading. Test thoroughly after any upgrade.
affects: <1.0.0
gotchaThe `Arro` schema relies on Pydantic v2. Using `arro3-core` with Pydantic v1 will lead to import errors or unexpected behavior due to API differences.
fix
Ensure your project's environment satisfies the `pydantic>=2.0.0,<3.0.0` dependency. If other libraries require Pydantic v1, consider isolating `arro3-core` in a separate virtual environment or re-evaluating compatibility.
affects: All versions
gotchaThe internal file format (e.g., for `.json` or `.json.gz` files written by `ArroFile`) might evolve. Files written with an older version of `arro3-core` might not be readable by newer versions, or vice-versa, especially during the 0.x.x development phase.
fix
It is recommended to use the same `arro3-core` version for writing and reading files. If sharing files, ensure all consumers are aware of and use the expected library version. Regularly back up data if schema changes are anticipated.
affects: <1.0.0
Upgrade
Version history
0.8.1latest on PyPI · released Jun 11, 2026
Audit
Dependencies
pydanticrequiredUsed for data validation and schema definition. Requires Pydantic v2.
msgpackrequiredUsed for efficient serialization/deserialization.
orjsonrequiredUsed for fast JSON serialization/deserialization.
zstandardrequiredUsed for compression/decompression of Arro files.
Agent activity
30 hits · last 30 days
node
24
OpenAI (training)
1
Resources