Skip to main content

Automatically enumerate the markdown titles in jupyter notebooks

Project description

nbenumerate

PyPI version Python version Code Quality Test Release Pipeline License: MIT pre-commit

Automatically enumerate the markdown titles in jupyter notebooks.

Screenshot

Installing nbenumerate

Install nbenumerate with pip:

pip install nbenumerate

Using nbenumerate

To run on one or more notebooks:

nbenumerate path/to/notebook.ipynb

Precommit Hook

Add this section to your pre-commit-config.yaml so that the nbenumerate script is executed before each commit with pre-commit.

- repo: https://github.com/AnH0ang/nbenumerate
  rev: 0.2.1
  hooks:
    - id: nbenumerate
      name: nbenumerate

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

nbenumerate-0.2.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

nbenumerate-0.2.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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