Skip to main content

A generic toolbox for building maps in Python

Project description

cartes logo

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.6.tar.gz (8.7 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.6-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cartes-0.8.6.tar.gz
Algorithm Hash digest
SHA256 0558baa67a6dab141ff4851b62a963cb9dfab4a1dbfe5a393d18629af5bc05a6
MD5 2483373362057d21c8bf2b2ca507e9ec
BLAKE2b-256 8d93d554c5e7d981f808ffc930cf114e651cb792792bf0856ef318186d3465d3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cartes-0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bc66bddada3701b3d681e867b7e6dd4c88f651869510e5702b8c5859022082d1
MD5 765797ffe44692d8c47ee2e8eb5f468d
BLAKE2b-256 a0716dd8783ded5c6875482009a060492e34e555794aa864e3129eca14b4ce35

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