Skip to content

Commit 9f2a3a9

Browse files
songololoclaude
andcommitted
4.25.0b1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 337c119 commit 9f2a3a9

File tree

8 files changed

+1498
-648
lines changed

8 files changed

+1498
-648
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cityseer"
3-
version = '4.24.0'
3+
version = '4.25.0b1'
44
description = "Computational tools for network-based pedestrian-scale urban analysis"
55
readme = "README.md"
66
requires-python = ">=3.10, <3.14" # pending fiona support for 3.14

pysrc/cityseer/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from . import rustalgos
66

7-
__all__ = ["metrics", "tools", "config", "sampling", "rustalgos"]
7+
__all__ = ["metrics", "tools", "config", "sampling", "rustalgos", "CityNetwork"]
88

99
# for handling GeoPandas warnings
1010
os.environ["USE_PYGEOS"] = "0"
@@ -17,4 +17,8 @@ def __getattr__(name: str):
1717
import importlib
1818

1919
return importlib.import_module(f".{name}", __name__)
20+
if name == "CityNetwork":
21+
import importlib
22+
23+
return importlib.import_module(".network", __name__).CityNetwork
2024
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

pysrc/cityseer/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,11 @@ def wrapper(queue: Queue[RustResults | Exception]):
114114
total=total,
115115
disable=QUIET_MODE,
116116
desc=desc,
117+
mininterval=0.1,
117118
)
118119
thread.start()
119120
while thread.is_alive():
120-
time.sleep(0.1)
121+
time.sleep(0.01)
121122
pbar.update(rust_struct.progress() - pbar.n) # type: ignore
122123
pbar.update(total - pbar.n)
123124
pbar.close()

0 commit comments

Comments
 (0)