nextroute 1.9.0__tar.gz → 1.10.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nextroute might be problematic. Click here for more details.

Files changed (32) hide show
  1. {nextroute-1.9.0/src/nextroute.egg-info → nextroute-1.10.1}/PKG-INFO +2 -1
  2. {nextroute-1.9.0 → nextroute-1.10.1}/pyproject.toml +2 -1
  3. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/__about__.py +1 -1
  4. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/bin/nextroute.exe +0 -0
  5. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/input.py +12 -2
  6. {nextroute-1.9.0 → nextroute-1.10.1/src/nextroute.egg-info}/PKG-INFO +2 -1
  7. {nextroute-1.9.0 → nextroute-1.10.1}/LICENSE +0 -0
  8. {nextroute-1.9.0 → nextroute-1.10.1}/README.md +0 -0
  9. {nextroute-1.9.0 → nextroute-1.10.1}/setup.cfg +0 -0
  10. {nextroute-1.9.0 → nextroute-1.10.1}/setup.py +0 -0
  11. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/__init__.py +0 -0
  12. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/base_model.py +0 -0
  13. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/check/__init__.py +0 -0
  14. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/check/schema.py +0 -0
  15. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/options.py +0 -0
  16. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/__init__.py +0 -0
  17. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/location.py +0 -0
  18. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/output.py +0 -0
  19. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/statistics.py +0 -0
  20. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/stop.py +0 -0
  21. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/schema/vehicle.py +0 -0
  22. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/solve.py +0 -0
  23. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute/version.py +0 -0
  24. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute.egg-info/SOURCES.txt +0 -0
  25. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute.egg-info/dependency_links.txt +0 -0
  26. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute.egg-info/requires.txt +0 -0
  27. {nextroute-1.9.0 → nextroute-1.10.1}/src/nextroute.egg-info/top_level.txt +0 -0
  28. {nextroute-1.9.0 → nextroute-1.10.1}/src/tests/schema/__init__.py +0 -0
  29. {nextroute-1.9.0 → nextroute-1.10.1}/src/tests/schema/test_input.py +0 -0
  30. {nextroute-1.9.0 → nextroute-1.10.1}/src/tests/schema/test_output.py +0 -0
  31. {nextroute-1.9.0 → nextroute-1.10.1}/src/tests/solve_golden/__init__.py +0 -0
  32. {nextroute-1.9.0 → nextroute-1.10.1}/src/tests/solve_golden/main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nextroute
3
- Version: 1.9.0
3
+ Version: 1.10.1
4
4
  Summary: Nextroute is an engine for solving Vehicle Routing Problems (VRPs).
5
5
  Author-email: Nextmv <tech@nextmv.io>
6
6
  Maintainer-email: Nextmv <tech@nextmv.io>
@@ -104,6 +104,7 @@ Classifier: Programming Language :: Python :: 3.9
104
104
  Classifier: Programming Language :: Python :: 3.10
105
105
  Classifier: Programming Language :: Python :: 3.11
106
106
  Classifier: Programming Language :: Python :: 3.12
107
+ Classifier: Programming Language :: Python :: 3.13
107
108
  Requires-Python: >=3.8
108
109
  Description-Content-Type: text/markdown
109
110
  License-File: LICENSE
@@ -15,6 +15,7 @@ classifiers = [
15
15
  "Programming Language :: Python :: 3.10",
16
16
  "Programming Language :: Python :: 3.11",
17
17
  "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
18
19
  ]
19
20
  dependencies = [
20
21
  "pydantic>=2.5.2",
@@ -71,7 +72,7 @@ nextroute = ["bin/*.exe"]
71
72
 
72
73
  [tool.cibuildwheel]
73
74
  test-command = 'python -c "exec(\"import nextroute\nprint(nextroute.nextroute_version())\")"'
74
- build = "cp3{8,9,10,11,12}-*"
75
+ build = "cp3{8,9,10,11,12,13}-*"
75
76
  skip = "*musllinux*"
76
77
  archs = "native"
77
78
  manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64"
@@ -1,3 +1,3 @@
1
1
  # © 2019-present nextmv.io inc
2
2
 
3
- __version__ = "v1.9.0"
3
+ __version__ = "v1.10.1"
@@ -30,8 +30,10 @@ class DurationGroup(BaseModel):
30
30
  group: List[str]
31
31
  """Stop IDs contained in the group."""
32
32
 
33
+
33
34
  class MatrixTimeFrame(BaseModel):
34
35
  """Represents a time-dependent duration matrix or scaling factor."""
36
+
35
37
  start_time: datetime
36
38
  """Start time of the time frame."""
37
39
  end_time: datetime
@@ -41,8 +43,10 @@ class MatrixTimeFrame(BaseModel):
41
43
  scaling_factor: Optional[float] = None
42
44
  """Scaling factor for the time frame."""
43
45
 
46
+
44
47
  class TimeDependentMatrix(BaseModel):
45
48
  """Represents time-dependent duration matrices."""
49
+
46
50
  vehicle_ids: Optional[List[str]] = None
47
51
  """Vehicle IDs for which the duration matrix is defined."""
48
52
  default_matrix: List[List[float]]
@@ -67,9 +71,15 @@ class Input(BaseModel):
67
71
  """Default values for vehicles and stops."""
68
72
  distance_matrix: Optional[List[List[float]]] = None
69
73
  """Matrix of travel distances in meters between stops."""
70
- duratrion_groups: Optional[List[DurationGroup]] = None
74
+ duration_groups: Optional[List[DurationGroup]] = None
71
75
  """Duration in seconds added when approaching the group."""
72
- duration_matrix: Optional[Union[List[List[float]], TimeDependentMatrix, List[TimeDependentMatrix]]] = None
76
+ duration_matrix: Optional[
77
+ Union[
78
+ List[List[float]],
79
+ TimeDependentMatrix,
80
+ List[TimeDependentMatrix],
81
+ ]
82
+ ] = None
73
83
  """Matrix of travel durations in seconds between stops as a single matrix or duration matrices."""
74
84
  options: Optional[Any] = None
75
85
  """Arbitrary options."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nextroute
3
- Version: 1.9.0
3
+ Version: 1.10.1
4
4
  Summary: Nextroute is an engine for solving Vehicle Routing Problems (VRPs).
5
5
  Author-email: Nextmv <tech@nextmv.io>
6
6
  Maintainer-email: Nextmv <tech@nextmv.io>
@@ -104,6 +104,7 @@ Classifier: Programming Language :: Python :: 3.9
104
104
  Classifier: Programming Language :: Python :: 3.10
105
105
  Classifier: Programming Language :: Python :: 3.11
106
106
  Classifier: Programming Language :: Python :: 3.12
107
+ Classifier: Programming Language :: Python :: 3.13
107
108
  Requires-Python: >=3.8
108
109
  Description-Content-Type: text/markdown
109
110
  License-File: LICENSE
File without changes
File without changes
File without changes
File without changes