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
Note: In Jupyter, you might need to restart the kernel/server before continuing after installing.
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
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.9.tar.gz.
File metadata
- Download URL: eoxelements-0.2.9.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36fcb69b086fed91e8a711a000f4a92a4283169ef1c3ecd121346fdcaaea7434
|
|
| MD5 |
b0b29ec7f00acc5af8deb2c385b01a79
|
|
| BLAKE2b-256 |
fcbdb03cb8693c510c91be2773ebc60d55e8317f8fae206a2b707097ce98e736
|
File details
Details for the file eoxelements-0.2.9-py3-none-any.whl.
File metadata
- Download URL: eoxelements-0.2.9-py3-none-any.whl
- Upload date:
- Size: 6.0 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 |
a8226f6267c289279ad2ba41a286e6d63203d254ea36fe04a5c58694f19900a7
|
|
| MD5 |
0dfa4ef48ff493301039e4a980c4d1a8
|
|
| BLAKE2b-256 |
3d45ffb9ce96c470d780cb83ab4bd032ee950527468bf280414a44f58ee6c8cb
|