Skip to main content

Vectorized spatial vector file format I/O using GDAL/OGR

Project description

pyogrio - Vectorized spatial vector file format I/O using GDAL/OGR

Pyogrio provides a GeoPandas-oriented API to OGR vector data sources, such as ESRI Shapefile, GeoPackage, and GeoJSON. Vector data sources have geometries, such as points, lines, or polygons, and associated records with potentially many columns worth of data.

Pyogrio uses a vectorized approach for reading and writing GeoDataFrames to and from OGR vector data sources in order to give you faster interoperability. It uses pre-compiled bindings for GDAL/OGR so that the performance is primarily limited by the underlying I/O speed of data source drivers in GDAL/OGR rather than multiple steps of converting to and from Python data types within Python.

We have seen >5-10x speedups reading files and >5-20x speedups writing files compared to using non-vectorized approaches (Fiona and current I/O support in GeoPandas).

You can read these data sources into GeoDataFrames, read just the non-geometry columns into Pandas DataFrames, or even read non-spatial data sources that exist alongside vector data sources, such as tables in a ESRI File Geodatabase, or antiquated DBF files.

Pyogrio also enables you to write GeoDataFrames to at least a few different OGR vector data source formats.

Read the documentation for more information: https://pyogrio.readthedocs.io.

WARNING: Pyogrio is still at an early version and the API is subject to substantial change. Please see CHANGES.

Requirements

Supports Python 3.8 - 3.11 and GDAL 3.4.x - 3.7.x.

Reading to GeoDataFrames requires geopandas>=0.12 with shapely>=2.

Additionally, installing pyarrow in combination with GDAL 3.6+ enables a further speed-up when specifying use_arrow=True.

Installation

Pyogrio is currently available on conda-forge and PyPI for Linux, MacOS, and Windows.

Please read the installation documentation for more information.

Supported vector formats

Pyogrio supports some of the most common vector data source formats (provided they are also supported by GDAL/OGR), including ESRI Shapefile, GeoPackage, GeoJSON, and FlatGeobuf.

Please see the list of supported formats for more information.

Getting started

Please read the introduction for more information and examples to get started using Pyogrio.

You can also check out the the API documentation for full details on using the API.

Credits

