Skip to content

Commit b0445c0

Browse files
committed
v2.4.1 Faster shapefile writes.
1 parent 09ab2f8 commit b0445c0

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,13 @@ part of your geospatial project.
9595

9696
# Version Changes
9797

98-
## 2.4.0
98+
## 2.4.1
99+
100+
### Improvements:
101+
- Speed up writing shapefiles by up to ~39%. Combined for loops of calls to f.write(pack(...)), into single calls.
99102

100103
### Breaking Change. Support for Python 2 and Pythons <= 3.8 to be dropped.
101-
- PyShp 2.4.0 is the latest (and likely last) version of PyShp to support Python 2.7 and Pythons <= 3.8.
104+
- PyShp 2.4.1 is the latest (and likely last) version of PyShp to support Python 2.7 and Pythons <= 3.8.
102105
These CPython versions have reached [end of life](https://devguide.python.org/versions/#versions).
103106
- Future development will focus on PyShp v3.0.0 onwards (currently intended to supporting Pythons >= 3.9).
104107
- This will not break any projects, as pip and other package managers should not install PyShp 3.0.0
@@ -107,6 +110,7 @@ bug fixes and features.
107110
- If this negatively impacts your project, all feedback about this decision is welcome
108111
on our [the discussion page](https://github.com/GeospatialPython/pyshp/discussions/290).
109112

113+
## 2.4.0
110114

111115
### New Features:
112116
- Reader.iterRecords now allows start and stop to be specified, to lookup smaller ranges of records.

changelog.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
VERSION 2.4.0
1+
VERSION 2.4.1
2+
3+
2025-07-30
4+
Improvements:
5+
* Speed up writing shapefiles by up to ~39%. Combined for loops of calls to f.write(pack(...)), into single calls.
26

3-
2025-07-21
47
Forthcoming Breaking Change. Support for Python 2 and Pythons <= 3.8 to be dropped.
5-
* PyShp 2.4.0 is the latest (and likely last) version of PyShp to support Python 2.7 and Pythons <= 3.8.
8+
* PyShp 2.4.1 is the latest (and likely last) version of PyShp to support Python 2.7 and Pythons <= 3.8.
69
These CPython versions have reached [end of life](https://devguide.python.org/versions/#versions).
710
* Future development will focus on PyShp v3.0.0 onwards (currently intended to supporting Pythons >= 3.9).
811
* This will not break any projects, as pip and other package managers should not install PyShp 3.0.0
@@ -11,6 +14,10 @@ VERSION 2.4.0
1114
* If this negatively impacts your project, all feedback about this decision is welcome
1215
on our [the discussion page](https://github.com/GeospatialPython/pyshp/discussions/290).
1316

17+
VERSION 2.4.0
18+
19+
2025-07-21
20+
1421

1522
New Features:
1623
* Reader.iterRecords now allows start and stop to be specified, to lookup smaller ranges of records.

shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Compatible with Python versions 2.7-3.x
77
"""
88

9-
__version__ = "2.4.0"
9+
__version__ = "2.4.1"
1010

1111
import array
1212
import io

0 commit comments

Comments
 (0)