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.4.tar.gz
(4.8 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.4.tar.gz.
File metadata
- Download URL: geovizpy-0.1.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2373c8e24bb48b19d851a26ab0b874bfacf8579307785deeca4fdea602ee430d
|
|
| MD5 |
09edaeb2b052a44c9a745c4ada5ad1d3
|
|
| BLAKE2b-256 |
aa73e5238caff543861d52140be23b4852cb11c97aa82a5df4917a961bfa6298
|
File details
Details for the file geovizpy-0.1.4-py3-none-any.whl.
File metadata
- Download URL: geovizpy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.9 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 |
85714c92e0def0a20f25ad54d84d87f306afbce2457f73239248f2fa2f965d2b
|
|
| MD5 |
87e12de1ca3c2329debf0993d4b4c960
|
|
| BLAKE2b-256 |
a46ba703c5ed4a8548ff5b9be32600c0698688386502d48df5ba7f6c7c233dc1
|