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/yourusername/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.2.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.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geovizpy-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 89d83d9e02e1bcbe43ca9536277ed81b501541a946e24d63d9eb3f095ee477ed
MD5 7deef5782a7d7633a56ea0466d2919ac
BLAKE2b-256 63ff76f7d47ffe29c3768541019f7e841434dea62bbc6a2055a9f6d99debd8f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geovizpy-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3d32c5b9d1ad069bad6a004b4231ebb0b26829a8b0365997a58b6b8e9fec66
MD5 645e2e450acf983c3d4953b452028308
BLAKE2b-256 093f1e8bd4b4e228a5be973e6b4423b7621226f3c9e35911f3be4d7c22bb3a81

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