graphics/py-pyogrio 0.13.0 MidnightBSD
Vectorized spatial vector file format I/O using GDAL/OGR
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
5d0ade969b- License
- mit
- Categories
- graphics, python
Description
Pyogrio provides fast, bulk-oriented read and write access to GDAL/OGR vector data sources, such as ESRI Shapefile, GeoPackage, GeoJSON, and several others. Vector data sources typically have geometries, such as points, lines, or polygons, and associated records with potentially many columns worth of data.
The typical use is to read or write these data sources to/from GeoPandas GeoDataFrames. Because the geometry column is optional, reading or writing only non-spatial data is also possible. Hence, GeoPackage attribute tables, DBF files, or CSV files are also supported.
Pyogrio is fast because it uses pre-compiled bindings for GDAL/OGR to read and write the data records in bulk. This approach avoids multiple steps of converting to and from Python data types within Python, so performance becomes primarily limited by the underlying I/O speed of data source drivers in GDAL/OGR.
We have seen >5-10x speedups reading files and >5-20x speedups writing files compared to using row-per-row approaches (e.g. Fiona).
In the other systems
The newest version among them is 0.13.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | graphics/py-pyogrio | 0.13.0 newest | no data | - | [email protected] | 2026-11-21 |
| FreeBSD | graphics/py-pyogrio | 0.13.0 newest | none known | - | [email protected] | 2026-07-08 |
| DragonFly | graphics/py-pyogrio | 0.13.0 newest | none known | - | [email protected] | - |
| HardenedBSD | graphics/py-pyogrio | 0.13.0 newest | no data | - | [email protected] | - |
| GhostBSD | graphics/py-pyogrio | 0.13.0 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pyogrio
From mports:
cd /usr/mports/graphics/py-pyogrio && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyogrio>0:graphics/py-pyogrio
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}versioneer>=0.28: devel/py-versioneer${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Library 1
libgdal.so: graphics/gdal
Runtime 3
${PYTHON_PKGNAMEPREFIX}certifi>=0: security/py-certifi${PYTHON_PKGNAMEPREFIX}numpy>=0,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging
Build dependencies 4
Run dependencies 4
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyogrio-0.13.0.tar.gz | 313103 | 9614f27a1891113f80653e0b76b4233ea1fb3beeb1ac46d118ab22e1670f8f13 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
5d0ade969b |
Lucas Holt | graphics/py-pyogrio: add version 0.13.0 Signed-off-by: Lucas Holt <[email protected]>
AI-Assisted-by: Codex |