pygdal
Virtualenv and setuptools friendly version of standard GDAL python bindings
Decision gist · record as of 2026-08-14
Yes, if you already have GDAL installed on your system and need Python bindings in a virtualenv. The high install friction (version-matching requirement, compiled dependencies) and aging maintenance status (last release May 2023) are acceptable trade-offs for established GIS work. Not recommended if you're new to GDAL or prefer minimal system-level dependencies.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- System GDAL library and development headers must be installed before pip install; pygdal version must match your system GDAL version exactly.
- Installation requires system-level GDAL library and headers already present; the package version must match your installed GDAL version exactly.
- High friction due to compiled C/C++ dependencies and version coupling, though the repository remains active and the package is marked Production/Stable.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without legal concern.
last release 2023-05-18 (1184 days) · last repo commit 2025-08-18 · 113 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,557 downloads/mo, #11,506 on PyPI
Alternatives
Verify before relying
# Requires system GDAL library installed first
# Install matching pygdal version for your GDAL:
# $ gdal-config --version
# $ pip install pygdal=="`gdal-config --version`.*"
from osgeo import gdal- Whether numpy is automatically installed as a dependency or requires separate setup.
- Current maintenance cadence and whether aging status reflects planned dormancy or active-but-stable development.
- Compatibility with GDAL versions beyond 3.5.2 (the stated upper bound in the description).
What it is and what it does
pygdal is a wrapper around GDAL's standard Python bindings designed to work smoothly in virtualenvs and with setuptools. Unlike the standard GDAL bindings, pygdal handles the build and installation process in isolated Python environments, though it still requires the GDAL library and headers to be installed on your system first. It lets you work with geospatial raster and vector data—reading, writing, and transforming geographic datasets—using the standard bindings API.
The main constraint is version coupling: your installed pygdal package version must match your system GDAL version exactly. This tight binding ensures the Python bindings align with the underlying C/C++ library, but it also means you need to verify your GDAL version before installing and potentially reinstall pygdal if you upgrade GDAL. The package supports Python 3.6 and later and is marked Production/Stable, though its last release was in May 2023.
Use it for
- Reading and writing GIS raster and vector data formats in a virtualenv.
- Automating geospatial data processing pipelines that need isolated Python dependencies.
- Developing GIS applications where system GDAL is already installed and you need Python bindings.
- Prototyping geospatial analysis without polluting your system Python installation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you already have GDAL installed on your system and need Python bindings in a virtualenv.
The high install friction (version-matching requirement, compiled dependencies) and aging maintenance status (last release May 2023) are acceptable trade-offs for established GIS work. Not recommended if you're new to GDAL or prefer minimal system-level dependencies.
Install
pygdal on PyPI
Before you install
Installation requires system-level GDAL library and headers already present; the package version must match your installed GDAL version exactly. High friction due to compiled C/C++ dependencies and version coupling, though the repository remains active and the package is marked Production/Stable.
System GDAL library and development headers must be installed before pip install; pygdal version must match your system GDAL version exactly.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without legal concern.
Quickstart
# Requires system GDAL library installed first
# Install matching pygdal version for your GDAL:
# $ gdal-config --version
# $ pip install pygdal=="`gdal-config --version`.*"
from osgeo import gdal
Verify before relying
- Whether numpy is automatically installed as a dependency or requires separate setup.
- Current maintenance cadence and whether aging status reflects planned dormancy or active-but-stable development.
- Compatibility with GDAL versions beyond 3.5.2 (the stated upper bound in the description).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 1,184 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 133,557 / month, #11,506 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: CProgramming Language :: C++Programming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Scientific/Engineering :: GISTopic :: Scientific/Engineering :: Information Analysis |
Evidence: pygdal-3.6.4.11.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “GDAL Python bindings”
- pygdalProvides Python bindings for GDAL (Geospatial Data Abstraction…
- GDALGDAL provides Python bindings to read, write, and manipulate…
- pyogrioPyogrio provides fast, bulk-oriented read and write access to vector…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also GDAL · virtualenv-clone · rpm · setuptools-git · pipenv · virtualenv · pyogrio · selinux · fiona