semvec/pypi-packages huggingface dataset:
django-mfa-2025 1.0
A Django deployment package for all hosting types.

django-mfa-2025
===============

Django-mfa(Multi-factor Authentication) is a simple django package to add extra layer of security to your web application. Django-mfa is providing easiest integration to enable Multi factor authentication to your django applications. Inspired by the user experience of Google's Authentication, django-mfa allows users to authenticate through text message(SMS) or by using token generator app like google authenticator. 

We welcome your feedback on this package. If you run into problems, please raise an issue or contribute to the project by forking the repository and sending some pull requests. 

This Package is compatible with the following Django versions: 4.2 and above. Documentation is available at readthedocs(http://django-mfa.readthedocs.io/en/latest/)

This package is a fork of django-mfa 2.1.0 and is compatible with Django 4.2 and above.

Quick start
-----------

Installation
~~~~~~~~~~~~

The Git repository can be cloned with this command::

    git clone https://github.com/nunombispo/django-mfa-2025

The ``django_mfa_2025`` package, included in the distribution, should be
placed on the ``PYTHONPATH``.

Otherwise you can just ``easy_install -Z django-mfa-2025``
or ``pip install django-mfa-2025``.

Settings
~~~~~~~~

1. Add app name in settings.py::

    INSTALLED_APPS = [
       '..................',
       'django_mfa_2025',
       '..................'
    ]

2. Add 'django_mfa_2025.middleware.MfaMiddleware' to your project middlewares::

    MIDDLEWARE = [
       '....................................',
       'django_mfa_2025.middleware.MfaMiddleware',
       '....................................',
    ]

3. Optional issuer name.  This name will be shown in the Authenticator App along with the username

   MFA_ISSUER_NAME = "Cool Django App"

4. Optionally enable remember-my-browser.  If enabled, the browser will be trusted for specified number of days after the user enters the code once::

    MFA_REMEMBER_MY_BROWSER = True
    MFA_REMEMBER_DAYS = 90

Urls
~~~~

Add the following to your root urls.py file.

.. code:: django

    urlpatterns = [
        ...

        re_path(r'^settings/', include('django_mfa_2025.urls')),
    ]


Done. With these settings you have now, you will get the MFA features.

We welcome your feedback and support, raise `github ticket`_ if you want to report a bug.

.. _github ticket: https://github.com/nunombispo/django-mfa-2025/issues
aa-alumni 1.0.0b1
Integration with Alliance Auths State System
Requires Python: >=3.10
Keywords: allianceauth, eveonline

# Alliance Auth - Alumni

## Features

- Integration with Alliance Auth's State System, creates and maintains an Alumni State for past members of an Alliance and/or Corporation.

## Installation

### Step 1 - Prepare Auth

Remove/Promote any state with a priority of `1`, Alumni is considered slightly better than the built in Guest State.

### Step 2 - Install from pip

```shell
pip install aa-alumni
```

### Step 3 - Configure Auth settings

Configure your Auth settings (`local.py`) as follows:

- Add `'alumni'` to `INSTALLED_APPS`
- Add below lines to your settings file:

```python
## Settings for AA-Alumni
# Tasks
CELERYBEAT_SCHEDULE['alumni_run_alumni_check_all'] = {
    'task': 'alumni.tasks.run_alumni_check_all',
    'schedule': crontab(minute="0", hour="0", day_of_week="4"),
    'apply_offset': True,
}
CELERYBEAT_SCHEDULE['alumni_run_update_all_models'] = {
    'task': 'alumni.tasks.update_all_models',
    'schedule': crontab(minute="0", hour="0", day_of_week="3"),
    'apply_offset': True,
}
```

### Step 4 - Update AA's State system

```shell
python myauth/manage.py alumni_state
```

### Step 5 - Maintain Alliance Auth

- Run migrations `python manage.py migrate`
- Gather your staticfiles `python manage.py collectstatic`
- Restart your project `supervisorctl restart myauth:`

### Step 6 - Configure Further

In the Admin interface, visit `alumni > config > add` or `<AUTH-URL>/admin/alumni/config/add/`
Select the Alliances and/or Corporations for which characters with historical membership are Alumni

## Settings

| Name | Description | Default |
| --- | --- | --- |
|`ALUMNI_CHARACTERCORPORATION_RATELIMIT`| Celery Rate Limit _per worker_, 10 tasks * 10 Workers = 100 tasks/min | '10/m' |

## Contributing

Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at <https://developers.eveonline.com> before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.