Skip to main content

A Jupyter Lab extension for itables

This extension exposes the jquery and datatables.net libraries and css as static files in Jupyter Lab.

The purpose of doing this is to allow the itables package to have an offline mode in Jupyter Lab.

Install it in the Python environment you use to launch Jupyter Lab with:

pip install jupyterlab-itables

Then relaunch Jupyter Lab with

jupyter lab

Assuming that Jupyter Lab is running on port 8888, you will be able to access the static files at e.g.

  • http://localhost:8888/static/itables/jquery/dist/jquery.min.js
  • http://localhost:8888/static/itables/datatables.net-dt/css/jquery.dataTables.min.css
  • http://localhost:8888/static/itables/datatables.net/js/jquery.dataTables.mjs

How to develop this extension

Assuming that you have conda and mamba, you can create a minimal Jupyter Lab environment with

mamba env create --file environment.yml

or update it with

mamba env update --file environment.yml

Activate that environment with

conda activate jupyterlab-itables-dev

Then build the extension in development mode with

pip install -ve .

In development mode the extension needs to be enabled manually with:

jupyter server extension enable --py jupyterlab_itables

How to release a new version manually

Clean the project files with

rm -rf node_modules jupyterlab_itables/static dist build package-lock.json

Upgrade the version number in setup.py, then:

python setup.py sdist bdist_wheel

Check the size and the contents of the .tar.gz file in the dist folder, and then upload it to pypi with

twine upload dist/jupyterlab-itables-xxx.tar.gz 

Metadata

Release files for jupyterlab-itables 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-itables 0.1.0
File Size Uploaded Provenance Actions
jupyterlab-itables-0.1.0.tar.gz 721.1 kB Without provenance Details for jupyterlab-itables-0.1.0.tar.gz

Release files / jupyterlab-itables-0.1.0.tar.gz

Download URL jupyterlab-itables-0.1.0.tar.gz
Size 721.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c62e93f92db9dca6344bbbe05eeda92f7157ca567b68be84eb82db4d5231c9ff
BLAKE2b-256 checksum
How to use checksums
684e0e0dd5cf974fc794b13cbbf421c496dbe24706caf7e0b5e31b9d945c5199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

Security for jupyterlab-itables 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page