Metadata-Version: 1.2
Name: django-nats-nkeys
Version: 0.3.1
Summary: Django NATS Nkey is a Django app to synchronize Django superusers, accounts, and users with NATS nkey-based authentization/authorization scheme
Home-page: http://github.com/bitsy-ai/django-nats-nkey
Author: Leigh Johnson
Author-email: leigh@bitsy.ai
License: GNU AGPLv3
Description: 
        ==============
        Django Coturn
        ==============
        
        .. image:: https://img.shields.io/pypi/v/django-nats-nkeys
            :target: https://pypi.org/project/django-nats-nkeys/
        .. image:: https://img.shields.io/pypi/pyversions/django-nats-nkeys
            :target: https://pypi.org/project/django-nats-nkeys/
        .. image:: https://img.shields.io/pypi/djversions/django-nats-nkeys
            :target: https://pypi.org/project/django-nats-nkeys/
        .. image:: https://img.shields.io/pypi/wheel/django-nats-nkeys
            :target: https://pypi.org/project/django-nats-nkeys/
        .. image:: https://img.shields.io/discord/773452324692688956
            :target: https://discord.gg/Y848Hq9xKh
        .. image:: https://img.shields.io/github/workflow/status/bitsy-ai/django-nats-nkeys/Test
            :target: https://github.com/bitsy-ai/django-nats-nkeys
        .. image:: https://img.shields.io/codecov/c/github/bitsy-ai/django-nats-nkeys
            :target: https://github.com/bitsy-ai/django-nats-nkeys
        .. image:: https://img.shields.io/github/release-date-pre/bitsy-ai/django-nats-nkeys
            :target: https://github.com/bitsy-ai/django-nats-nkeys
        
        
        NATS_ is an infrastructure platform for building message-based services.
        
        .. _NATS: https://docs.nats.io/nats-concepts/what-is-nats
        
        This Django app integrates NAT's _multi-tenant account paradigm with `Django organizations`.
        
        .. _multi-tenant: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/accounts
        .. _Django organizations: https://github.com/bennylope/django-organizations
        
        Quick start
        -----------
        
        1. Add to your INSTALLED_APPS settings::
        
            INSTALLED_APPS = [
                ...
                "organizations",
                "django_extensions",
                "django_nats_nkey",
            ]
        
        2. Run ``python manage.py migrate`` to create the NATS organizationals models
        
        3. Run ``python manage.py nsc-init`` (optional) Initialize a new NATS operator. You are responsible for copying the generated `.conf` file to your NATS server. If you choose to use an existing operator, you are responsible for running `nsc pull` as a pre-deployment step. 
        
        Contributor's Guide
        --------------------
        
        1. Create a development environment (requires docker & docker-compose)::
        
            make docker-up
            make nsc-init
        
        2. Run tests and generate a coverage report::
        
            make pytest
        
        3. Run `black` linter::
        
            make lint
        
        
Keywords: django NATS
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Requires-Python: >3.6.9
