semvec/pypi-packages huggingface dataset:
scielo-paperboy 0.7.5
Utilitary to send Images. PDF's, Translations and XML's from the local website to stanging and production servers
License: BSD License

Paperboy
========

Utilitário para envio de dados SciELO de servidores de sites locais para de processamento e também de servidores de uma coleção para o de processamento da rede. O 
utilitario permite o envio de bases para processamento, images, pdfs, traduções
e XML's.

Como instalar
=============

Linux
-----

pip install scielo-paperboy

Windows
-------

1. Instalar as seguintes dependência:

    paramiko 1.16.0 ou superior

    pycrypto 2.6.1 ou superior


2. Instalar Paperboy

    pip install scielo-paperboy

Como utilizar
=============

Com arquivo de configuração
---------------------------

Criar um arquivo de configuração utilizando o template config.ini-TEMPLATE

config.ini::

    [app:main]
    source_dir=/var/www/scielo
    cisis_dir=/var/www/scielo/proc/cisis
    scilista=/var/www/scielo/serial/scilista.lst
    destiny_dir=/var/www/scielo
    server=localhost
    port=21
    user=anonymous
    password=anonymous

Criar variável de ambiente indicando o arquivo de configuração

Linux

    export PAPERBOY_SETTINGS_FILE=config.ini

Windows

    set PAPERBOY_SETTINGS_FILE=config.ini

Utilitários disponíveis

* paperboy_delivery_to_server

    Executa o envio de dados do site local para o servidor de processamento

* paperboy_delivery_to_scielo

    Executa o envio de dados de uma coleção SciELO para o processamento dos dados de toda a Rede SciELO
    
    
Para ajuda

    paperboy_delivery_to_server --help
    
    paperboy_delivery_to_scielo --help

Para ativar módulo de compatibilidade de bases no utilitário **paperboy_delivery_to_server**. O modulo de compatibilidade
converte as bases de dados para que sejam compatíveis com o sistema operacional
de destino. Deve ser utilizado quando o objetivo é enviar bases do Windows para
o Linux ou o contrário.

    paperboy_delivery_to_server -m

Sem arquivo de configuração
---------------------------

Executar

    paperboy_delivery_to_scielo --help

    paperboy_delivery_to_server --help
django-simple-auth 0.2.1
Simple password-only protection
License: BSD License

==================
Django Simple Auth
==================

:Info: Super simple password protection for limiting public access to pages and
       assets
:Version: 0.2.1
:Author: Ben Lopatin (http://benlopatin.com)

Django Simple Auth is a *secondary* authentication system for protecting any
URLs served by your application from public access. It does not replace your
authentication system. Rather its purpose is to provide very simple
a simple password for non-public information like shared photo galleries.

Installing
==========

First add the application to your Python path. The easiest way is to use
`pip`::

    pip install django-simple-auth

As of version 0.2.0 this is only tested against Django 1.11+ and is probably compatible
with Django 1.10 but this has not been tested.

Configuring
-----------

Make sure you have `django.contrib.auth` installed, and add the `simple_auth`
application to your `INSTALLED_APPS` list::

    INSTALLED_APPS = [
        ...
        'django.contrib.auth',
        'simple_auth',
    ]

Next add `simple_auth.urls` to your project URLs.::

    ...
    url(r'^protect/', include('simple_auth.urls')),

If you want to enable default rule-based limits on your site, install the
`SimpleAuthMiddleware`::

    MIDDLEWARE = [
        ...
        'simple_auth.middleware.SimpleAuthMiddleware',
    ]

By default this will require a password for all URLs except for URLs prefaced
with `/admin/`. These URLs can be overridden using protect and ignore
settings.::

    SIMPLE_AUTH_IGNORE = [
        r'^admin/,
        r'^$',
    ]

    SIMPLE_AUTH_PROTECT = [
        r'^forums/'
        r^blog/',
        r^secret_page.html$',
    ]

If a URL is listed in both the ignore and protect lists the default will be to
protect the URL and simple_auth will emit a warning.

Usage overview
==============

There are two ways to protect pages and assets: view decorators and middleware.

These methods will always allow authenticated users to access the URL.

Middleware
----------

To enable the middleware install the middleware class as described in the
installation section.

Individual views
----------------

Note: not implemented yet.

For function views::

    from simple_auth import simple_auth_required

    @simple_auth_required
    def myview(request):
        ...

For class-based views::

    from simple_auth import SimpleAuthMixin

    class MyView(SimpleAuthMixin, DetailView):
        ...