Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-actions/python3-nbctl
将ipynb文件转化为hugo markdown文件。Convert ipynb to hugo markdown files
https://github.com/x-actions/python3-nbctl
github-actions hugo jupyter-notebook python3
Last synced: 11 days ago
JSON representation
将ipynb文件转化为hugo markdown文件。Convert ipynb to hugo markdown files
- Host: GitHub
- URL: https://github.com/x-actions/python3-nbctl
- Owner: x-actions
- License: apache-2.0
- Created: 2023-05-07T13:58:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-24T08:46:10.000Z (over 1 year ago)
- Last Synced: 2024-10-11T18:44:42.879Z (about 1 month ago)
- Topics: github-actions, hugo, jupyter-notebook, python3
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# python3-nbctl
将ipynb文件转化为markdown文件/convert jupyter *.ipynb file to markdown files
[![PyPI-python3-nbctl](https://img.shields.io/pypi/v/python3-nbctl.svg?maxAge=3600)](https://pypi.org/project/python3-nbctl/)
Github Actions for [Container ipynb to markdown](https://github.com/marketplace/actions/nbctl)
## How to Use by Github Actions
```
- name: convert jupyter *.ipynb file to markdown
uses: x-actions/python3-nbctl@v1
with:
script: >
find -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
```