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.0.tar.gz (3.4 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.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoxelements-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 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.0.tar.gz
Algorithm Hash digest
SHA256 82538ca7aef5c0ceb456d9f45504eea3ea6dd13085b8c8ade32c3d4127a075e2
MD5 82b022d05a3c282923deff5284b7accb
BLAKE2b-256 2918ce9d7741f94f19db533c84fd456b371dfa426865c0ed2ae2a376543593af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eoxelements-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9329302bef4e6ab749516fe4819448a3af045a7b55bb230b42bb31bae6fa6cdc
MD5 ee7c218e5e30583980329c49bc97d936
BLAKE2b-256 c15656d48583b82f45adefe8c0da639d8aaab8fdd9053f6d511414e0b0811127

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