Metadata-Version: 2.4
Name: jupyterlab_eigenpal_docx_viewer
Version: 0.1.0
Summary: Preview .docx files directly in JupyterLab.
Project-URL: Homepage, https://gitlab.com/joaommpalmeiro/jupyterlab-eigenpal-docx-viewer
Project-URL: Bug Tracker, https://gitlab.com/joaommpalmeiro/jupyterlab-eigenpal-docx-viewer/-/issues
Project-URL: Repository, https://gitlab.com/joaommpalmeiro/jupyterlab-eigenpal-docx-viewer
Author-email: João Palmeiro <joaopalmeiro@proton.me>
License-Expression: MIT
License-File: LICENSE
Keywords: jupyter,jupyterlab,jupyterlab-extension
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Framework :: Jupyter :: JupyterLab :: 4
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Mime Renderers
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# jupyterlab-eigenpal-docx-viewer

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Preview .docx files directly in JupyterLab.

## Development

Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and [fnm](https://github.com/Schniz/fnm?tab=readme-ov-file#installation) (if necessary):

```bash
curl -LsSf https://astral.sh/uv/0.8.12/install.sh | sh
```

```bash
uv python install
```

```bash
fnm install && fnm use && node --version && npm --version
```

```bash
uv run python -c "from jupyterlab_eigenpal_docx_viewer import __version__; print(__version__)"
```

```bash
source .venv/bin/activate
```

```bash
npm run check:exts
```

```bash
npm run watch
```

In a separate terminal window:

```bash
source .venv/bin/activate
```

```bash
jupyter lab
```

```bash
ruff check --fix
```

```bash
ruff format
```

```bash
deactivate
```

## Deployment

```bash
npm version patch
```

```bash
npm version minor
```

```bash
npm version major
```

```bash
uv build
```

```bash
echo "$(npm pkg get version | tr -d \")" | pbcopy
```

- Commit and push changes.
- Create a tag on [GitHub Desktop](https://github.blog/2020-05-12-create-and-push-tags-in-the-latest-github-desktop-2-5-release/).
- Check [GitLab](https://gitlab.com/joaommpalmeiro/jupyterlab-eigenpal-docx-viewer/-/tags).

```bash
uv publish
```

- Check [PyPI](https://pypi.org/project/jupyterlab-eigenpal-docx-viewer/).
