Metadata-Version: 2.4
Name: unicef-security
Version: 1.9.1
Summary: Provides Basic UNICEF User model and integration with Azure
Project-URL: Homepage, https://github.com/unicef/unicef-security
Author-email: UNICEF <rapidpro@unicef.org>
License-Expression: Apache-2.0 OR MIT
License-File: LICENSE
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: celery
Requires-Dist: cryptography
Requires-Dist: django
Requires-Dist: django-admin-extra-buttons
Requires-Dist: django-constance
Requires-Dist: django-countries
Requires-Dist: django-picklefield
Requires-Dist: pyjwt
Requires-Dist: requests
Requires-Dist: social-auth-app-django
Description-Content-Type: text/markdown

# UNICEF-Security

[![Coverage Development](https://codecov.io/gh/unicef/unicef-security/branch/develop/graph/badge.svg?token=sytM1cd8Zj)](https://codecov.io/gh/unicef/unicef-security)
[![Coverage Stable](https://codecov.io/gh/unicef/unicef-security/branch/master/graph/badge.svg?token=sytM1cd8Zj)](https://codecov.io/gh/unicef/unicef-security)
[![Issue tracker](https://img.shields.io/github/issues/unicef/unicef-security.svg)](https://github.com/unicef/unicef-security/issues)

## Installation

```bash
pip install unicef-security
```

## Setup

Add `unicef_security` to `INSTALLED_APPS` in settings:

```python
INSTALLED_APPS = [
    'admin_extra_urls',
    'unicef_security',
]
```

## Contributing

### Environment Setup

To configure the development environment:

```bash
$ python manage.py upgrade --all
```

### Coding Standards

To run checks on the code to ensure code is in compliance:

```bash
$ ruff check
$ ruff format
```

### Testing

Testing is important and tests are located in `tests/` directory and can be run with:

```bash
$ uv run pytest test
```

Coverage report is viewable in `build/coverage` directory, and can be generated with:

```bash
$ pytest --cov=unicef_security --cov-report=html
```
