Simplest Maps
Super simple on-liner maps in python.
Installation
pip3 install simplestmaps
Usage
This lib aims to be super simple to use. For instance, to draw a markers and an area, you could do something like this:
from simplestmaps import draw_map, area, marker
draw_map(
marker(-31.2526, -61.4917, popup="my hometown"),
area([(-31.2741, -61.5105), (-31.2872, -61.5137), (-31.2895, -61.5003), (-31.2764, -61.4973)], color="green", popup="our airfield"),
)
It can even do more advanced stuff, like plotting the contents of a geojson file (points, areas, lines):
from simplestmaps import draw_map, geojson
draw_map(
geojson("./docs/readme_example.geojson"),
)
SimplestMaps can plot markers, dots, labels (text), custom html, lines, areas and geojsons, and all of that can be combined in every map.
And every element plotted into the map is also customizable (colors, fonts, sizes, popups, etc).
More demos and docs
Here are a good set of examples that showcase (and document) all of the supported features:
Take a look at everything that's possible with so little code!
Metadata
Release files for simplestmaps 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplestmaps-1.7.0.tar.gz | 6.6 kB | Without provenance | Details for simplestmaps-1.7.0.tar.gz |
Release files / simplestmaps-1.7.0.tar.gz
| Download URL | simplestmaps-1.7.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0103fe07da0b6e247f3f6aa4dccc5570d662a2e50fda841d23ac5be209056dc
|
|
BLAKE2b-256 checksum How to use checksums |
0b0596361879641b9b7396b2b93f38ce215441526bc339e7da34a4e50de57973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|
Security for simplestmaps 1.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.