English | 简体中文
PyL7VP
🌍 Python3 binding for @AntV/L7VP geospatial visual analysis tool.
Installation
$ pip install pyl7vp
Usage
Jupyter Notebook and JupyterLab
import pandas as pd
from pyl7vp import L7VP
l7vp_map = L7VP(height = 600)
# data
df = pd.DataFrame(
{'longitude': [105.005, 104.602, 103.665, 105.275],
'latitude': [32.349, 32.067, 31.29, 32.416],
'mag': [5.2, 3.0, 6.0, 2.0]
})
# add dataset to map
l7vp_map.add_dataset({"id": "my_dataset", "type": 'local', "data": df})
# Set config
l7vp_map.set_config({
"map": {
"type": "Gaode",
"config": {
"zoom": 7,
"center": [104.615357, 32.068745],
"style": 'dark',
},
},
})
# display map
l7vp_map.show()
Save to HTML File
from pyl7vp import L7VP
l7vp_map = L7VP(height = 600)
# save to html file
l7vp_map.save_to_html("map.html")
User Guide
Local Development
Install Jupyter
# Using pip
pip install jupyter
# or Using conda
# conda install jupyter
Clone code
git clone https://github.com/antvis/L7VP.git
Setup jupyter
Install python module
cd bindings/pyl7vp
# dev install from folder containing setup.py
pip install -e .
Start jupyter notebook
cd notebooks
jupyter notebook
Release a new version
Update version in bindings/pyl7vp/pyl7vp/meta.py
__version__ = "0.0.1"
Build and publish
python setup.py upload
License
Metadata
Release files for pyl7vp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyl7vp-0.1.0.tar.gz | 15.1 kB | Without provenance | Details for pyl7vp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyl7vp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyl7vp-0.1.0-py3-none-any.whl |
Total release size: 30.6 kB
Release files / pyl7vp-0.1.0.tar.gz
| Download URL | pyl7vp-0.1.0.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27da6e4c47e0c0421ede189426573298fdde3e0fc4fd3caa4daac70ca8dc3adf
|
|
BLAKE2b-256 checksum How to use checksums |
cdb82f704fc89a848a3b0d5111c531c81f3abad5b61a623b34f64478459b32c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2
|
Release files / pyl7vp-0.1.0-py3-none-any.whl
| Download URL | pyl7vp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2bbc6dbbc47f5b53728434fd64cc4222d49ab36e1e652db0a1d041853a43310
|
|
BLAKE2b-256 checksum How to use checksums |
fc264f1eaf9db3fca696c2df5e5a8470f9b6658dc491cc1ae395d55c37501439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2
|
Security for pyl7vp 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.