Metadata-Version: 2.1
Name: delfino
Version: 0.7.1
Summary: A collection of command line helper scripts wrapping tools used during Python development.
Home-page: https://github.com/radeklat/delfino
License: MIT
Author: Radek Lát
Author-email: radek.lat@gmail.com
Requires-Python: >=3.7.0,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: all
Provides-Extra: format
Provides-Extra: lint
Provides-Extra: test
Provides-Extra: typecheck
Requires-Dist: black; extra == "all" or extra == "format"
Requires-Dist: click (>=8.0.3,<9.0.0)
Requires-Dist: coverage; extra == "all" or extra == "test"
Requires-Dist: isort; extra == "all" or extra == "format"
Requires-Dist: mypy; extra == "all" or extra == "typecheck"
Requires-Dist: pre-commit; extra == "all" or extra == "format"
Requires-Dist: pycodestyle; extra == "all" or extra == "lint"
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
Requires-Dist: pydocstyle; extra == "all" or extra == "lint"
Requires-Dist: pylint; extra == "all" or extra == "lint"
Requires-Dist: pytest-cov; extra == "all" or extra == "test"
Requires-Dist: pytest-dotenv; extra == "all" or extra == "test"
Requires-Dist: pytest-mock; extra == "all" or extra == "test"
Requires-Dist: pytest; extra == "all" or extra == "test"
Requires-Dist: toml (>=0.10.2,<0.11.0)
Description-Content-Type: text/markdown

<h1 align="center" style="border-bottom: none;">🧰&nbsp;&nbsp;Delfino&nbsp;&nbsp;🧰</h1>
<h3 align="center">A collection of command line helper scripts wrapping tools used during Python development.</h3>

<p align="center">
    <a href="https://app.circleci.com/pipelines/github/radeklat/delfino?branch=main">
        <img alt="CircleCI" src="https://img.shields.io/circleci/build/github/radeklat/delfino">
    </a>
    <a href="https://app.codecov.io/gh/radeklat/delfino/">
        <img alt="Codecov" src="https://img.shields.io/codecov/c/github/radeklat/delfino">
    </a>
    <a href="https://github.com/radeklat/delfino/tags">
        <img alt="GitHub tag (latest SemVer)" src="https://img.shields.io/github/tag/radeklat/delfino">
    </a>
    <img alt="Maintenance" src="https://img.shields.io/maintenance/yes/2021">
    <a href="https://github.com/radeklat/delfino/commits/main">
        <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/radeklat/delfino">
    </a>
</p>

<!--
    How to generate TOC from PyCharm:
    https://github.com/vsch/idea-multimarkdown/wiki/Table-of-Contents-Extension
-->
[TOC levels=1,2 markdown formatted bullet hierarchy]: # "Table of content"

# Table of content
- [Installation](#installation)
- [Usage](#usage)

# Installation

TODO

# Usage

TODO

<!--

## Minimal plugin

```python
import click

from delfino.contexts import pass_app_context, AppContext


@click.command()
@pass_app_context
def plugin_test(app_context: AppContext):
    """Tests commands placed in the `commands` folder are loaded."""
    print(app_context.py_project_toml.tool.delfino.plugins)
```

 -->

<!--

# Install completions

Based on [Click documentation](https://click.palletsprojects.com/en/8.0.x/shell-completion/?highlight=completions#enabling-completion) and Invoke implementation of dynamic completion:

```bash
# Invoke tab-completion script to be sourced with Bash shell.
# Known to work on Bash 3.x, untested on 4.x.

_complete_invoke() {
    local candidates

    # COMP_WORDS contains the entire command string up til now (including
    # program name).
    # We hand it to Invoke so it can figure out the current context: spit back
    # core options, task names, the current task's options, or some combo.
    candidates=`invoke --complete -- ${COMP_WORDS[*]}`

    # `compgen -W` takes list of valid options & a partial word & spits back
    # possible matches. Necessary for any partial word completions (vs
    # completions performed when no partial words are present).
    #
    # $2 is the current word or token being tabbed on, either empty string or a
    # partial word, and thus wants to be compgen'd to arrive at some subset of
    # our candidate list which actually matches.
    #
    # COMPREPLY is the list of valid completions handed back to `complete`.
    COMPREPLY=( $(compgen -W "${candidates}" -- $2) )
}


# Tell shell builtin to use the above for completing our invocations.
# * -F: use given function name to generate completions.
# * -o default: when function generates no results, use filenames.
# * positional args: program names to complete for.
complete -F _complete_invoke -o default invoke inv
```

Put into `~/.bashrc`:

```bash
_complete_delfino() {
    eval "$(_DELFINO_COMPLETE=bash_source delfino)";
}
complete -F _complete_delfino -o default invoke delfino
```

-->
