Jupyter notebook wrapper for EOxElements web components
Project description
EOxElements Jupyter
A minimal Python package for using EOxElements web components 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.1.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.1.tar.gz.
File metadata
- Download URL: eoxelements-0.2.1.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 |
9bfcbacde4b0cba7692c085b4e1fddd6ffcc7e947426b68e1039dfd37b6ad2d5
|
|
| MD5 |
d499b8b2bbba429ff9e88af3ba41e345
|
|
| BLAKE2b-256 |
2e714504c3cdd0c8bcc2a6bda33801059df8b919e092f48cc478f0bc8f7ef6e4
|
File details
Details for the file eoxelements-0.2.1-py3-none-any.whl.
File metadata
- Download URL: eoxelements-0.2.1-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 |
9528b92d7903b47baf1e8014edd47ca9e967c87ad9652560a6db5ee75826c587
|
|
| MD5 |
ce7538e7c698305ecae37b44f13ac5de
|
|
| BLAKE2b-256 |
432512915401e617bf0eff74cc104cd4fb7359bd8ddd992856c8a7355e8a3c84
|