<commit_before># -*- coding: utf-8 -*-
"""
dj-email-url
~~~~~~~~~~~~

This utiliy is based on dj-database-url by <NAME>.

It allows to utilize the
`12factor <http://www.12factor.net/backing-services>`_ inspired
environments variable to configure the email backend in a Django application.

Usage
-----

Configure your email configuration values in ``settings.py`` from
``EMAIL_URL``::

    email_config = dj_email_url.config()

Parse an arbitrary email URL::

    email_config = dj_email_url.parse('smtp://...')


After this, it is necessary to assign values to settings::

    EMAIL_FILE_PATH = email_config['EMAIL_FILE_PATH']
    EMAIL_HOST_USER = email_config['EMAIL_HOST_USER']
    EMAIL_HOST_PASSWORD = email_config['EMAIL_HOST_PASSWORD']
    EMAIL_HOST = email_config['EMAIL_HOST']
    EMAIL_PORT = email_config['EMAIL_PORT']
    EMAIL_BACKEND = email_config['EMAIL_BACKEND']


Supported backends
------------------

Currently, it supports:

- SMTP backend (smtp or smtps),

- console backend (console),

- file backend (file),

- in-memory backend (memory),

- and dummy backend (dummy).


The scheme ``smtps`` indicates to use TLS connections, that is to set
``EMAIL_USE_TLS`` to ``True``.

The file backend is the only one which needs a path. The url path is store
in ``EMAIL_FILE_PATH`` key.
"""

from setuptools import setup

setup(
    name='dj-email-url',
    version='0.0.1',
    url='https://github.com/migonzalvar/dj-email-url',
    license='BSD',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Use an URL to configure email backend settings in your Django Application.',
    long_description=__doc__,
    py_modules=['dj_email_url'],
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)<commit_msg>Include Python 2/3 trove classifiers in setup.py.<commit_after># -*- coding: utf-8 -*-
"""
dj-email-url
~~~~~~~~~~~~

This utiliy is based on dj-database-url by <NAME>.

It allows to utilize the
`12factor <http://www.12factor.net/backing-services>`_ inspired
environments variable to configure the email backend in a Django application.

Usage
-----

Configure your email configuration values in ``settings.py`` from
``EMAIL_URL``::

    email_config = dj_email_url.config()

Parse an arbitrary email URL::

    email_config = dj_email_url.parse('smtp://...')


After this, it is necessary to assign values to settings::

    EMAIL_FILE_PATH = email_config['EMAIL_FILE_PATH']
    EMAIL_HOST_USER = email_config['EMAIL_HOST_USER']
    EMAIL_HOST_PASSWORD = email_config['EMAIL_HOST_PASSWORD']
    EMAIL_HOST = email_config['EMAIL_HOST']
    EMAIL_PORT = email_config['EMAIL_PORT']
    EMAIL_BACKEND = email_config['EMAIL_BACKEND']


Supported backends
------------------

Currently, it supports:

- SMTP backend (smtp or smtps),

- console backend (console),

- file backend (file),

- in-memory backend (memory),

- and dummy backend (dummy).


The scheme ``smtps`` indicates to use TLS connections, that is to set
``EMAIL_USE_TLS`` to ``True``.

The file backend is the only one which needs a path. The url path is store
in ``EMAIL_FILE_PATH`` key.
"""

from setuptools import setup

setup(
    name='dj-email-url',
    version='0.0.1',
    url='https://github.com/migonzalvar/dj-email-url',
    license='BSD',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Use an URL to configure email backend settings in your Django Application.',
    long_description=__doc__,
    py_modules=['dj_email_url'],
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
{'fraction_non_alphanumeric': 0.1348953594176524, 'fraction_numerical': 0.004549590536851683, 'mean_word_length': 3.609014675052411, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1604922', 'n_tokens_mistral': 1370, 'n_tokens_neox': 1328, 'n_words': 388}