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.13.dev0.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.13.dev0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file eoxelements-0.2.13.dev0.tar.gz.

File metadata

  • Download URL: eoxelements-0.2.13.dev0.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.13.dev0.tar.gz
Algorithm Hash digest
SHA256 605b44a5d36b4767a7fd9baa50d1b3eb9eb95db750a93b2ab3dd00ba0c92fef0
MD5 0a5a6a9d384b5e85e19bc2862dae7b1d
BLAKE2b-256 ffbacb1ba4401251e567336d45031677659019157a451a372c0aeab474d2124d

See more details on using hashes here.

File details

Details for the file eoxelements-0.2.13.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for eoxelements-0.2.13.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cd7dfb0fee186bf6b55070672d3cd6b6eca003129120509d6f29a32633da8a
MD5 45c55c7b20c45a1dd0ed9be64e4be45e
BLAKE2b-256 4b6e34237f5a483d6e8263bc9911a30d912501a34ada179ca3f84626d22f43d2

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