Skip to main content

A Python wrapper for the geoviz JavaScript library

Project description

geovizpy

A Python wrapper for the geoviz JavaScript library. It allows you to create thematic maps using a simple Python API and render them to HTML.

Installation

pip install git+https://github.com/fbxyz/geovizpy.git

Usage

from geovizpy import Geoviz
import json

# Load your GeoJSON data
with open("examples/world.json") as f:
    world_data = json.load(f)

# Create a map
viz = Geoviz(projection="EqualEarth")
viz.outline()
viz.choro(data=world_data, var="gdppc")
viz.render_html("map.html")

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

geovizpy-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

geovizpy-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file geovizpy-0.1.3.tar.gz.

File metadata

  • Download URL: geovizpy-0.1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for geovizpy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d3ab77b88e681d8c1bb82f9786b2ec1d7c04d251116aff025cf163dd808dbfb0
MD5 41efa087a12fd90034e055c626dbf5b6
BLAKE2b-256 1bfbb051281ead46cd0c5c593514674dd2b265719599b48dfcfad5f628cbb086

See more details on using hashes here.

File details

Details for the file geovizpy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: geovizpy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for geovizpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09d557f1c4a9e947234cf00f3b5e4c903c3c645305f271b721265a83cfd03f22
MD5 6ae3d71f375d31cfdea3c7e95544a889
BLAKE2b-256 d5fb978af35c7f9a5dd2047b4208c1a449178f5e23cfa0516c820a8f3662a9dc

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