Metadata-Version: 2.4
Name: geovizpy
Version: 0.1.4
Summary: A Python wrapper for the geoviz JavaScript library
Author: fbxyz
Project-URL: Source, https://codeberg.org/fbxyz/geovizpy
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

# geovizpy

A Python wrapper for the [geoviz](https://github.com/neocarto/geoviz) JavaScript library.
It allows you to create thematic maps using a simple Python API and render them to HTML.

## Installation

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

## Usage

```python
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")
```
