Skip to main content

Generating model cards for models in Jupyter Notebook.

Project description

jlmc

Generate documentation cards for code in JupyterLab.

Requirements

  • JupyterLab >= 3.0

Installation

pip install jlmodelcards

Development Installation

There are two versions of this extension, each supporting v2 and v3 of JupyterLab.

Create a conda environment if you do not have an environment already.

conda create -n [environment-name] --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab cookiecutter nodejs git

Activate the environment.

conda activate [environment-name]

Since there is only one python dependeny, there is no environment.yml file. You can install the jupyterlab package.

# for JupyterLab 3.x 
conda install -c conda-forge jupyterlab

If you want to install the previou version of Jupyterlab.

# for JupyterLab 2.x 
conda install -c conda-forge jupyterlab=2

Once you install jupyterlab, you can access jlpm which is JupyterLab's pinned version of yarn.

# Install dependencies
jlpm install

You can install the extension without building as well.

jupyter labextension install . --no-build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

Once you make any changes to the code, you can rebuild the extension.

jlpm run build

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

jlmodelcards-0.0.14.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

jlmodelcards-0.0.14-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file jlmodelcards-0.0.14.tar.gz.

File metadata

  • Download URL: jlmodelcards-0.0.14.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for jlmodelcards-0.0.14.tar.gz
Algorithm Hash digest
SHA256 d3652efb00c72cf7ecc97846f40c88a7a15affa55ce8ed4980d572734d833e78
MD5 d5a29e6aace3fdbc03507064f72ccf0a
BLAKE2b-256 0890f3ecb3bcf3718742872a731544025ab666103d89ffcba434ad30e834afe5

See more details on using hashes here.

File details

Details for the file jlmodelcards-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: jlmodelcards-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for jlmodelcards-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 be5a7e14b59e40805cc491ae08453aca527007662576a2a646b3b4a226d7d0a5
MD5 160be6fb8ed0c504662c4b73e87de752
BLAKE2b-256 482e16013c55ce4e8be0fc8ebdbba02552d06151a1bf821bdc5f6b07719bb3ba

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