Skip to main content

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

Project description

pypi Conda version Actions Status Powered by NumFOCUS

pyogrio - bulk-oriented spatial vector file I/O using GDAL/OGR

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-100x speedups reading files and >5-20x speedups writing files compared to using row-per-row approaches (e.g. Fiona).

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

Requirements

  • Python >= 3.10
  • GDAL >= 3.6
  • Reading to GeoDataFrames requires geopandas>=0.12 and shapely>=2. Additionally, installing pyarrow 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 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 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.13.0.tar.gz (313.1 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.13.0-cp314-cp314t-win_amd64.whl (24.6 MB view details)

Uploaded CPython 3.14tWindows x86-64

pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl (33.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl (32.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

pyogrio-0.13.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (32.6 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

pyogrio-0.13.0-cp314-cp314t-macosx_12_0_x86_64.whl (26.1 MB view details)

Uploaded CPython 3.14tmacOS 12.0+ x86-64

pyogrio-0.13.0-cp314-cp314t-macosx_12_0_arm64.whl (24.7 MB view details)

Uploaded CPython 3.14tmacOS 12.0+ ARM64

pyogrio-0.13.0-cp311-abi3-win_amd64.whl (23.8 MB view details)

Uploaded CPython 3.11+Windows x86-64

pyogrio-0.13.0-cp311-abi3-manylinux_2_28_x86_64.whl (33.3 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

pyogrio-0.13.0-cp311-abi3-manylinux_2_28_aarch64.whl (31.7 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

pyogrio-0.13.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (32.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

pyogrio-0.13.0-cp311-abi3-macosx_12_0_x86_64.whl (26.1 MB view details)

Uploaded CPython 3.11+macOS 12.0+ x86-64

pyogrio-0.13.0-cp311-abi3-macosx_12_0_arm64.whl (24.7 MB view details)

Uploaded CPython 3.11+macOS 12.0+ ARM64

pyogrio-0.13.0-cp310-cp310-win_amd64.whl (23.9 MB view details)

Uploaded CPython 3.10Windows x86-64

pyogrio-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl (33.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pyogrio-0.13.0-cp310-cp310-manylinux_2_28_aarch64.whl (32.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

pyogrio-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (32.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyogrio-0.13.0-cp310-cp310-macosx_12_0_x86_64.whl (26.1 MB view details)

Uploaded CPython 3.10macOS 12.0+ x86-64

pyogrio-0.13.0-cp310-cp310-macosx_12_0_arm64.whl (24.7 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

File details

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

File metadata

  • Download URL: pyogrio-0.13.0.tar.gz
  • Upload date:
  • Size: 313.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyogrio-0.13.0.tar.gz
Algorithm Hash digest
SHA256 9614f27a1891113f80653e0b76b4233ea1fb3beeb1ac46d118ab22e1670f8f13
MD5 2f39bc6061b884eed9fbea9659baea23
BLAKE2b-256 de3cd2268615e8b749ba59f278b14a495883562e961fa3ad55a9def222bfbd4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0.tar.gz:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.13.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 24.6 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 259cfef6bf5e3060afd5dd00ad5b81175568fc49c6fea7d3be575b7c6feb74fc
MD5 98cfce0a2658ea0c23c90d7a67aa4b5b
BLAKE2b-256 d3775b874829633324c0ae4be45233e0971d8e6e8d9874840940edef315e71e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-win_amd64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25b0c1a96955c30cd587c024e3e50813ff16a650b4ea41568612842e4078cc59
MD5 20fed58761fb8881083ae76acd765d7b
BLAKE2b-256 5fe4313a967cd27f654cee260719dac2c1992b4fe581183a086dffdc785161d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dc1d91a2174dc7b4b73b68dc9db124ee5ed35c6f1a1d921b8c3dc79c6e73bc99
MD5 d5a4546e5b67966956aa0c80e8b1889f
BLAKE2b-256 32dc50e21c4bc15c504fa72313482d4bf6f39d87195180a53e0e0bc422473592

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e605494bfea5d40ad4d37df1db1d7cb8950a3135eff9adba2f79673393f31e12
MD5 5824d19613cb595879776a43c69bfe3e
BLAKE2b-256 f4c51e35904ba332e9e4be83ce4b46e6ef72be05525773717ace0940225932c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 2548f8b84dae89f5e0cc6d406731f09f234b3909426026428733c21c0a7ac49a
MD5 d6c750974774bfb1b08d42fbe622d5b1
BLAKE2b-256 545d1fed0e8f29c457c6b73893bdc66c1c890fd1344539c665f3a8061e4c0f27

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-macosx_12_0_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp314-cp314t-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp314-cp314t-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 c86c2abade1219863224297f6fdf8b1817c291596b05b865138065a710ea55c3
MD5 4688f44068fa77801cb7430150067524
BLAKE2b-256 31565b1bf2637903908a5f7a0e068d602d46f3c03a1f860d40e1528bb5cb7b12

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp314-cp314t-macosx_12_0_arm64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: pyogrio-0.13.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 23.8 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1b91f6d6e6757a6ea84b9459d24f479dcb52bbf4ebcdb16baf39e49d2836a1cf
MD5 4ce61bc2eaef939b2bc83ae14f38a9f0
BLAKE2b-256 d2ba3757e312a98c428ac5d8b787f3608ae325174ebef6897930a42e21dd057a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-win_amd64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 220a988ce2a26591d6db5c775b07289d4f54cabdf274cc048f0e17a0b9d5be14
MD5 26c77fd252a6cef06fe79f446f2be62f
BLAKE2b-256 20c2247c150f5ca12f8593c20e39115db551b18de5c6cb383006de21b57399e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 680842c88b5e678125edd13b15f7187ff3ce7630cadef538887edd3cbe801287
MD5 36a714900f2c31a3a7eb4b29e31965b4
BLAKE2b-256 2696888ea83c8d0f1e2cc732bea6be94ed0db784cacd99f0248333483be657b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9e84e7b09b073ee4cc8c35663afcf644b0c17db75ac72c7591dc3864252db461
MD5 bb5b2db875d482a33e9b0c2b717199d2
BLAKE2b-256 55303e38d8532a33adf15c6465dcd8c1bb2a146dce0da3fd8ba0aa9ec9ba74e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 8823f91570c91e66e50cc573bc4722e925b84220ee0c7dc61532438d43c69a95
MD5 7606b7dbe56e4e15a06e51c6e550881d
BLAKE2b-256 3958af3b3a74c8b05ebf49b03303ee24024b9d0272de482867425c8dc93f2820

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-macosx_12_0_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp311-abi3-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp311-abi3-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 68e6bb9b8b14412311da69679333ad5408c0f9aa5b25d5837bbcba3dfa698109
MD5 48b0d7b075b86c93467c745c7285bb8e
BLAKE2b-256 c08976534ad8f01d952ad01002741f8cfac08024035a70952f190b4f7e22325c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp311-abi3-macosx_12_0_arm64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pyogrio-0.13.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 23.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 54761a92c74add8f02836e41b4cf721dac156bc752750b2be6459f3752ff82be
MD5 85fb97eaa4094237e522700a263c0b21
BLAKE2b-256 f4214b1ee9f9778150a3e2d401b6633cae990dbacb7bfcbcd2c9302349be0bfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-win_amd64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a878484387e422932236e8b8b30f4e5efb9c9880118f1c9759338a1519f5dd41
MD5 d04e435bc9870a40e337f28d85bf109e
BLAKE2b-256 705c2718b1f413a069e4bbfde2b627c57af4b3ba909b50329968ab3ac45513e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c6324969f234f57990e421e4dfd5b6de46e8112873ddf682596593bc26858cd0
MD5 3134b9e170a600d99b2528d1e083d98a
BLAKE2b-256 454f117f0634b34f8a94b63021ee36fdb5c7e4cf66bce44cd115b1177da8ea01

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ffa3b91f4ac7518dbd9fc1294fa81df316ff5e5a67ae6d95fc5f7bb35b2acf10
MD5 0950ec66cd9aa03611141c1ea4bac59d
BLAKE2b-256 33da350ac91aa0a3a5d1fcc979e229adbf900fc980d59a68d68fbd8e5ff693ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 ddbe22dd823bf4227ac12ab0b4f43ffdd430d4ed38dd5446d1f44dd50db157cf
MD5 d0ba0357827c668a1cd8cfbfb1d08fd0
BLAKE2b-256 87c995ecd0a1c5c7bf8f0362664fa3df1071068c11ec6a5464fe3884ab59b738

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-macosx_12_0_x86_64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyogrio-0.13.0-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyogrio-0.13.0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 588ea200bbefc3c6b33bdc3063491a7af4287747838f3b719347587063d9fc5d
MD5 fe40b5dd4eb0f3e73a18b7900b7fad3d
BLAKE2b-256 7b59ae4bc3c5d798e301910820f0827e78c54dd56d52efd354bee92d0fc00fb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyogrio-0.13.0-cp310-cp310-macosx_12_0_arm64.whl:

Publisher: release.yml on geopandas/pyogrio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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