Skip to main content

dash-geoman

PyPI PyPI - Python Version NPM PyPI - License

Wrapper of leaflet-geoman components for Plotly Dash

Getting started

The easiest way to get started is to install the latest version of Dash and dash-geoman via pip.

pip install dash==2.0.0
pip install dash-geoman

Once the installation is completed, paste the following lines of code into a .py file and run it.

import dash
import dash_leaflet as dl
import dash_geoman as dgm

app = dash.Dash()
app.layout = dl.Map(childrenn=[
    dl.TileLayer(),
    dgm.Geoman(),
], style={'width': '1000px', 'height': '500px'})

if __name__ == '__main__':
    app.run_server()

If you visit http://127.0.0.1:8050/ in your browser, you should see a leaflet map and dash-geoman's edit controls.

Documentation

Build instructions

Start by cloning this repository,

git clone git@github.com:pikhovkin/dash-geoman.git
cd dash-geoman

Next, create a virtual environment and install the python dependencies,

python3 -m venv venv && . venv/bin/activate
pip install -r requirements.txt

Finally, install packages via npm (ignore errors) and run the build script,

npm i --ignore-scripts
npm run build

License

MIT

Metadata

Release files for dash-geoman 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dash-geoman 0.1.0
File Size Uploaded Provenance
dash_geoman-0.1.0.tar.gz 314.1 kB Without provenance Details

Release files / dash_geoman-0.1.0.tar.gz

Download URL dash_geoman-0.1.0.tar.gz
Size 314.1 kB
Tags Source
SHA-256 checksum
How to use checksums
408db6bd94d3d1b3cb75697cd106d8465903a9bdf071cffbbebf75b0bbfb0447
BLAKE2b-256 checksum
How to use checksums
dbf9b02d3033ddf788d0009a35bd070183b83970eed40b1ed6b3f5fed8cb0aac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for dash-geoman 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page