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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3ab77b88e681d8c1bb82f9786b2ec1d7c04d251116aff025cf163dd808dbfb0
|
|
| MD5 |
41efa087a12fd90034e055c626dbf5b6
|
|
| BLAKE2b-256 |
1bfbb051281ead46cd0c5c593514674dd2b265719599b48dfcfad5f628cbb086
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09d557f1c4a9e947234cf00f3b5e4c903c3c645305f271b721265a83cfd03f22
|
|
| MD5 |
6ae3d71f375d31cfdea3c7e95544a889
|
|
| BLAKE2b-256 |
d5fb978af35c7f9a5dd2047b4208c1a449178f5e23cfa0516c820a8f3662a9dc
|