![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Create static maps from some layers, pretty much like you do with openlayers
but static and in python.
.. code:: bash
$ pip install mapas
.. code:: python
from mapas import Map, Tile, Image, source
mapa = Map(
width=600,
height=400,
layers=[
Tile(source=source.Mapbox(
username='your-username',
style_id='some-style',
token='your-token',
)),
Image(source=source.ImageWms(
server_url="https://some.geoserver.com/wms",
layers=['your:layer'],
cql_filter="prop='value'",
)),
Image(source=source.ImageWms(
server_url="https://secured.geoserver.com/wms",
layers=['namespace:layer'],
auth=('user', 'password'),
)),
],
)
mapa.set_center(-96.10257, 19.13352)
mapa.set_zoom(18)
renderer = mapa.render()
renderer.save('mapa.png')
Run it and you'll have a beautiful map at mapa.png
.
FAQs
Create static maps from different layers
We found that mapas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.