Skip to main content

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.py and updated via CI/CD.
  • Publishing to PyPI is automated using GitHub Actions (.github/workflows/publish.yml).

License

MIT

Project details


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.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eoxelements-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file eoxelements-0.1.2.tar.gz.

File metadata

  • Download URL: eoxelements-0.1.2.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

Hashes for eoxelements-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b164a67ded36584c3e9205d779cfb368c15c4ca558a325cd70695b48fdbcfbf9
MD5 6cfd7b6908925302736f2517dc617e61
BLAKE2b-256 b4777358a01e26a14c57cbf554ce18f785a701947ea253e0a866b5d8e55e5f3f

See more details on using hashes here.

File details

Details for the file eoxelements-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: eoxelements-0.1.2-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

Hashes for eoxelements-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c780d72a45171e4e8388f844e5d597c288908282f26cefd82172669629d8b54
MD5 0facadcc3d08ebd9c05c4f28ef176b2b
BLAKE2b-256 7cd993fcc9e5d95cfdde54c7a9bdc744aed86dfda432c1249b21396c85e1e921

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page