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.2.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.2.tar.gz.
File metadata
- Download URL: eoxelements-0.2.2.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 |
6b41c4c5fa34b3ba1190b93469320348ad59689b13438554b4ed1a1b7835609d
|
|
| MD5 |
3d333c9fb84d4e9eefceb5d3464d1c46
|
|
| BLAKE2b-256 |
4a98bdc36fefc5f15b21b2b211d9a669897057b211a32351386c8414b659d651
|
File details
Details for the file eoxelements-0.2.2-py3-none-any.whl.
File metadata
- Download URL: eoxelements-0.2.2-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 |
bc9d8f49c4a6f5d2eb6c17bd29f7042d69cd2533617b31a9fcbcff54c42117de
|
|
| MD5 |
3e3c120623a2325159cc3b7a1ed90dbf
|
|
| BLAKE2b-256 |
831fad005ac10768a920c7111e59acd59bd39d4922e14f37bfc77c4e516cd344
|