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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nbenumerate-0.2.1.tar.gz.

File metadata

  • Download URL: nbenumerate-0.2.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.9 Linux/5.15.0-1014-azure

File hashes

Hashes for nbenumerate-0.2.1.tar.gz
Algorithm Hash digest
SHA256 be5d82f07e35c392c0df19c448c25f758bfe87a3696bc02b512a5161e525f63c
MD5 21f7ff81ca50d262ebabb729436e409f
BLAKE2b-256 842b9a4074d3510dbb74751f35d3664e94b6909d1428170dcc56001c3e550149

See more details on using hashes here.

Provenance

File details

Details for the file nbenumerate-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: nbenumerate-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.9 Linux/5.15.0-1014-azure

File hashes

Hashes for nbenumerate-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 873f7bbf448d9b3c60a6ef3696c56c44f534f1976ec189d334565d804b44c29e
MD5 e0ccf534d30c3fc0dfda419b434d9da3
BLAKE2b-256 a8ca2b761b1dd47ffe8d4abcce4168bd5419bffafb3a3501d98b8f6abbfae263

See more details on using hashes here.

Provenance

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