https://github.com/ozlerhakan/pelikan
🦩 A Python tool to create comment-free Jupyter notebooks.
https://github.com/ozlerhakan/pelikan
jupyter jupyter-notebook jupyter-notebooks jupyterlab notebook python tool utility
Last synced: about 1 year ago
JSON representation
🦩 A Python tool to create comment-free Jupyter notebooks.
- Host: GitHub
- URL: https://github.com/ozlerhakan/pelikan
- Owner: ozlerhakan
- License: mit
- Created: 2021-10-03T12:50:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T17:22:12.000Z (over 4 years ago)
- Last Synced: 2025-04-12T05:53:16.873Z (about 1 year ago)
- Topics: jupyter, jupyter-notebook, jupyter-notebooks, jupyterlab, notebook, python, tool, utility
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pelikan :flamingo:
Pelikan lets you convert notebooks to comment-free notebooks. In other words, It removes Python block and inline comments from source cells in order to point out only source code.
## How it works
```
$ pip install pelikan
$ pelikan --help
usage: pelikan [-h] --notebook NOTEBOOK --output OUTPUT
optional arguments:
-h, --help show this help message and exit
--notebook NOTEBOOK, -n NOTEBOOK
The notebook file we want to remove comments from
--output OUTPUT, -o OUTPUT
The name of the newly created comment-free notebook.
$ pelikan -n notebook_file.ipynb -o voila
$ ls
notebook_file.ipynb voila.ipynb
```
## LICENSE
MIT