Metadata-Version: 2.4
Name: compas_invocations2
Version: 0.4.0
Summary: A collection of reusable pyinvoke tasks.
Author-email: Li Chen <li.chen@arch.ethz.ch>
License: MIT License
        
        ETH Zurich
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://compas-dev.github.io/compas_invocations2
Project-URL: Documentation, https://compas-dev.github.io/compas_invocations2
Project-URL: Repository, https://github.com/compas-dev/compas_invocations2.git
Project-URL: Changelog, https://github.com/compas-dev/compas_invocations2/blob/main/CHANGELOG.md
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: attrs>=17.4; extra == "dev"
Requires-Dist: black>=22.12.0; extra == "dev"
Requires-Dist: bump-my-version; extra == "dev"
Requires-Dist: compas_notebook; extra == "dev"
Requires-Dist: invoke>=0.14; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: sphinx_compas2_theme; extra == "dev"
Requires-Dist: twine; extra == "dev"
Requires-Dist: wheel; extra == "dev"
Requires-Dist: tomlkit; extra == "dev"
Dynamic: license-file

# compas_invocations2

[![pypi](https://img.shields.io/pypi/v/compas_invocations2.svg)](https://pypi.org/project/compas-invocations2/)

A collection of reusable pyinvoke tasks

## Usage

Import and add tasks to a collection in your project's `tasks.py` file:

    import os
    from invoke import Collection
    from compas_invocations2 import style

    ns = Collection(style.check, style.lint)
    ns.configure(
        {
            "base_folder": os.path.dirname(__file__),
        }
    )

For a more complete example, check the [`tasks.py`](tasks.py) of this project.
