Description
prettymaps is a minimal Python library for drawing customised maps from OpenStreetMap data. It is built with osmnx to fetch the data, matplotlib to draw it, shapely to handle the geometry and and vsketch. You choose a place and set the styling, and the library renders a decorative map that can be exported as an image. The README includes a tutorial in marimo and a Google Colab demo, so you can try it without installing anything. It was shared on Hacker News and has a subreddit of its own. The project is licensed under the GNU Affero General Public License v3.0, which the README summarises as allowing commercial use, distribution and modification as long as the source code and the licence and copyright notice are disclosed. The README also includes a note about crediting and NFTs. It suits designers and hobbyists who want a map poster or print of a favourite city.…
Highlights
- Maps from OpenStreetMap data
- Customisable layers, colours and styles
- Built with osmnx, matplotlib, shapely and vsketch
- Tutorial and Google Colab demo
Ratings & Reviews
No ratings yet
Be the first to rate Prettymaps.
People also visit

mapbox-cartography
Expert guidance on map design principles, color theory, visual hierarchy
Prettymaps FAQ
What is prettymaps?
A Python library for drawing customised maps from OpenStreetMap data.
Which libraries does it use?
osmnx, matplotlib, shapely and vsketch.
Can I try it without installing?
Yes. The README links to a Google Colab demo and a marimo tutorial.
What licence is it under?
GNU AGPL v3.0, which requires disclosure of the source code and the licence and copyright notice.
Can I use the maps commercially?
The licence allows commercial use if you disclose the source code under the same licence.
What are the best Prettymaps alternatives?
Popular alternatives to Prettymaps include Ultimaps, Map Poster Generator and AutoCoder.cc. See all Prettymaps alternatives



