Skip to main content

Simple OSRM routing and Folium map drawing toolkit

Project description

cartons

A small Python toolkit for routing and map visualization.

cartons calculates routes using OSRM (via routingpy) and renders them on an interactive Leaflet map using folium.

With only a few lines of code you can compute a route between two coordinates and generate an HTML map displaying the route.

The library is designed to be simple, lightweight, and easy to integrate into scripts or small projects.


Features

  • Simple interface for route calculation
  • Interactive map rendering
  • Uses the OSRM routing engine
  • Lightweight with minimal dependencies
  • Generates shareable HTML maps

Installation

cartons is available on PyPI.

Install from PyPI

pip install cartons

Project details


Download files

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

Source Distribution

cartons-1.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

cartons-1.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file cartons-1.0.2.tar.gz.

File metadata

  • Download URL: cartons-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cartons-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9a92fb7fe1fe32b8ea61385c68c685f58dcce5258964a3ec8253eeb253cc1b79
MD5 5f04aa9add6d172bb8450b2e54a8e972
BLAKE2b-256 8c5db34f90e138c6d900d0e8660c974a1ce7fab9b81ef6a6c3a43d06deaeb9b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartons-1.0.2.tar.gz:

Publisher: python-publish.yml on AndPan3/cartons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cartons-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cartons-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cartons-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3db78cebe4a9c36df8517a299023b92b48b00e60538a70c00de798f2521c313f
MD5 f0b1f6fe1488f2bdbd09954743a4f4cb
BLAKE2b-256 88c169846a2af0cc061790d24b09260b9561397d93b86d6561798d1f235148d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartons-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on AndPan3/cartons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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