A CLI tool to resolve git conflicts and remove metadata in notebooks.
Project description
databooks
databooks
is a package to ease the collaboration between data scientists using
Jupyter notebooks, by reducing the number of git conflicts between
different notebooks and resolution of git conflicts when encountered.
The key features include:
- CLI tool
- Clear notebook metadata
- Resolve git conflicts
- Simple to use
- Simple API for using modelling and comparing notebooks using Pydantic
Requirements
databooks
is built on top of:
Installation
pip install databooks
Usage
Clear metadata
Simply specify the paths for notebook files to remove metadata. By doing so, we can already avoid many of the conflicts.
$ databooks meta [OPTIONS] PATHS...
Fix git conflicts for notebooks
Specify the paths for notebook files with conflicts to be fixed. Then, databooks
finds
the source notebooks that caused the conflicts and compares them (so no JSON manipulation!)
$ databooks fix [OPTIONS] PATHS...
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for databooks-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fc1dbd7a8afced9d330c6600986f129f3c22f85690634114ce4b5c5cc0df18 |
|
MD5 | 504468259035c8c3a3d54f1502c8df16 |
|
BLAKE2b-256 | 6e8a32fc4ec10f304ed35010894ee07001364520a3833838be3cfabbc4834bce |