Skip to main content

A generic toolbox for building maps in Python

Project description

Cartes

tests docs Code Coverage Checked with mypy Code style: black License
PyPI version PyPI downloads Conda version Conda Downloads

Cartes is a Python library providing facilities to produce meaningful maps.

Cartes builds on top of most common Python visualisation libraries (Matplotlib/Cartopy, Altair, ipyleaflet) and data manipulation libraries (Pandas, Geopandas) and provides mostly:

  • a comprehensive set of geographic projections, built on top of Cartopy and Altair/d3.js;
  • an interface to OpenstreetMap Nominatim and Overpass API. Result of requests are parsed in a convenient format for preprocessing and storing in standard formats;
  • beautiful default parameters for quality visualisations;
  • advanced caching facilities. Do not download twice the same content in the same day.

The cartes library is a powerful asset to publish clean, lightweight geographical datasets; and to produce decent geographical visualisations in few lines of code.

Gallery

More in the documentation

Installation

Latest release:

Recommended for beginners, with conda:

conda install -c conda-forge cartes

or with pip:

pip install cartes

Development version, with uv:

git clone https://github.com/xoolive/cartes
cd cartes
uv sync --dev

Documentation

docs

Documentation available at https://cartes-viz.github.io/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartes-0.8.5.tar.gz (8.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartes-0.8.5-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file cartes-0.8.5.tar.gz.

File metadata

  • Download URL: cartes-0.8.5.tar.gz
  • Upload date:
  • Size: 8.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cartes-0.8.5.tar.gz
Algorithm Hash digest
SHA256 52fc2cd27b42c27579a72741f2cbbfcb248b423ab116f6f91042ca5aab680836
MD5 9b31e076c574984edfcd7068894df902
BLAKE2b-256 54ab3bb0e7decb3a9d6740195ca91cc8df3d469818a8e46bff71b2a8132da402

See more details on using hashes here.

File details

Details for the file cartes-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: cartes-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cartes-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d08de4061336bf3ba5d3e5d5ef89141a29c2f6e2051e22360dba97c07668532
MD5 29272b279a575b7252cea1a361b018ed
BLAKE2b-256 99ab47cdd31b57a80014a5d0a6e967db4cb3920c1d1e4568d64f9a4ef67dcca5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page