Metadata-Version: 2.1
Name: django-drf-utils
Version: 2.10.0
Summary: Utilities for commonly used functionality in django and django-rest-framework among BIWG projects.
Home-page: https://gitlab.com/biomedit/django-drf-utils
Author: Robin Engler, Jarosław Surkont, Gerhard Bräunlich, Christian Ribeaud, François Martin, Simone Guzzi, Swen Vermeul
Author-email: robin.engler@sib.swiss, jaroslaw.surkont@unibas.ch, gerhard.braeunlich@id.ethz.ch, christian.ribeaud@karakun.com, francois.martin@karakun.com, simone.guzzi@sib.swiss, swen@ethz.ch
License: LGPL3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

[![pipeline status](https://gitlab.com/biomedit/django-drf-utils/badges/master/pipeline.svg)](https://gitlab.com/biomedit/django-drf-utils/-/commits/master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![python version](https://img.shields.io/pypi/pyversions/django-drf-utils.svg)](https://pypi.org/project/django-drf-utils)
[![license](https://img.shields.io/badge/License-LGPLv3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![latest version](https://img.shields.io/pypi/v/django-drf-utils.svg)](https://pypi.org/project/django-drf-utils)

# django-drf-utils

## Releases

This project follows the [semantic versioning specification](https://semver.org/) for its releases.

## Development

### Requirements

- Python >=3.8
- Django >=3.2
- django-rest-framework >=3.12

### Setup

- Create and activate a python3 venv.
- Install the library in the editable mode `pip install -e .[test,stubs]`
- Install dev requirements `pip install -r requirements-dev.txt`.
- Install git hooks to automatically format code using black with `pre-commit install`

## Installation

### From git in `requirements.txt`

To install this package from this git repository, add the `django-drf-utils` package to the `requirements.txt` file.
