staticmap3 0.2.0__tar.gz → 0.2.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.
- {staticmap3-0.2.0 → staticmap3-0.2.1}/PKG-INFO +7 -6
- {staticmap3-0.2.0 → staticmap3-0.2.1}/README.md +5 -5
- {staticmap3-0.2.0 → staticmap3-0.2.1}/pyproject.toml +2 -1
- {staticmap3-0.2.0 → staticmap3-0.2.1}/LICENSE.txt +0 -0
- {staticmap3-0.2.0 → staticmap3-0.2.1}/staticmap3/__init__.py +0 -0
- {staticmap3-0.2.0 → staticmap3-0.2.1}/staticmap3/staticmap.py +0 -0
- {staticmap3-0.2.0 → staticmap3-0.2.1}/staticmap3/tests.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: staticmap3
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Fork of staticmap, a small, python-based library for creating map images with lines and markers.
|
|
5
5
|
License: Apache Software License
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Provides-Extra: dev
|
|
21
22
|
Provides-Extra: filecache
|
|
22
23
|
Requires-Dist: cachecontrol
|
|
@@ -33,7 +34,7 @@ Description-Content-Type: text/markdown
|
|
|
33
34
|
Static Map 3 is a fork of [Static Map](https://github.com/komoot/staticmap), a small, python-based library for creating map images with lines and markers.\
|
|
34
35
|
The main purpose of this fork is to fix error handling on tile requests, to allow interrupting the execution (see [PR](https://github.com/komoot/staticmap/pull/39) on the original repository).
|
|
35
36
|
|
|
36
|
-
Changes since the fork are detailed in [CHANGELOG.md](CHANGELOG.md).
|
|
37
|
+
Changes since the fork are detailed in [CHANGELOG.md](https://github.com/SamR1/staticmap/blob/main/CHANGELOG.md).
|
|
37
38
|
|
|
38
39
|
## Example
|
|
39
40
|
```python
|
|
@@ -46,7 +47,7 @@ image.save('map.png')
|
|
|
46
47
|
```
|
|
47
48
|
This will create a 300px x 400px map with a blue line drawn from Berlin to Paris.
|
|
48
49
|
|
|
49
|
-

|
|
50
|
+

|
|
50
51
|
|
|
51
52
|
|
|
52
53
|
## Installation
|
|
@@ -142,7 +143,7 @@ image = m.render(zoom=5)
|
|
|
142
143
|
image.save('marker.png')
|
|
143
144
|
```
|
|
144
145
|
|
|
145
|
-

|
|
146
|
+

|
|
146
147
|
|
|
147
148
|
#### Show Ferry Connection
|
|
148
149
|
|
|
@@ -162,7 +163,7 @@ image = m.render()
|
|
|
162
163
|
image.save('ferry.png')
|
|
163
164
|
```
|
|
164
165
|
|
|
165
|
-

|
|
166
|
+

|
|
166
167
|
|
|
167
168
|
#### Show Icon Marker
|
|
168
169
|
|
|
@@ -182,7 +183,7 @@ image = m.render()
|
|
|
182
183
|
image.save('icons.png')
|
|
183
184
|
```
|
|
184
185
|
|
|
185
|
-

|
|
186
|
+

|
|
186
187
|
|
|
187
188
|
### Alternatives
|
|
188
189
|
With [papermap](https://github.com/sgraaf/papermap) there is also a spin-off project dedicated to print maps.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Static Map 3 is a fork of [Static Map](https://github.com/komoot/staticmap), a small, python-based library for creating map images with lines and markers.\
|
|
4
4
|
The main purpose of this fork is to fix error handling on tile requests, to allow interrupting the execution (see [PR](https://github.com/komoot/staticmap/pull/39) on the original repository).
|
|
5
5
|
|
|
6
|
-
Changes since the fork are detailed in [CHANGELOG.md](CHANGELOG.md).
|
|
6
|
+
Changes since the fork are detailed in [CHANGELOG.md](https://github.com/SamR1/staticmap/blob/main/CHANGELOG.md).
|
|
7
7
|
|
|
8
8
|
## Example
|
|
9
9
|
```python
|
|
@@ -16,7 +16,7 @@ image.save('map.png')
|
|
|
16
16
|
```
|
|
17
17
|
This will create a 300px x 400px map with a blue line drawn from Berlin to Paris.
|
|
18
18
|
|
|
19
|
-

|
|
19
|
+

|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
@@ -112,7 +112,7 @@ image = m.render(zoom=5)
|
|
|
112
112
|
image.save('marker.png')
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-

|
|
115
|
+

|
|
116
116
|
|
|
117
117
|
#### Show Ferry Connection
|
|
118
118
|
|
|
@@ -132,7 +132,7 @@ image = m.render()
|
|
|
132
132
|
image.save('ferry.png')
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-

|
|
135
|
+

|
|
136
136
|
|
|
137
137
|
#### Show Icon Marker
|
|
138
138
|
|
|
@@ -152,7 +152,7 @@ image = m.render()
|
|
|
152
152
|
image.save('icons.png')
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-

|
|
155
|
+

|
|
156
156
|
|
|
157
157
|
### Alternatives
|
|
158
158
|
With [papermap](https://github.com/sgraaf/papermap) there is also a spin-off project dedicated to print maps.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "staticmap3"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
description = "Fork of staticmap, a small, python-based library for creating map images with lines and markers."
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Christoph Lingg", email = "christoph@komoot.de"}
|
|
@@ -20,6 +20,7 @@ classifiers = [
|
|
|
20
20
|
"Programming Language :: Python :: 3.12",
|
|
21
21
|
"Programming Language :: Python :: 3.13",
|
|
22
22
|
"Programming Language :: Python :: 3.14",
|
|
23
|
+
"Programming Language :: Python :: 3.15",
|
|
23
24
|
]
|
|
24
25
|
|
|
25
26
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|