semvec/pypi-packages huggingface dataset:
www-authenticate 0.9.2
Parser for WWW-Authenticate headers.
License: BSD

WWW-Authenticate header parser
==============================

Parsing WWW-Authenticate headers is difficult. Let this tiny library do all the
hard work for you.

What's so difficult?
--------------------

The header contains a set of comma-separated challenges, but the parameters for
each challenge are also comma-separated. Some challenges in the wild don't have
parameters, which violates the spec. The ``Negotiate`` challenge eschews the
required name-value pairs and has a single string as its parameter.

Some servers may offer more challenges than you were expecting, but you'd still
like to notice the one you care about.

Usage
-----

It's really easy::

   import www_authenticate

   parsed = www_authenticate.parse(response.headers['WWW-Authenticate'])

   if 'Basic' in parsed:
       realm = parsed['Basic']['realm']
   if 'Negotiate' in parsed:
       challenge = parsed['Negotiate']

The returned object is a ``collections.OrderedDict`` with authentication scheme
names as keys. The values are either dictionaries, a single string, or ``None``
if there are no parameters.

Installation
------------

This package is in PyPI. Install with::

   $ pip install www-authenticate

There are no external dependencies.
django-suit-locale 1.0.10
Django Suit localization.
License: BSD

django-suit-locale
==================

.. image:: https://img.shields.io/pypi/dm/django-suit-locale.svg
    :target: https://pypi.python.org/pypi/django-suit-locale/

.. image:: https://img.shields.io/pypi/dw/django-suit-locale.svg
    :target: https://pypi.python.org/pypi/django-suit-locale/

.. image:: https://img.shields.io/pypi/dd/django-suit-locale.svg
    :target: https://pypi.python.org/pypi/django-suit-locale/

.. image:: https://img.shields.io/github/license/jbub/django-suit-locale.svg
    :target: https://pypi.python.org/pypi/django-suit-locale/

The aim of this project is to bring better localization process for Django Suit (http://djangosuit.com/).

What i have done
----------------

* generated suit locale files
* compared with ``django.contrib.admin`` locale files and removed duplicates
* compared with the supported packages and removed duplicates
* left the translations that do not maintain their own translation process
* left the translations that are from maintained packages but i did not found them

Package support
---------------

django-reversion
    Fork https://github.com/etianen/django-reversion and translate.

django-cms
    Translate at Transifex https://www.transifex.com/projects/p/django-cms/.

django-filer
    Translate at Transifex https://www.transifex.com/projects/p/django-filer/.

django-import-export
    This package is now translated, head over to https://github.com/bmihelac/django-import-export, fork and translate. I will keep the translations in this repository to give people some time to translate it. We will then remove the strings from this repository.

Localize
--------

Use Transifex to translate to your language https://www.transifex.com/projects/p/django-suit-locale/ or send a pull request with locale files.

Translators
-----------

* es - ernesto.ulloa
* fr - champsavoir
* ru - eu
* tr - erhansiraci
* pt_BR - mpena2099
* pl - dex4er
* es_AR - gonzalobustos
* sk, cs - jbub

Installation
------------

* Install easily using pip:

.. code-block:: bash

    pip install django-suit-locale

* Add ``suitlocale`` to your ``INSTALLED_APPS`` settings:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'suitlocale',
        'suit',
    )