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.1.1.tar.gz
(3.5 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.1.1.tar.gz.
File metadata
- Download URL: eoxelements-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f5e76938ad0ec926cef27224b1c7750e95ed42237e0472583b12cf70cec2171
|
|
| MD5 |
4a31e18754f229b1056e01fdafcb1bff
|
|
| BLAKE2b-256 |
8fc990c670b538d820b52c251970fe3acd8677cec8d27cfb0edb79548b759322
|
File details
Details for the file eoxelements-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eoxelements-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 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 |
36850020b1330bf732b49108e178ff690b83d4ebf04bfd41fb4333b39665020b
|
|
| MD5 |
da3a7ed9ac18d257c9798419399a22b3
|
|
| BLAKE2b-256 |
d43ef44d2e872a9749635a1f5d133d6cf21a6bd83357b043de374ef169373164
|