glnova 0.4.0
A Python package for interacting with the GitLab API, offering a simple interface to access repositories, users, groups, issues, and more for automation and data management.
Requires Python: >=3.10

# glnova

[![Python CI](https://github.com/isaac-cf-wong/glnova/actions/workflows/CI.yml/badge.svg)](https://github.com/isaac-cf-wong/glnova/actions/workflows/CI.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/isaac-cf-wong/glnova/main.svg)](https://results.pre-commit.ci/latest/github/isaac-cf-wong/glnova/main)
[![Documentation Status](https://github.com/isaac-cf-wong/glnova/actions/workflows/documentation.yml/badge.svg)](https://isaac-cf-wong.github.io/glnova/)
[![codecov](https://codecov.io/gh/isaac-cf-wong/glnova/graph/badge.svg?token=COF8341N60)](https://codecov.io/gh/isaac-cf-wong/glnova)
[![PyPI Version](https://img.shields.io/pypi/v/glnova)](https://pypi.org/project/glnova/)
[![Python Versions](https://img.shields.io/pypi/pyversions/glnova)](https://pypi.org/project/glnova/)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
[![DOI](https://zenodo.org/badge/1136398942.svg)](https://doi.org/10.5281/zenodo.18292498)

**Note:** This project is still in progress. The promised features are not fully ready yet, and APIs are subject to change.

A Python package for interacting with the GitLab API.
This package provides a simple and intuitive interface to access
GitLab repositories, users, groups, issues, and more,
enabling seamless integration with GitLab instances for automation, data retrieval, and management tasks.

## Features

Full API Coverage: Access to repositories, users, groups, issues, merge requests, and more.

- Easy Authentication: Support for token-based authentication.
- Asynchronous Support: Built with async/await for non-blocking operations.
- Type Hints: Full type annotations for better IDE support and code reliability.
- Comprehensive Documentation: Detailed guides and API reference.
- Command-Line Interface: Interact with the GitLab API directly from the terminal for
  quick, scriptable operations without writing code.

## Installation

We recommend using `uv` to manage virtual environments for installing `glnova`.

If you don't have `uv` installed, you can install it with pip. See the project pages for more details:

- Install via pip: `pip install --upgrade pip && pip install uv`
- Project pages: [uv on PyPI](https://pypi.org/project/uv/) | [uv on GitHub](https://github.com/astral-sh/uv)
- Full documentation and usage guide: [uv docs](https://docs.astral.sh/uv/)

### Requirements

- Python 3.10 or higher
- Operating System: Linux, macOS, or Windows

### Install from PyPI

The recommended way to install `glnova` is from PyPI:

```bash
# Create a virtual environment (recommended with uv)
uv venv --python 3.10
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install glnova
```

#### Optional Dependencies

For development or specific features:

```bash
# Development dependencies (testing, linting, etc.)
uv pip install glnova[dev]

# Documentation dependencies
uv pip install glnova[docs]

# All dependencies
uv pip install glnova[dev,docs]
```

### Install from Source

For the latest development version:

```bash
git clone git@github.com:isaac-cf-wong/glnova.git
cd glnova
# Create a virtual environment (recommended with uv)
uv venv --python 3.10
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install .
```

#### Development Installation

To set up for development:

```bash
git clone git@github.com:isaac-cf-wong/glnova.git
cd glnova

# Create a virtual environment (recommended with uv)
uv venv --python 3.10
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install ".[dev]"

# Install the commitlint dependencies
npm install

# Install pre-commit hooks
pre-commit install
pre-commit install --hook-type commit-msg
```

### Verify Installation

Check that `glnova` is installed correctly:

```bash
glnova --help
```

```bash
python -c "import glnova; print(glnova.__version__)"
```

## Release Schedule

Releases follow a fixed schedule: every Tuesday at 00:00 UTC,
unless an urgent bugfix is required.
This ensures predictable updates while allowing flexibility for critical issues.
Users can view upcoming changes in the draft release on the
[GitHub Releases page](https://github.com/isaac-cf-wong/glnova/releases).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Support

For questions, issues, or contributions, please:

- Check the [documentation](https://isaac-cf-wong.github.io/glnova/)
- Open an issue on [GitHub](https://github.com/isaac-cf-wong/glnova/issues)
- Join our [discussions](https://github.com/isaac-cf-wong/glnova/discussions)

## Changelog

See [Release Notes](https://github.com/isaac-cf-wong/glnova/releases) for version history.