jupyterblack
nbQA
jupyterblack | nbQA | |
---|---|---|
2 | 2 | |
13 | 973 | |
- | 2.6% | |
5.8 | 7.7 | |
4 months ago | 13 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jupyterblack
-
Code formatting tool for Jupyter Notebook and JupyterLab
I know bioinformaticians use Python heavily, especially in the Anaconda environment. I wrote a tool called jupyterblack that black-formats code cells in a Jupyter Notebook and/or JupyterLab file.
-
Niftiness of open source collaborations
I guess the takeaways are 1) check out jblack and its capabilities if you're interested and 2) engaging in open source collaboration is phenomenal and educational. I've been meaning to study CI using GitHub Actions for some time and now I have a place to look for references :)
nbQA
- Jupyter lab code formatter?
-
nbdev formating and linting
- repo: https://github.com/nbQA-dev/nbQA rev: 1.5.3 hooks: - id: nbqa-mypy args: ["--ignore-missing-imports", "--check-untyped-defs"] # pass args to mypy exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting additional_dependencies: ["mypy", "types-toml", "types-requests"] # install additional dependencies - id: nbqa-black exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting - id: nbqa-isort exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting
What are some alternatives?
jupyter-docx-bundler - Jupyter bundler extension to export notebook as a docx file
conventional-pre-commit - A pre-commit hook that checks commit messages for Conventional Commits formatting
readsql - Convert SQL to most human readable format
cookiecutter-poetry-config-management - Cookiecutter python template to get you started without wasting any time setting up virtual environments, vscode python paths, writing settings management code, setting up git pre-commit hooks and much more.
git-limiter - ⏱️ Tool to stop you from pushing huge diffs
Poetry - Python packaging and dependency management made easy
pre-commit-hook-yamlfmt - YAML formatter for http://pre-commit.com
vint - Fast and Highly Extensible Vim script Language Lint implemented in Python.
pynalyzer - Meta code analysis tool, bundling together multiple code analysis libs
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
nbdev - Create delightful software with Jupyter Notebooks
black - The uncompromising Python code formatter