Skip to main content

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.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.2.12.tar.gz (4.3 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.2.12-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for eoxelements-0.2.12.tar.gz
Algorithm Hash digest
SHA256 4fb19417537ae2151e46d89629cb9ee7d68d68ac8d42ad1e1adb3d21c68453a1
MD5 bf75a5065e1038cf2d9313f88ea3be72
BLAKE2b-256 4b2dd74b4af9e700025f318b055385666a8de84fa4945d70847166dbdb2c90c8

See more details on using hashes here.

File details

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

File metadata

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

Hashes for eoxelements-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e6e8ea807aeff455d10a2a766e2b08addd855a833cdb537f0c14fb4928997a8b
MD5 5906d1b4b051b70d9f61b2c6fffbf506
BLAKE2b-256 b537dc5280639553a7c2a70ebee730c51f98728fa1391c3a5f46ca479038d01d

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