Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

map-network-viz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map-network-viz

A small wrapper for visualizing street networks and making artistic maps with OpenStreetMap and Networkx.

  • 0.0.10
  • PyPI
  • Socket score

Maintainers
1

map-network-viz

Description

This library contains functionality for visualizing street networks and making artistic maps with OpenStreetMap and Networkx. It works by wrapping around the osmnx library to pull city network data (nodes and edges), but it is specifically designed to help end users make highly customizable, color-coded maps!

Installation

python3 -m pip install map-network-viz

Example Usage

from map_network_viz import *
PALETTE = ["#FFB7C3", "#750d37", "#F57A80", "#F6BD60", "#AAE28D", "#aadaba", "#27BACE", "#F0F2A6"]
generate_map("Portland, Oregon, USA", PALETTE)
from map_network_viz import *
PALETTE = ["#FFB7C3", "#750d37", "#F57A80", "#F6BD60", "#AAE28D", "#aadaba", "#27BACE", "#F0F2A6"]
generate_map("Tokyo, Japan", PALETTE, distance_km=5000, color_code_by='length', include_legend=True, save=False)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc