semvec/pypi-packages huggingface dataset:
django-auth-exchange 0.1.2
A reusable Django app for authenticating against Exchange servers.
License: MIT

Auth Exchange
#############

.. inclusion-marker-do-not-remove

.. image:: https://readthedocs.org/projects/django-auth-exchange/badge/?version=latest
    :target: https://django-auth-exchange.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

Documentation: https://django-auth-exchange.readthedocs.io

Source: https://github.com/gregschmit/django-auth-exchange

PyPI: https://pypi.org/project/django-auth-exchange/

Auth Exchange is a reusable Django app that allows you to authenticate users
against an Exchange/Office365 server (using :code:`exchangelib`).

**The Problem**: I don't want users of my app to remember another password.

**The Solution**: This app allows those users to authenticate using their
Exchange email credentials.


How to Use
==========

.. code-block:: shell

    $ pip install django-auth-exchange

Include :code:`django_auth_exchange` in your :code:`INSTALLED_APPS`.

Add :code:`django_auth_exchange.backends.ExchangeAuthBackend` to your
:code:`AUTHENTICATION_BACKENDS`, e.g.:

.. code-block:: python

    AUTHENTICATION_BACKENDS = [
        'django_auth_exchange.backends.ExchangeAuthBackend',
        'django.contrib.auth.backends.ModelBackend',
    ]

Configure at least one domain:

.. code-block:: python

    AUTH_EXCHANGE_DOMAIN_SERVERS = {
        'example.org': 'autodiscover',
    }


Settings
--------

:code:`AUTH_EXCHANGE_CREATE_UNKNOWN_USER` (default: :code:`True`) - Determines
if users should be created if they are not found in the local database.

:code:`AUTH_EXCHANGE_DEFAULT_DOMAIN` (default: :code:`'example.com'`) - If only
a username is provided, this is the default domain that will be associated.

:code:`AUTH_EXCHANGE_ALLOWED_FORMATS` (default:
:code:`['email', 'netbios', 'username']`) - This specifies which formats are
allowed as the username (email means :code:`someuser@example.com`, netbios means
:code:`EXAMPLE\someuser`, and username means :code:`someuser`).

:code:`AUTH_EXCHANGE_DOMAIN_SERVERS` (default: :code:`{}`) - This specifies the
domains which are allowed to authenticate and the server that should be used for
authentication (or :code:`'autodiscover'`). Hint: Office365 uses the server
:code:`outlook.office365.com`.

:code:`AUTH_EXCHANGE_DOMAIN_USER_PROPERTIES` (default: :code:`{}`) - This
specifies the settings we should apply to a user when they are added to the
local database for each domain (e.g., to make all :code:`example.com` users
superusers, do:
:code:`{'example.com': {'is_staff': True, 'is_superuser': True}}`).

:code:`AUTH_EXCHANGE_NETBIOS_TO_DOMAIN_MAP` (default: :code:`{}`) - This
specifies a mapping from NETBIOS names to domain names.


Contributing
============

Email gschmi4@uic.edu if you want to contribute. You must only contribute code
that you have authored or otherwise hold the copyright to, and you must
make any contributions to this project available under the MIT license.

To collaborators: don't push using the :code:`--force` option.
django-auth-exchange-organizations 0.1.3
A Django extension to django-auth-exchange that adds organization associations.
License: MIT

Auth Exchange Organizations
###########################

Source: https://github.com/gregschmit/django-auth-exchange-organizations

PyPI: https://pypi.org/project/django-auth-exchange-organizations/

Auth Exchange Organizations is an extension to Auth Exchange
(https://github.com/gregschmit/django-auth-exchange) that allows
users/domains to be associated to Organizations from
:code:`django-organizations`.


How to Use
==========

.. code-block:: shell

    $ pip install django-auth-exchange-organizations

Include :code:`django_auth_exchange_organizations` in your
:code:`INSTALLED_APPS`.

You can create associations by creating DomainOrganization objects in the Admin
UI. You'll need to configure :code:`django-auth-exchange` before you can test
this app out.


Settings
--------

:code:`AUTH_EXCHANGE_ORGS_AUTOASSOCIATE` (default: :code:`True`) - Whether
organization association should be automatic.

:code:`AUTH_EXCHANGE_ORGS_AUTO_CREATE_ORGS` (default: :code:`True`) - Whether
organizations/associations should be created if they don't exist.


Contributing
============

Email gschmi4@uic.edu if you want to contribute. You must only contribute code
that you have authored or otherwise hold the copyright to, and you must
make any contributions to this project available under the MIT license.

To collaborators: don't push using the :code:`--force` option.
shuup-channels 1.0.1
Enables the power of WebSockets with Django Channels in Shuup Ecommerce Platform.
License: MIT
Keywords: shuup websocket channels

# Shuup Channels

Enables the power of WebSockets with [Django Channels](https://github.com/django/channels) in [Shuup Ecommerce Platform](https://github.com/shuup/shuup).

This project allows more advanced customizations and addons to be created with Shuup. By using websockets, a new set of solutions can be created and making user experience even better.

To use websocket on your Shuup projects, start by installing Shuup Channels ``pip install shuup-channels`` and add `shuup_channels` to your `INSTALLED_APPS` settings. Check [`workbench_project`](./workbench_project/app) for an example of project and configuration.

## Usage
This project simply defines an ASGI applicaton with a websocket router which loads urls through Shuup Provides.

After the installation, define a provide entry using the `channels_urls` key:

in your `my_addon/apps.py`
```
class AppConfig(shuup.apps.AppConfig):
    provides = {
        "channels_urls": [
            "my_addon.urls:channels_urls"
        ]
    }
```

in your `my_addon/urls.py`
```
from django.conf.urls import url
from my_addon.consumers import MyConsumer
channels_urls = [
    url(r"^ws/myaddon/$", MyConsumer)
]
```

Done, implement your `MyConsumer` following the Django Channels guidelines and you should be safe. The websocket url will be available as `ws://your-site-url/ws/myaddon/`.

## Example of projects

- [Shuup Admin Channel](https://github.com/chessbr/shuup-admin-channel) - Adds a generic and extendable channel to Admin module

# Copyright

Copyright (C) 2019 by Christian Hess

# License

MIT