x-actions / python3-nbctl

将ipynb文件转化为hugo markdown文件。Convert ipynb to hugo markdown files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python3-nbctl

将ipynb文件转化为markdown文件/convert jupyter *.ipynb file to markdown files

PyPI-python3-nbctl

Github Actions for Container ipynb to markdown

How to Use by Github Actions

      - name: convert jupyter *.ipynb file to markdown
        uses: x-actions/python3-nbctl@v1
        with:
          script: >
            find <path> -type f -name "*.ipynb" | grep -v ".ipynb_checkpoints" | xargs -I{} nbctl --input {} --force --debug

Dev and Test

  • local run
# install
pip3 install -r requirements.txt
python3 setup.py install

# or
pip3 install python3-nbctl
  • help
nbctl --help

About

将ipynb文件转化为hugo markdown文件。Convert ipynb to hugo markdown files

License:Apache License 2.0


Languages

Language:Python 87.3%Language:Dockerfile 10.0%Language:Shell 2.7%