Skip to main content

A hatch plugin to help build Jupyter packages

Project description

hatch-jupyter-builder

PyPI - Version PyPI - Python Version Hatch project


This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages.

Table of Contents

Documentation

The full documenation is available on Read The Docs.

Installation

pip install hatch-jupyter-builder

Local Development

To test this package locally with another package, use the following:

[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder@file://<path_to_this_repo>"]

Migration

This library can be used to migrate from a setuptools based package to use hatch_jupyter_builder. It will attempt to migrate jupyter-packaging config as well, if present.

To migrate, run the following:

python -m hatch_jupyter_builder.migrate .

The migration script will do most of the migration automatically, but will prompt you for anything it cannot do itself.

To compare dist files with a reference checkout, run the following:

python -m hatch_jupyter_builder.compare_migration <source_dir> <target_dir> sdist

The migration scripts can also be used without installation, using pipx, e.g.:

pipx hatch_jupyter_builder migrate .

Use wheel to compare wheel file contents.

See the documentation for more information on migration for more details.

License

hatch-jupyter-builder is distributed under the terms of the MIT license.

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

hatch_jupyter_builder-0.6.0.tar.gz (52.1 kB view details)

Uploaded Source

Built Distribution

hatch_jupyter_builder-0.6.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file hatch_jupyter_builder-0.6.0.tar.gz.

File metadata

  • Download URL: hatch_jupyter_builder-0.6.0.tar.gz
  • Upload date:
  • Size: 52.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for hatch_jupyter_builder-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7d3c96a666d254237b88d780f15cb130e07e9dc8215306ffd4c3d0a3050a7748
MD5 91456e626daeaa4c2f56ad0f65f388c4
BLAKE2b-256 42ae536dd2922da4ac2bd61cc236f3c2f02cc204451bee0c968ee7fe7f8dad58

See more details on using hashes here.

File details

Details for the file hatch_jupyter_builder-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_jupyter_builder-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baf3384420f7e869a0af4c27b5aa4627f508f3357d31dcc889dd6a38fd7e4fbc
MD5 87f9385730ee48f568ae3bf9a7d94ace
BLAKE2b-256 2a56fbdc07f2bdc6c46f7045864f99bcb32610e85e012136e5392c1a2e4dd821

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page