{"repo":"datarootsio/databooks","free":true,"listed":false,"github":"https://github.com/datarootsio/databooks","clone":"git clone https://github.com/datarootsio/databooks.git","description":"A CLI tool to reduce the friction between data scientists by reducing git conflicts removing notebook metadata and gracefully resolving git conflicts.","language":"Python","stars":117,"topics":["cli","jupyter-notebook","helper-tool","pydantic","typer","rich","git"],"license":"MIT","category":"cli-tools","readme_excerpt":"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: - Python 3.7+ - Typer - Rich - Pydantic - GitPython - Tomli Installation Usage Clear metadata Simply specify the paths for notebook files to remove metadata. By doing so, we can already avoid many of the conflicts. 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!) Assert notebook metadata Specify paths of notebooks to be checked, an expression or recipe of what you'd like to enforce. databooks will run your checks and raise errors if any notebook does not comply with the desired metadata values. This advanced feature allows users to enforce cell tags, sequential cell execution, maximum number of cells, among many other things! Check out our docs for more! Show rich notebook Instead of launching Jupyter and opening the browser to inspect notebooks, have a quick look at them in the terminal. All you need is to specify the path(s) of the notebook(s). Show rich notebook diffs Similar to git diff,","default_branch":null,"files":null,"tree":[],"storefront":"/r/datarootsio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/datarootsio/databooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}