Skip to main content

Process and export Jupyter Notebooks fast (Jupyter not required)

Project description

nbprocess

CI Deploy to GitHub Pages

This will become v2 of nbdev in the near-ish future.

Install

With pip:

pip install nbprocess

With conda:

conda install -c fastai nbprocess

How to use

By default docs are exported for use with Quarto. To install Quarto on Ubuntu, run nbprocess_install. See the Quarto docs for other platforms.

You can run nbprocess_help from the terminal to see a list of all CLI tools:

!nbprocess_help
nbprocess_bump_version          Increment version in `settings.py` by one
nbprocess_clean                 Clean all notebooks in `fname` to avoid merge conflicts
nbprocess_conda                 Create and upload a conda package.
nbprocess_create_config         Creates a new config file for `lib_name` and `user` and saves it.
nbprocess_deploy                Deploy docs to GitHub Pages.
nbprocess_docs                  Generate the docs.
nbprocess_export                Export notebooks in `path` to python modules
nbprocess_filter                A notebook filter for quarto
nbprocess_fix                   Create working notebook from conflicted notebook `nbname`
nbprocess_ghp_deploy            Deploy docs in doc_path from settings.ini to GitHub Pages
nbprocess_help                  Show help for all console scripts
nbprocess_install               Install quarto and the current library.
nbprocess_install_hooks         Install git hooks to clean/trust notebooks automatically
nbprocess_install_quarto        Installs latest quarto on mac or linux.  Prints instructions for Windows.
nbprocess_migrate_directives     Convert all directives in `fname` from v1 to v2.
nbprocess_new                   Create a new project from the current git repo
nbprocess_prepare               Export notebooks to python modules, test code and clean notebooks.
nbprocess_preview               Start a local docs webserver.
nbprocess_pypi                  Create and upload python package to pypi.
nbprocess_quarto                Create quarto docs and README.md
nbprocess_release               Release both conda and pypi packages.
nbprocess_sidebar               Create sidebar.yml
nbprocess_test                  Test in parallel the notebooks matching `fname`, passing along `flags`
nbprocess_trust                 Trust notebooks matching `fname`
nbprocess_update                Propagates any change in the modules matching `fname` to the notebooks that created them

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

nbprocess-0.0.7.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

nbprocess-0.0.7-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file nbprocess-0.0.7.tar.gz.

File metadata

  • Download URL: nbprocess-0.0.7.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for nbprocess-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c8bf60ec2ce2e01ef408efb632f75f8c59ec9edbaa4499884cde54dafc22b214
MD5 cb8a0b6348e3b1455b98e36d6207189b
BLAKE2b-256 5ef6e08f144ff6a16212c96df92ff0b652df0aa3612f454d0b865e3a269845fc

See more details on using hashes here.

File details

Details for the file nbprocess-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: nbprocess-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for nbprocess-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f69aa377da13e6fc8c6f1a6bc487dbf7641c2b89e4209bf469acb59008d7203e
MD5 4f044c0b2034b4fea8288bfe51fa5188
BLAKE2b-256 4afb218263ade63994ef19b941e8df2feee6362942adc8c6e429e206810f6f77

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