Jupyter notebook wrapper for EOxElements web components
Project description
EOxElements Jupyter
A minimal Python package for using EOxElements web components (eox-map, eox-layercontrol, etc.) inside Jupyter Notebooks. Inspired by ipyleaflet and ipyopenlayers, this package provides a simple API for inclduing EOxElements.
Features
- Easy-to-use Python wrappers for EOxElements web components
- Version pinning for JS components via CDN
- Designed for use in Jupyter Notebooks
Installation
pip install eoxelements
Usage
from eoxelements import EOxMapWithControl
# Define map layers
map_layers = [
{
"type": "Tile",
"properties": {"id": "osm", "title": "OSM"},
"source": {"type": "OSM"},
}
]
# Create and display the widget
m = EOxMapWithControl(layers=map_layers)
display(m)
Development & Release Automation
- JS component versions are pinned in
eoxelements/_version.pyand updated via CI/CD. - Publishing to PyPI is automated using GitHub Actions (
.github/workflows/publish.yml).
License
MIT
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
eoxelements-0.2.0.tar.gz
(4.1 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 eoxelements-0.2.0.tar.gz.
File metadata
- Download URL: eoxelements-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fa3f92dd88a04f44eb61c0b12f73058e1166ad49ecfddc96b32bb454443ede3
|
|
| MD5 |
e1eb085bf236fb69bda1c443657db1e4
|
|
| BLAKE2b-256 |
d3c206481f3d4e7517eda782e1b25e4635def8d12b03ac715f47e1c38f605fcb
|
File details
Details for the file eoxelements-0.2.0-py3-none-any.whl.
File metadata
- Download URL: eoxelements-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c48e64bc9fc9be014ccfd37d96d1ff7684d1f139cfc785f2bc6779e49a5e73d2
|
|
| MD5 |
a4843abc9e863a23e026f8dd267bd4d5
|
|
| BLAKE2b-256 |
9b3966837c386f16b5f45503519ccd049cd339f9fb5dff8c2e43d85e16c420e0
|