Skip to main content

elara 🌙

elara is a CLI tool to convert Jupyter notebooks into pretty HTML documents.

Named after one of Jupiter's moons, elara's motive is to render beautiful HTML markups, with support for a number of themes. It has multiple built-in themes, and supports VSCode themes out of the box.

elara aims to support only nbformat v4 (you are most likely already using it).

Installation

elara is available on PyPI.

recommended way to install (isolated dependencies):

pipx install elarapy

using pip on linux/mac:

pip3 install elarapy

using pip on windows:

pip install elarapy

Usage:

$ elara [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • list-themes: Lists all built-in themes.
  • convert: Converts multiple jupyter notebooks into...

elara list-themes

Lists all built-in themes.

Usage:

$ elara list-themes [OPTIONS]

Options:

  • --help: Show this message and exit.

elara convert

Converts multiple jupyter notebooks into HTML documents. Any options passed, will be applied to all the jupyter notebooks.

Font options can be prefixed with gf: to use Google Fonts directly.

Usage:

$ elara convert [OPTIONS] FILES...

Arguments:

  • FILES...: [required]

Options:

  • --theme TEXT: The theme for code blocks. [default: vs]
  • --font TEXT: Font for overall document. [default: sans-serif]
  • --code-font TEXT: Font for code and output. [default: monospace]
  • --help: Show this message and exit.

Examples:

  • Using a built in theme with pre-installed fonts:

     elara convert ./file.ipynb --theme "nord" --font "Arial" --code-font "Consolas"
    
  • Using Google fonts

     elara convert ./file.ipynb --theme "gruvbox" --font "gf:Geist" --code-font "gf:Geist Mono"
    
  • Using a VSCode theme

     elara convert ./file.ipynb --theme path/to/theme.json 
    

Metadata

Release files for elarapy 0.1.1

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

Source distribution (sdist)

Source distribution for elarapy 0.1.1
File Size Uploaded Provenance
elarapy-0.1.1.tar.gz 811.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for elarapy 0.1.1
File Interpreter ABI Platform
elarapy-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / elarapy-0.1.1.tar.gz

Download URL elarapy-0.1.1.tar.gz
Size 811.3 kB
Tags Source
SHA-256 checksum
How to use checksums
be959789214380cd94c38bd4189a24f9e90185737d17ea1b4b66d3daffcbd121
BLAKE2b-256 checksum
How to use checksums
d07f98de8c0a6cf4caf9b4ab970dc95888bfcd0c9c376e4989083e79c6fea6a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-300.fc42.x86_64

Release files / elarapy-0.1.1-py3-none-any.whl

Download URL elarapy-0.1.1-py3-none-any.whl
Size 800.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c49342ad2283d4ed20ac9bf4725c4934f17f7c83bae5644b907a6453be1b585
BLAKE2b-256 checksum
How to use checksums
4943155c2ed323a021605b30fb84d778d9dbcc1113a409bd52c45f60b07a9ade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-300.fc42.x86_64

Security for elarapy 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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