Metadata-Version: 2.4
Name: configure-nb
Version: 0.1.0
Summary: Generate complete configuration files for a Neurobagel deployment.
Author: Neurobagel Developers
Maintainer-email: Sebastian Urchs <sebastian.urchs@mcgill.ca>, Alyssa Dai <alyssa.dai@mcgill.ca>, Arman Jahanpour <arman.jahanpour@mcgill.ca>
License: MIT License
        
        Copyright (c) 2022 - Neurobagel Project, Origami Lab, McGill University.
        
        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.
License-File: LICENSE
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: pydantic
Requires-Dist: typer
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: python-dotenv; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: python-dotenv; extra == 'test'
Description-Content-Type: text/markdown

<div align="center">

# `configure-nb`

[![Main branch checks status](https://img.shields.io/github/check-runs/neurobagel/configure-nb/main?style=flat-square&logo=github)](https://github.com/neurobagel/configure-nb/actions?query=branch:main)
[![Tests status](https://img.shields.io/github/actions/workflow/status/neurobagel/configure-nb/test.yaml?branch=main&style=flat-square&logo=github&label=tests)](https://github.com/neurobagel/configure-nb/actions/workflows/test.yaml)
[![Codecov](https://img.shields.io/codecov/c/github/neurobagel/configure-nb?token=Vn1do0lrCl&style=flat-square&logo=codecov&link=https%3A%2F%2Fcodecov.io%2Fgh%2Fneurobagel%2Fconfigure-nb)](https://app.codecov.io/gh/neurobagel/configure-nb)
[![Python versions static](https://img.shields.io/badge/python-3.10--3.14-blue?style=flat-square&logo=python)](https://www.python.org)
[![License](https://img.shields.io/github/license/neurobagel/configure-nb?style=flat-square&color=purple&link=LICENSE)](LICENSE)

</div>

Configuration wizard for a Neurobagel deployment.

## Development environment

### Setting up a local development environment
1. Set up a Python environment (using a tool such as [venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments)).

2. Clone the repository

    ```bash
    git clone https://github.com/neurobagel/configure-nb.git
    cd configure-nb
    ```

3. Install the CLI and all development dependencies in editable mode:

    ```bash
    pip install -e ".[dev]"
    ```

Confirm that everything works by running the tests: 
`pytest`

### Setting up code formatting and linting (recommended)

[pre-commit](https://pre-commit.com/) is configured in the development environment for this repository, 
and can be set up to automatically run a number of code linters and formatters on any commit you make 
according to the consistent code style set for this project.

Inside the repo, run the following to install the configured pre-commit "hooks":
```bash
pre-commit install
```

pre-commit will now run automatically whenever you run `git commit`.