This project is made possible by the tremendous efforts of the GDAL, Fiona, and Geopandas communities.

  • Core I/O methods and supporting functions adapted from Fiona
  • Inspired by Fiona PR

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyogrio-0.7.0.tar.gz (327.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyogrio-0.7.0-cp312-cp312-win_amd64.whl (14.6 MB view details)

Uploaded CPython 3.12Windows x86-64

pyogrio-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyogrio-0.7.0-cp312-cp312-macosx_11_0_arm64.whl (14.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyogrio-0.7.0-cp312-cp312-macosx_10_9_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

pyogrio-0.7.0-cp311-cp311-win_amd64.whl (14.6 MB view details)

Uploaded CPython 3.11Windows x86-64

pyogrio-0.7.0-cp311-cp311-manylinux_2_28_aarch64.whl (20.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pyogrio-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyogrio-0.7.0-cp311-cp311-macosx_11_0_arm64.whl (14.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyogrio-0.7.0-cp311-cp311-macosx_10_9_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pyogrio-0.7.0-cp310-cp310-win_amd64.whl (14.6 MB view details)

Uploaded CPython 3.10Windows x86-64

pyogrio-0.7.0-cp310-cp310-manylinux_2_28_aarch64.whl (20.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

pyogrio-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyogrio-0.7.0-cp310-cp310-macosx_11_0_arm64.whl (14.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyogrio-0.7.0-cp310-cp310-macosx_10_9_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pyogrio-0.7.0-cp39-cp39-win_amd64.whl (14.6 MB view details)

Uploaded CPython 3.9Windows x86-64

pyogrio-0.7.0-cp39-cp39-manylinux_2_28_aarch64.whl (20.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

pyogrio-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyogrio-0.7.0-cp39-cp39-macosx_11_0_arm64.whl (14.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pyogrio-0.7.0-cp39-cp39-macosx_10_9_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pyogrio-0.7.0-cp38-cp38-win_amd64.whl (14.6 MB view details)

Uploaded CPython 3.8Windows x86-64

pyogrio-0.7.0-cp38-cp38-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ ARM64

pyogrio-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyogrio-0.7.0-cp38-cp38-macosx_11_0_arm64.whl (14.1 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

pyogrio-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file pyogrio-0.7.0.tar.gz.

File metadata

  • Download URL: pyogrio-0.7.0.tar.gz
  • Upload date:
  • Size: 327.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0.tar.gz
Algorithm Hash digest
SHA256 026d8df5dbea4bb541a8d7d9282968a55b4c8255c6dda861a2f9246daa07a084
MD5 c212c1a37bcd786e5256ead6c2e3d330
BLAKE2b-256 3654669490b508af150297d7c99180278c2993df2677a9142ffb4fa2c2655e39

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.7.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 14.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2a9319dc05cd53d8bbba14fce9969797f1a743ef11661031407cd6fc5093f17d
MD5 0f4f0fdb8b9bcecd166a15ae40a8751f
BLAKE2b-256 0f2b7b4e1043d55dc427ce09097c0f65c36dec0de4a7cdf4f103651d2e0fa96d

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 278dedbacc2c3a7b3c72cf07a0aeae8d26d551dffa87f42905117168f275ad5f
MD5 1b507e25582452620d272552a378a99a
BLAKE2b-256 fb5a9f4ca5355ef3d19a3a5e29b3e48d04106d917a4e480ead79ef9afb4ce120

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50872b47dbb09c8699d94770b9265010e7cce6c7e55166a6490064e911aa1acb
MD5 078d356693f7a9917203f16b481bcafa
BLAKE2b-256 aa1049aa5afdb932684698dc6a3df175dba36601c3ef33fdf73132e336512dd0

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 99faec397534958221d3271f641373d23d65625f70a1edf2662f9b4ad64088f7
MD5 d99a4ec49174f8987f78250a8dccae34
BLAKE2b-256 45448e828a799475ae79b126bd846eb76f9a6e3d11fc270316a490f66846a6f4

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.7.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 14.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ba2f3c8ee74ec9b667e8e00285683e7acd2be42ca8bf5aa6c99f7ac2148e20b
MD5 03f4113b9205cb539100eef796feeb65
BLAKE2b-256 b2058d97b95626e822b6ad0440891d989dff56c8ecf48bdeede3bbc9fd282d07

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f4a06f83a10816cf29e48b9769e1e1be46529cdf2e617322f9f87741dd29014e
MD5 df6e681c674470fc166eabe08def0e82
BLAKE2b-256 bfa5d39812c2d1f0870dff63005167abee05575ccca7f6fe6f62abe101387f35

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03b10654876bc64f536e2839052493abacc0c6430006e1fc8366a1103343addf
MD5 d074f418a8bef159890a58d244eb95b9
BLAKE2b-256 a1ba326d7e51d7fbc8edd8a1d9b512eb1be8f98b044113e046a0a45ecc171e8a

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d3e26d5c0c321987c48317edb18741868d0438cc449251a9b9d75aef13d0147
MD5 8be18fd740141fe02bc09b083950406b
BLAKE2b-256 4e58533ac8e7b35e173394302b2da90b7c0119e5a4259a486535d929b03ed701

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 868c74453a41edc816ad449293f35d597d6e665f891cc48e3637ce7c5efde330
MD5 0e49f50f40574b5f1ea2838c8f6ece97
BLAKE2b-256 91dc2ab8a445c34b9d0256ce4167f36a04b7d364db278fc967b72c83ffb06bdf

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 14.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 04aca2c602b41219abb3aa27ebbfe64bc93d584f95da307cbe036c4221a540b2
MD5 f0f293f13043fede9056751a2c3e70a2
BLAKE2b-256 8e4bfc20d78a2487575b7562647f236317a7d5e62d0f84d0ceb28077bcc175fc

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 18345dfe8ccda3483b39bad0ae4faa97795484a6eeed9c149579393aa21b88f8
MD5 2d234c4f5f05c467035b532796b8a0b9
BLAKE2b-256 ec094d46904167d86b760eea08eaa66a7350f7d1ac9413a962ca597dfa367d16

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4b1b6295d8392909485498f5b4f185d615cc462ba96073b590d37ac3fa8e955c
MD5 5ea5d0363b25aada4863f165de7c1d74
BLAKE2b-256 c7a5d35cec1b44d207ecba10c5484d48da615d8f661a369523fde6d3b062d08d

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e642c72f285323b34a0e4b74ba4e5c89f485b77b49d1a44ff53a34a40aded30f
MD5 dcac1b31d7dcc466458e891d7494f18e
BLAKE2b-256 cf5bcc20c6cc78024e7ac06e54d33ba8845612dd054634e9e774860f96fe9bf0

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 12704dcd0f16837bae4cafeb1f17a7cdfe135ed58b001439c10c4267846a10c3
MD5 a617f314cd7fee36e6ad0d7e2456c0e8
BLAKE2b-256 62550e435b0bac2be5f87260b85d9a73650ff06eac7178215164601d767a79da

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.7.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 14.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 12218f7d728e0c2c74b135879a03af136e02372c0ff37fa9af65d901d8dd8646
MD5 2b751e63d554a14c2a75c0e832e2a331
BLAKE2b-256 1378a6029946d5b6485b667a46b6bb452b90640339cb55bf99be86e694def1ad

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 071ee199ec8269ce00f719ce1c02c4788558bfbe8cb9cf29b957634fe5e78039
MD5 897d05f977ac131e473efc4e13c5059a
BLAKE2b-256 343f66b0a7bb8db9e10f81dc57c9d9283b726e31ddd5718c200bed658b922ef6

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa8bda9215a25f81a0a7c464b20ac22d55e2cf4657eab2987fd989087d04d08a
MD5 ec09d130ad79a68ffd683c818e405700
BLAKE2b-256 0c49ea78251efcc0b4457e3939edaeb9a6b44c4a572f70caf2c1cff28456d11f

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed5a015ea1db621d149e63b5747db859388c893f1550726449240a3fecf602be
MD5 d1d79dfa77f73c27064bec7b8cc75635
BLAKE2b-256 04a40e1c21f371afb365c1a50a561a139df938ff52e18d92e827bd9c261c4d3b

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 79dc85e4963af03522ec8b05f65f7c8eff55d15b13afc45a6ef19b15e84716a5
MD5 1480bc1d68cf0b8ae8f143b7830d329c
BLAKE2b-256 9d771c70a3adc8b1b64e51990a4a9e5373ce959ad5a88a630e6b4154970eb141

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 14.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyogrio-0.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 88cbb62a2a157f7a10c5ee5e3ef71aadab09acfb8475c533643798cc6d69607a
MD5 c76c6148834b95b2cb048b30ecc36029
BLAKE2b-256 ded5a6e67e16cfeecd523d6b83f08e6eb358331ae08df310996fee2513e252d3

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a1be25794ca59d285ac40e951d1d3017555738fad5f35e54bae05803722d497d
MD5 002b9423d15a2f7c4fdb4dd1254723c4
BLAKE2b-256 e99ddfaa75f40fc473b23ee4d952401381b86261005646a4a5811056dd87fca3

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c582d83bdf3c17f6dfd2a884f6d836b43d2dc914b585570905508acaaf1bdf17
MD5 56acf09b5f1e3711097ddafc22dc108d
BLAKE2b-256 14ac199e98998e90f0f2a6d78734c565b3abe7ef33e85382b07bb79dd2ecedaf

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0397065f993d11af92d90ae796ec4bbabc231798e50de584191e10efc70b80c
MD5 443c0d46031509b4b62f23a87af3d290
BLAKE2b-256 5cee69b49f00c22621b72e46f8b0f994db9f5c5e259856e690ba04be538f6779

See more details on using hashes here.

File details

Details for the file pyogrio-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d0f30541506a4bbf7afca1af0e9f02d0b1f90f6f79ccf83b3c14f38620b5e0b
MD5 05dedb831dde3d1e13a0d9f60ad89e5e
BLAKE2b-256 3039e77c7e14a69d8e2b6e7550b94a628c6f899f6470ca17a4709b3be0725b0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page