Skip to content

Commit 3175910

Browse files
committed
Add DbfWriter and refactor Writer to use it
REfactor dbf writing logic into DbfWriter. Make property wrappers of shp, shx and dbf instead of __getFileObj. Passes mypy and Pytest Remove typing.Never. Ruff check and format Add setter for Writer.fields
1 parent cda7ccb commit 3175910

4 files changed

Lines changed: 627 additions & 519 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
88

99
- **Author**: [Joel Lawhead](https://github.com/GeospatialPython)
1010
- **Maintainers**: [James Parrott](https://github.com/JamesParrott) & [Karim Bahgat](https://github.com/karimbahgat)
11-
- **Version**: 3.0.7
11+
- **Version**: 3.0.8
1212
- **Date**: 20th May 2026
1313
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)
1414

@@ -93,6 +93,11 @@ part of your geospatial project.
9393

9494
# Version Changes
9595

96+
## 3.0.8
97+
98+
### Testability / separation of concerns.
99+
- Separate dbf only writing methods into a new dbfWriter class (an instance of which is owned by the regular Shapefile Writer class).
100+
96101
## 3.0.7
97102

98103
### Testability / separation of concerns.

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
VERSION 3.0.8
2+
3+
2026-05-20
4+
Testability / separation of concerns:
5+
* Separate dbf only writing methods into a new dbfWriter class (an instance of which is owned by the regular Shapefile Writer class).
6+
17
VERSION 3.0.7
28

39
2026-05-20

0 commit comments

Comments
 (0)