Releases: GeospatialPython/pyshp
Releases · GeospatialPython/pyshp
Tested on Python 3.14 and 3.15 dev. Support stubs. Fixed UnboundLocalError
3.0.3 v3.0.3 Tested on Python 3.14 and 3.15 dev. Support stubs. Fixed Unbo…
Documentation fix. Correct the version number in README.md
A rerelease of 3.0.2 for PyPi (to retrigger the CD deploy job)
3.0.2.post0 Merge pull request #375 from GeospatialPython/v3.0.2.post0_release_to…
Remove py.typed
so as not to enforce type checking on user's other projects.
More support for Paths, and no longer modifies the doctest module.
Improvements
- Reader(shp=, dbf=, shx=) now support pathlib.Paths, and any pathlike object (@mwtoews).
Bug fixes
- PyShp 3 no longer modifies the global doctest module (@JamesParrott).
Code quality
- isort replaced by Ruff check's I rule (@mwtoews).
- mypy --strict used in CI (@JamesParrott).
- LICENSE.TXT re-encoded in UTF-8 (@musicinmybrain).
Python 3.9+ only. Type hints. Shape subtypes. Faster writes.
3.0.0 v3.0.0 Python 3.9+ only. Type hints. Shape subtypes. Faster writes.
Version 2.4.1. Faster shapefile writes.
What's Changed
- Add speed_test.py and .yml by @JamesParrott in #336
- Add Writer speed tests by @JamesParrott in #338
- Combine f.write(pack( "<d"etc., )) calls by @JamesParrott in #341
Full Changelog: 2.4.0...2.4.1
Version 2.4.0. Iteration over subranges of records. Last support for Python 2 and Python 3.8
What's Changed
- Fix PyShp's CI, dropping actions/setup-python, running build.yml Action in Python Docker containers. by @JamesParrott in #267
- Add spatial filtering for single points by @lgolston in #259
- SyntaxWarning for identity checks in test_shapefile by @lgolston in #260
- Fix recursion error when copying Record with deepcopy() by @midichef in #257
- Added uppercase file extension compatibility for zip files by @bva-bme in #250
- Run on workflow_dispatch (after manual trigger) by @JamesParrott in #271
- *.py: Remove trailing empty spaces. by @schwehr in #279
- changelog.txt: strip trailing spaces and keep as dos formatted file. by @schwehr in #280
- build.yml: Allow all pushes to run the workflow. by @schwehr in #277
- build.yml: Change python-versions to leave off patch version. by @schwehr in #282
- README.md and changelog.txt: codespell by @schwehr in #283
- Initial sorting of imports. by @schwehr in #296
- Refactor workflows to support testing before deployment, and testing on Windows and MacOS. by @JamesParrott in #300
- Run Pylint
- Add ruff format hook to pre-commit config
- Combine iter records range into iter records based on work by @lguez in #310
New Contributors
- @lguez made their first contribution in #310
- @lgolston made their first contribution in #259
- @midichef made their first contribution in #257
- @bva-bme made their first contribution in #250
- @schwehr made their first contribution in #279
Full Changelog: 2.3.1...2.4.0
PyShp 2.3.1
Bug fixes:
- Fix recently introduced issue where Reader/Writer closes file-like objects provided by user (#244)
PyShp 2.3.0
New Features:
- Added support for pathlib and path-like shapefile filepaths (@mwtoews).
- Allow reading individual file extensions via filepaths.
Improvements:
- Simplified setup and deployment (@mwtoews)
- Faster shape access when missing shx file
- Switch to named logger (see #240)
Bug fixes:
- More robust handling of corrupt shapefiles (fixes #235)
- Fix errors when writing to individual file-handles (fixes #237)
- Revert previous decision to enforce geojson output ring orientation (detailed explanation at SciTools/cartopy#2012)
- Fix test issues in environments without network access (@sebastic, @musicinmybrain).