semvec/pypi-packages huggingface dataset:
landa-django-rest-auth 0.9.4
Create a set of REST API endpoints for Authentication and Registration
Keywords: django rest auth registration rest-framework django-registration api

Welcome to django-rest-auth
===========================

.. image:: https://travis-ci.org/Tivix/django-rest-auth.svg
    :target: https://travis-ci.org/Tivix/django-rest-auth


.. image:: https://coveralls.io/repos/Tivix/django-rest-auth/badge.svg
    :target: https://coveralls.io/r/Tivix/django-rest-auth?branch=master


.. image:: https://readthedocs.org/projects/django-rest-auth/badge/?version=latest
    :target: https://readthedocs.org/projects/django-rest-auth/?badge=latest


Django-rest-auth provides a set of REST API endpoints for Authentication and Registration


Documentation
-------------
http://django-rest-auth.readthedocs.org/en/latest/


Source code
-----------
https://github.com/Tivix/django-rest-auth


Stack Overflow
-----------
http://stackoverflow.com/questions/tagged/django-rest-auth
nmail 0.0.3
One-line SMPT email sender

# nmail
### SMTP mail sender.

With this package you will able to send mails in 1 line.
There is two operations mode:

### __Config mode__:

   Use `config.yml` to specify next variables:

        smtp_server: '10.0.0.1'
        smtp_port: 587
        login: 'username@corp.com'
        password: 'password'

   Send email with specifying `config.yml` file:

        import nmail
        nmail.send_mail(to=['mybro@example.com','someone@example.com'], 
                        cc=['copy@example.com'],
                        bcc=['hidden_copy@example.com'],
                        subject='No subject',
                        text='No Text',
                        attachments=['/tmp/test.txt'],
                        send_as='delegated_mailbox@example.com',
                        config='/tmp/config.yml')

   > If you will not specify __config__ variable - by default nmail will pick config.yml __from package folder__

### __Inline mode__:

   Send Email inline:

           import nmail
           nmail.send_mail(to=['mybro@example.com','someone@example.com'], 
                           cc=['copy@example.com'],
                           bcc=['hidden_copy@example.com'],
                           subject='No subject',
                           text='No Text',
                           attachments=['/tmp/test.txt'],
                           send_as='delegated_mailbox@example.com',
                           smtp_server='10.0.0.1'
                           smtp_port=587
                           login='username@corp.com'
                           password='password')

   > Also, you may override some of parameters by __specifying__ it in the `send_mail` function call.
   Other params will be gathered from __config file__