All tools
pyshp
Open Source
Pure-Python library for reading and writing ESRI Shapefiles without GDAL.
License
MIT
About
pyshp reads and writes the ESRI Shapefile format (.shp, .shx, .dbf) in pure Python, with no compiled dependencies. That makes it a common choice in lightweight services and pipelines that need basic attribute and geometry access without pulling in GDAL. It is also the default reader behind GeoPandas' original I/O path.
Features
- Reads and writes Shapefile, SHX and DBF components
- Pure Python with no compiled extensions
- Reads from local files, URLs, zip archives and file-like objects
- Shape type selection when writing, including 3D and multipoint
- Encoding handling for DBF attribute tables
- Command-line tool for inspecting shapefile contents
Details
- Type
- Library
- Pricing
- open-source
- License
- MIT
- Hosting
- Self-host
Platforms
web
linux
macos
windows
Languages
Python
Data formats
Shapefile