semvec/pypi-packages huggingface dataset:
django-auth-wall 0.3.0
Puts your staging site behind a basic auth layer.
Keywords: security,django,python,basic authentication

django-auth-wall
================

.. image:: https://img.shields.io/pypi/v/django-auth-wall.svg
    :target: https://pypi.python.org/pypi/django-auth-wall
    :alt: Latest PyPI version

.. image:: https://travis-ci.org/theskumar/django-auth-wall.svg
   :target: https://travis-ci.org/theskumar/django-auth-wall
   :alt: Latest Travis CI build status

A very basic Basic Auth middleware that uses a username/password defined in
your environment variable or settings.py to protect whole of your site.
Does not use Django auth.

Handy for quickly securing an entire site during development, for example.

**Note**:  Environment variables is preferred over ``settings.py``.

Usage
-----

.. code::

    # In settings.py:

    MIDDLEWARE = [
        'django_auth_wall.middleware.BasicAuthMiddleware',

        # all other middleware here
    ]

    # Optionally, set it here if not setting as environment variable
    # Requires both variable to be set, else site won't be protected.
    AUTH_WALL_USERNAME = 'user'
    AUTH_WALL_PASSWORD = 'pass'


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

.. code::

    pip install django-auth-wall

**Warning**

Please make sure that you use SSL/TLS (HTTPS) to encrypt the connection between
the client and the server, when using basic access authentication. In basic
access authentication username and password are sent in cleartext, and if
SSL/TLS is not used, the credentials could be easily intercepted.

Compatibility
-------------
- Django 1.5+

Licence
-------

MIT

Authors
-------

`django-auth-wall` was written by `Saurabh Kumar <saurabh@saurabh-kumar.com>`_.
pyrabola 0.0.3
Simulate laser propagation through a system of planar and focussing mirrors
Requires Python: >=3.6

# Pyrabola

Pyrabola simulates the propagation of laser light through a system composed of planar mirrors, a parabolic mirror and a focal spot camera. It aims to balance speed with accuracy by clever use of approximations to the exact propagation solutions, which for example enable us to model the full evolution of an aberrated laser pulse through a tight focus, without placing particularly stringent constraints on resolution.

This code is a work in progress.