$npx skillfedfor your agent

searoute

A python package for generating the shortest sea route between two points on Earth.

With conditionsPyPI Scientific/EngineeringReleased May 202685.5K downloads / moApache-2.0Source build

Decision gist · record as of 2026-08-14

sdist only — searoute-1.6.0.tar.gz · builds from source
v1.6.0 · released 2026-05-17 · 2 runtime deps: geojson, networkx

Yes, if you need to visualize or analyze maritime routes. The package is actively maintained, has no known vulnerabilities, and is licensed permissively. High install friction (two non-trivial dependencies) is manageable for projects where route visualization is a core feature. Not suitable for real-time navigation or precise maritime routing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction due to dependencies on geojson and networkx, though both are stable.
  • Active maintenance with recent releases; last commit 2026-05-17 and 152 repository stars indicate ongoing development.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-05-17 (89 days) · last repo commit 2026-05-17 · 152 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,460 downloads/mo, #13,921 on PyPI

Verify before relying

pip install searoute

import searoute as sr

origin = [0.3515625, 50.064191736659104]
destination = [117.42187500000001, 39.36827914916014]
route = sr.searoute(origin, destination)
print("{:.1f} {}".format(route.properties['length'], route.properties['units']))
  • Whether the package handles edge cases (e.g., antipodal points, routes crossing date line) reliably
  • Performance characteristics and scalability limits for repeated route calculations
  • Accuracy of the underlying maritime graph and how frequently it is updated
Same gist for agents: .md · .json

What it is and what it does

Searoute computes realistic shortest paths across ocean waters between two points on Earth, accounting for land masses by finding the nearest sea point if either endpoint is on land. It returns a GeoJSON LineString Feature with calculated distance and optional port information, designed for visualizing maritime routes rather than for actual ship navigation.

The package uses a graph-based approach with networkx as the default backend (or igraph optionally for performance), and supports customization through user-supplied node and edge networks, passage restrictions (e.g., avoiding the Suez Canal), and preferred port selection via area-based weighting. Distance can be computed in multiple units (kilometers, miles, nautical miles, etc.) and duration estimates are available based on vessel speed.

Use it for

  • Generate realistic sea routes for maritime trade flow visualizations and shipping analytics dashboards
  • Calculate approximate voyage durations and distances for supply chain planning and logistics simulation
  • Build interactive maps showing port-to-port connectivity with customizable passage restrictions
  • Analyze maritime chokepoints by computing routes that avoid specific straits or canals
  • Create educational visualizations of global shipping patterns and international trade corridors

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to visualize or analyze maritime routes.

The package is actively maintained, has no known vulnerabilities, and is licensed permissively. High install friction (two non-trivial dependencies) is manageable for projects where route visualization is a core feature. Not suitable for real-time navigation or precise maritime routing.

Install

searoute on PyPI

Before you install

High install friction due to dependencies on geojson and networkx, though both are stable. Active maintenance with recent releases; last commit 2026-05-17 and 152 repository stars indicate ongoing development.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install searoute

import searoute as sr

origin = [0.3515625, 50.064191736659104]
destination = [117.42187500000001, 39.36827914916014]
route = sr.searoute(origin, destination)
print("{:.1f} {}".format(route.properties['length'], route.properties['units']))

Verify before relying

  • Whether the package handles edge cases (e.g., antipodal points, routes crossing date line) reliably
  • Performance characteristics and scalability limits for repeated route calculations
  • Accuracy of the underlying maritime graph and how frequently it is updated

Package facts

LicenseApache-2.0 permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
2 packages
geojsonnetworkx
MaintenanceActively maintained 89 days since the last release
Last repo commit
First released
Downloads85,460 / month, #13,921 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: Customer ServiceIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: searoute-1.6.0.tar.gz

Tags

Capabilities
shortest sea route calculationmaritime route generationocean path findinggeospatial sea routingship route visualizationport-to-port routingmaritime distance computation
Topics
geospatialmaritimevisualization
PyPI keywords
searoutemapsearouteoceanports

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “shortest sea route calculation”

  • searouteComputes the shortest sea route between two geographic points,…
  • DijkstarDijkstar implements Dijkstra's shortest-path algorithm and A* search,…
  • global-land-maskDetermines whether geographic coordinates (latitude/longitude) fall…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also haversine · global-land-mask · Dijkstar · polyline · geopy · pyGeoTile · grandalf · geojson · pymap3d · mgrs