simplestmaps 1.6.0__tar.gz → 1.7.0__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.
- simplestmaps-1.7.0/PKG-INFO +61 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/README.md +4 -4
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/setup.py +1 -1
- simplestmaps-1.7.0/simplestmaps.egg-info/PKG-INFO +61 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/simplestmaps.py +4 -0
- simplestmaps-1.6.0/PKG-INFO +0 -61
- simplestmaps-1.6.0/simplestmaps.egg-info/PKG-INFO +0 -61
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/LICENSE +0 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/setup.cfg +0 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/simplestmaps.egg-info/SOURCES.txt +0 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/simplestmaps.egg-info/dependency_links.txt +0 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/simplestmaps.egg-info/requires.txt +0 -0
- {simplestmaps-1.6.0 → simplestmaps-1.7.0}/simplestmaps.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: simplestmaps
|
|
3
|
+
Version: 1.7.0
|
|
4
|
+
Summary: Super simple on-liner maps in python.
|
|
5
|
+
Home-page: http://github.com/fisadev/simplestmaps
|
|
6
|
+
Author: Juan Pedro Fisanotti
|
|
7
|
+
Author-email: fisadev@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
|
|
18
|
+
# Simplest Maps
|
|
19
|
+
|
|
20
|
+
Super simple on-liner maps in python.
|
|
21
|
+
|
|
22
|
+
# Installation
|
|
23
|
+
|
|
24
|
+
`pip3 install simplestmaps`
|
|
25
|
+
|
|
26
|
+
# Usage
|
|
27
|
+
|
|
28
|
+
This lib aims to be super simple to use. For instance, to draw a markers and an area, you could do something like this:
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
from simplestmaps import draw_map, area, marker
|
|
32
|
+
|
|
33
|
+
draw_map(
|
|
34
|
+
marker(-31.2526, -61.4917, popup="my hometown"),
|
|
35
|
+
area([(-31.2741, -61.5105), (-31.2872, -61.5137), (-31.2895, -61.5003), (-31.2764, -61.4973)], color="green", popup="our airfield"),
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from simplestmaps import draw_map, geojson
|
|
45
|
+
|
|
46
|
+
draw_map(
|
|
47
|
+
geojson("./docs/readme_example.geojson"),
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
|
|
54
|
+
|
|
55
|
+
And every element plotted into the map is also customizable (colors, fonts, sizes, popups, etc).
|
|
56
|
+
|
|
57
|
+
# More demos and docs
|
|
58
|
+
|
|
59
|
+
Here are a good set of examples that showcase (and document) all of the supported features:
|
|
60
|
+
|
|
61
|
+
## [Take a look at everything that's possible with so little code!](https://simplestmaps.fisadev.com/)
|
|
@@ -19,7 +19,7 @@ draw_map(
|
|
|
19
19
|
)
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-

|
|
22
|
+

|
|
23
23
|
|
|
24
24
|
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
|
|
25
25
|
|
|
@@ -27,11 +27,11 @@ It can even do more advanced stuff, like plotting the contents of a geojson file
|
|
|
27
27
|
from simplestmaps import draw_map, geojson
|
|
28
28
|
|
|
29
29
|
draw_map(
|
|
30
|
-
geojson("./readme_example.geojson"),
|
|
30
|
+
geojson("./docs/readme_example.geojson"),
|
|
31
31
|
)
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-

|
|
34
|
+

|
|
35
35
|
|
|
36
36
|
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
|
|
37
37
|
|
|
@@ -41,4 +41,4 @@ And every element plotted into the map is also customizable (colors, fonts, size
|
|
|
41
41
|
|
|
42
42
|
Here are a good set of examples that showcase (and document) all of the supported features:
|
|
43
43
|
|
|
44
|
-
## [Take a look at everything that's possible with so little code!](https://
|
|
44
|
+
## [Take a look at everything that's possible with so little code!](https://simplestmaps.fisadev.com/)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: simplestmaps
|
|
3
|
+
Version: 1.7.0
|
|
4
|
+
Summary: Super simple on-liner maps in python.
|
|
5
|
+
Home-page: http://github.com/fisadev/simplestmaps
|
|
6
|
+
Author: Juan Pedro Fisanotti
|
|
7
|
+
Author-email: fisadev@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
|
|
18
|
+
# Simplest Maps
|
|
19
|
+
|
|
20
|
+
Super simple on-liner maps in python.
|
|
21
|
+
|
|
22
|
+
# Installation
|
|
23
|
+
|
|
24
|
+
`pip3 install simplestmaps`
|
|
25
|
+
|
|
26
|
+
# Usage
|
|
27
|
+
|
|
28
|
+
This lib aims to be super simple to use. For instance, to draw a markers and an area, you could do something like this:
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
from simplestmaps import draw_map, area, marker
|
|
32
|
+
|
|
33
|
+
draw_map(
|
|
34
|
+
marker(-31.2526, -61.4917, popup="my hometown"),
|
|
35
|
+
area([(-31.2741, -61.5105), (-31.2872, -61.5137), (-31.2895, -61.5003), (-31.2764, -61.4973)], color="green", popup="our airfield"),
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from simplestmaps import draw_map, geojson
|
|
45
|
+
|
|
46
|
+
draw_map(
|
|
47
|
+
geojson("./docs/readme_example.geojson"),
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
|
|
54
|
+
|
|
55
|
+
And every element plotted into the map is also customizable (colors, fonts, sizes, popups, etc).
|
|
56
|
+
|
|
57
|
+
# More demos and docs
|
|
58
|
+
|
|
59
|
+
Here are a good set of examples that showcase (and document) all of the supported features:
|
|
60
|
+
|
|
61
|
+
## [Take a look at everything that's possible with so little code!](https://simplestmaps.fisadev.com/)
|
|
@@ -54,6 +54,10 @@ def to_points(source, inverted_tuples=False):
|
|
|
54
54
|
# a few known classes that have latitude_deg longitude_deg attributes, like the
|
|
55
55
|
# locations from the orbit-predictor lib
|
|
56
56
|
lat, lon = source.latitude_deg, source.longitude_deg
|
|
57
|
+
elif source.__class__.__name__ == "Position" and hasattr(source, "position_llh"):
|
|
58
|
+
# a known class from the orbit-predictor lib, which has ECEF coordinates but can easily
|
|
59
|
+
# produce lat, lon, height coords
|
|
60
|
+
lat, lon, _ = source.position_llh
|
|
57
61
|
elif isinstance(source, (tuple, list)):
|
|
58
62
|
if len(source) == 1:
|
|
59
63
|
# a sequence with a single object inside, so extract a point from it as if we just got
|
simplestmaps-1.6.0/PKG-INFO
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: simplestmaps
|
|
3
|
-
Version: 1.6.0
|
|
4
|
-
Summary: Super simple on-liner maps in python.
|
|
5
|
-
Home-page: http://github.com/fisadev/simplestmaps
|
|
6
|
-
Author: Juan Pedro Fisanotti
|
|
7
|
-
Author-email: fisadev@gmail.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Description: # Simplest Maps
|
|
10
|
-
|
|
11
|
-
Super simple on-liner maps in python.
|
|
12
|
-
|
|
13
|
-
# Installation
|
|
14
|
-
|
|
15
|
-
`pip3 install simplestmaps`
|
|
16
|
-
|
|
17
|
-
# Usage
|
|
18
|
-
|
|
19
|
-
This lib aims to be super simple to use. For instance, to draw a markers and an area, you could do something like this:
|
|
20
|
-
|
|
21
|
-
```python
|
|
22
|
-
from simplestmaps import draw_map, area, marker
|
|
23
|
-
|
|
24
|
-
draw_map(
|
|
25
|
-
marker(-31.2526, -61.4917, popup="my hometown"),
|
|
26
|
-
area([(-31.2741, -61.5105), (-31.2872, -61.5137), (-31.2895, -61.5003), (-31.2764, -61.4973)], color="green", popup="our airfield"),
|
|
27
|
-
)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-

|
|
31
|
-
|
|
32
|
-
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
|
|
33
|
-
|
|
34
|
-
```python
|
|
35
|
-
from simplestmaps import draw_map, geojson
|
|
36
|
-
|
|
37
|
-
draw_map(
|
|
38
|
-
geojson("./readme_example.geojson"),
|
|
39
|
-
)
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-

|
|
43
|
-
|
|
44
|
-
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
|
|
45
|
-
|
|
46
|
-
And every element plotted into the map is also customizable (colors, fonts, sizes, popups, etc).
|
|
47
|
-
|
|
48
|
-
# More demos and docs
|
|
49
|
-
|
|
50
|
-
Here are a good set of examples that showcase (and document) all of the supported features:
|
|
51
|
-
|
|
52
|
-
## [Take a look at everything that's possible with so little code!](https://nbviewer.org/github/fisadev/simplestmaps/blob/e26f7cbe1eb195714f87e3804e766e302b7e51b5/demo_and_docs.ipynb)
|
|
53
|
-
|
|
54
|
-
Platform: UNKNOWN
|
|
55
|
-
Classifier: Intended Audience :: Developers
|
|
56
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
57
|
-
Classifier: Natural Language :: English
|
|
58
|
-
Classifier: Operating System :: OS Independent
|
|
59
|
-
Classifier: Programming Language :: Python
|
|
60
|
-
Classifier: Programming Language :: Python :: 3
|
|
61
|
-
Description-Content-Type: text/markdown
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: simplestmaps
|
|
3
|
-
Version: 1.6.0
|
|
4
|
-
Summary: Super simple on-liner maps in python.
|
|
5
|
-
Home-page: http://github.com/fisadev/simplestmaps
|
|
6
|
-
Author: Juan Pedro Fisanotti
|
|
7
|
-
Author-email: fisadev@gmail.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Description: # Simplest Maps
|
|
10
|
-
|
|
11
|
-
Super simple on-liner maps in python.
|
|
12
|
-
|
|
13
|
-
# Installation
|
|
14
|
-
|
|
15
|
-
`pip3 install simplestmaps`
|
|
16
|
-
|
|
17
|
-
# Usage
|
|
18
|
-
|
|
19
|
-
This lib aims to be super simple to use. For instance, to draw a markers and an area, you could do something like this:
|
|
20
|
-
|
|
21
|
-
```python
|
|
22
|
-
from simplestmaps import draw_map, area, marker
|
|
23
|
-
|
|
24
|
-
draw_map(
|
|
25
|
-
marker(-31.2526, -61.4917, popup="my hometown"),
|
|
26
|
-
area([(-31.2741, -61.5105), (-31.2872, -61.5137), (-31.2895, -61.5003), (-31.2764, -61.4973)], color="green", popup="our airfield"),
|
|
27
|
-
)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-

|
|
31
|
-
|
|
32
|
-
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
|
|
33
|
-
|
|
34
|
-
```python
|
|
35
|
-
from simplestmaps import draw_map, geojson
|
|
36
|
-
|
|
37
|
-
draw_map(
|
|
38
|
-
geojson("./readme_example.geojson"),
|
|
39
|
-
)
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-

|
|
43
|
-
|
|
44
|
-
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
|
|
45
|
-
|
|
46
|
-
And every element plotted into the map is also customizable (colors, fonts, sizes, popups, etc).
|
|
47
|
-
|
|
48
|
-
# More demos and docs
|
|
49
|
-
|
|
50
|
-
Here are a good set of examples that showcase (and document) all of the supported features:
|
|
51
|
-
|
|
52
|
-
## [Take a look at everything that's possible with so little code!](https://nbviewer.org/github/fisadev/simplestmaps/blob/e26f7cbe1eb195714f87e3804e766e302b7e51b5/demo_and_docs.ipynb)
|
|
53
|
-
|
|
54
|
-
Platform: UNKNOWN
|
|
55
|
-
Classifier: Intended Audience :: Developers
|
|
56
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
57
|
-
Classifier: Natural Language :: English
|
|
58
|
-
Classifier: Operating System :: OS Independent
|
|
59
|
-
Classifier: Programming Language :: Python
|
|
60
|
-
Classifier: Programming Language :: Python :: 3
|
|
61
|
-
Description-Content-Type: text/markdown
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|