pyshp icon indicating copy to clipboard operation
pyshp copied to clipboard

This library reads and writes ESRI Shapefiles in pure Python.

Results 40 pyshp issues
Sort by recently updated
recently updated
newest added

### Describe the feature request Great to have. The broad `except:`s in particular should be made more specific. ``` pylint --disable=R,C,E *shapefile.py ************* Module shapefile shapefile.py:1870:13: W0511: TODO: internal __record...

enhancement

### Describe the feature request Nice to have. An undefined attribute, and undefined names (which are only defined in Python 2 or the deps). ``` pylint --disable=R,C,W *shapefile.py ************* Module...

enhancement

### PyShp Version latest, 3.03 ### Python Version 3 ### Your code ```shell # pip install PyShp[stubs] # Expected to fail typechecking, as well as at runtime: import shapefile with...

bug

All feedback welcome here: https://github.com/GeospatialPython/pyshp/discussions/380

### Describe the feature request A fix for the known problem in the code has already been merged, but it'd be good to have a real example of "UnboundLocalError when...

bug
enhancement
good-first-PR

### Describe the feature request I was able to overload the type signatures with pretty much the list ones from the stdlib, to adhere to LSP. But I needed to...

enhancement

### Describe the feature request Is there a way to avoid the current `'type: ignore`, and limit the generic variable to int and float? https://github.com/GeospatialPython/pyshp/blob/19010dfbe0ef7a7ac0d9c2d1a62585a6a4cd2ec4/src/shapefile.py#L361 This would justify typing-extensions, if...

enhancement

### Describe the feature request Reader.shp = None is what the default does anyway, and I could also be persuaded that we should break backwards compatibility for users who for...

enhancement
investigate
good-first-PR

### Describe the feature request Can mypy be taught to narrow to a particular TypedDict from a union of them, based on a test of string keys with `Literal` values...

enhancement

### Describe the feature request TODO. ### Contributions - [x] I am interested in implementing the described feature request and submit as a PR.

enhancement