semvec/pypi-packages huggingface dataset:
dappr 0.6
Django app for registration, with an approval step.
License: MIT

Dappr is a Django app for filtered user registration, requiring each user that requests an account to be approved by the site administrator before gaining an enabled user profile.

The workflow to register a user looks like this:
	1. User registers at site, providing all details except password. Recieves a notification to check their email in order to set password.
	2. User opens email, clicks link (confirming identity), then enters password at site. Receives email telling them that their registration request is complete, and the admin will see to it as soon as possible.
	3. Notification is sent to admin of a new user request. Admin goes to django admin site, and on the RegistrationProfile page, performs the "Approve" action on whichever requests they want to approve.
	4. The user now has a working account with all of the information they entered at the beginning! Email notification is sent to user informing them of the admin's decision, and welcoming them to the site.

This ordering of the steps to registration is very important. Notice that the identity confirmation email is sent immediately after the user registers, rather than after the admin approves them. This kills two birds with one stone; the risk of phishing attacks is greatly diminished, because the user is expecting the password set email the moment they receive it, and the admin is safe in the knowledge that the email address of the user they are approving is the actual address of that user.

I am in the process of posting the docs for this package, but in the meantime, here are some simple steps for setup:
	1. Add "dappr" to INSTALLED_APPS
	2. Migrate database
	3. Add include(dappr.urls) to your urlpatterns
	4. Visit <path_to_dappr_urls>/register/ to test it out!
cqstat 1.0.0
A colorful command line tool substitutes for Grid Engine qstat command
License: MIT
Keywords: GridEngine

cqstat
======

A colorful command line tool substitutes for Grid Engine qstat command

.. image:: http://owncloud.a-fal.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=2486&y=1806&a=true&file=cqstat.png&t=caPVu821M0bGOhq&scalingup=0


install
-------

From pip
  ``pip install cqstat``

or downlaod source from https://github.com/ronin-gw/cqstat

configure
---------

Edit ``~/cqstat_config.json`` to configure some defaults and colors. cqstat generates this file if not exists.

options
-------

* optional arguments

    ``-h``
        Show help message and exit.

    ``--help``
        Show preview and current settings.

        Filter and memory options affect the previews.

    ``-c/--cluster-only``
        Show cluster information summary.

    ``-p/--pending-jobs``
        Add pending jobs to output.

* format arguments

    ``-e/--expand``
        Full format display of queues which has visible job.

    ``-f/--full``
        Full format display of queues (even if queue doesn't have visible job).

* filter arguments

  ``-l`` and ``-q`` arguments will be passed to the GE ``qstat`` command.

    ``-l/--resource <resource>...``
        Filtering by the GE resources

    ``-q/--queue <queue>...``
        Filtering by the GE queue names.

    ``-u/--user <user>...``
        Display only jobs and queues being associated with the users.
        The login user name (``$USER`` environment valiable) will be used in omission.

    ``-a/--all-user``
        Display all jobs (same as -u \*)

* memory display options

  Outputs generate from these options depend on the GE ``qhost`` command.

    ``-r/--required-memory [{s_vmem,mem_req}]``
        Add required memory amount specified by GE resource option (``-l s_vmem`` or ``-l mem_req``).
        Using ``s_vmem`` value as default.
        As the case may be, this option takes additional time because of refering job status by ``qstat -j`` command.

    ``-m/--physical-memory``
        Add host machine memory usage.

    ``-s/--swapped-memory``
        Add host machine swap usage.

* others

    ``-w [sec], --watch [sec]``
        Show status periodically (like watch command)

    ``--no-sort``
        Disable queue sorting.

        As default, queue are sorted by their status, usage and load average.

    ``--bleach``
        Disable coloring (´・ω・｀)
lazy_logger 0.1.1
provide a better logging
License: MIT

[![Build Status](https://travis-ci.org/Python-Logging-For-Human/ezlogging.svg?branch=master)](https://travis-ci.org/Python-Logging-For-Human/ezlogging)

# ezlogging

ezlogging

https://paper.dropbox.com/doc/Logging-For-Human-0hgb3uUWhAgi4kJcU3r5X



# test
py.test --capture=sys
djangomailup 0.2.0
Django app to integrate with MailUp
License: MIT
Keywords: djangomailup

=============================
Djangomailup
=============================

.. image:: https://badge.fury.io/py/djangomailup.png
    :target: https://badge.fury.io/py/djangomailup

.. image:: https://pyup.io/repos/github/simobasso/djangomailup/shield.svg
    :target: https://pyup.io/repos/github/simobasso/djangomailup/
    :alt: Updates

.. image:: https://travis-ci.org/simobasso/djangomailup.png?branch=master
    :target: https://travis-ci.org/simobasso/djangomailup

.. image:: https://codecov.io/gh/simobasso/djangomailup/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/simobasso/djangomailup

.. image:: https://api.codacy.com/project/badge/Grade/df1f0dd3b14a4bc7ae43595a7880629d
    :target: https://www.codacy.com/app/simobasso/djangomailup?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=simobasso/djangomailup&amp;utm_campaign=Badge_Grade

Django app to integrate with MailUp

Documentation
-------------

The full documentation is at https://djangomailup.readthedocs.org.

Requirements
------------

*  OAuth2 `tokens for the MailUp REST API`_
*  MailUp account
*  Django >= 1.8
*  python 2.7+, 3.4+

.. _tokens for the MailUp REST API: http://help.mailup.com/display/mailupapi/Authenticating+with+OAuth+v2

Quickstart
----------

Install djangomailup::

    pip install djangomailup


Add configuration in settings.py:

.. code-block:: python

    INSTALLED_APPS = [
        'djangomailup',
    ]
    
    MAILUP = {
        "default": {
            "client_id": "client_id",
            "client_secret": "client_secret",
            "username": "m1234",
            "password": "password",
        },
    }

Then use it in a project:

.. code-block:: python

    from djangomailup import MailUpClient
    
    client = MailUpClient()

Features
--------

* TODO

Running Tests
--------------

Does the code actually work?

.. code-block:: bash

    $ pip install -r requirements_test.txt
    $ python runtests.py

Credits
---------

Tools used this package:

*  Cookiecutter_
*  cookiecutter-djangopackage_
* requests_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _cookiecutter-djangopackage: https://github.com/pydanny/cookiecutter-djangopackage
.. _requests: https://github.com/kennethreitz/requests




History
-------

0.2.0 (2016-07-15)
++++++++++++++++++

**Behavioural Changes**

* remove rauth from dependencies

**Improvements**

* add codacy badge and coverage

**Documentation**

* add documentation for MailUpClient
* add documentation for AuthenticateSession

**Update**

* update sphinx from 1.4.4 to 1.4.5

0.1.1 (2016-07-11)
++++++++++++++++++

**Documentation**

* add readme in index.rst
* fix python works versions
* add Usage page
* add installation page
* add rtd_theme
* add requirements section
* add sphinx for building documentation

**Fix**

* remove setup.py file from bumpersion config


0.1.0 (2016-07-04)
++++++++++++++++++

* First release on PyPI.
logged_requests 0.4
Simple wrapper around the requets library
License: MIT
Keywords: requests,logging,log,logger,logged requests

Logged Requests
===============

|Build Status| |Documentation Status|

**logged_requests** is a simple wrapper around the *requests.Session* object. It captures *input and output* data of a *requests.Session* object.


Installation
============

.. code:: python

    pip install logged_requests

Quickstart
----------

.. code:: python

    >>> url = 'https://httpbin.org/post'
    >>> from logged_requests import LoggedRequests
    >>> req = LoggedRequests()
    >>> resp = req.post(url, json={"name":"jsoh"})
    2016-04-12 21:09:56 INFO logged_requests.logged_requests.request: POST https://httpbin.org/post
    2016-04-12 21:09:57 DEBUG logged_requests.logged_requests.request: Request Headers: Content-Length: 16    | Accept-Encoding: gzip, deflate | Accept: */* | User-Agent: python-requests/2.9.1 | Connection: keep-alive   | Content-Type: application/json |
    2016-04-12 21:09:57 INFO logged_requests.logged_requests.request: Request Payload: '{"name": "josh"}'
    2016-04-12 21:09:57 INFO logged_requests.logged_requests.request: Status code: 200
    2016-04-12 21:09:57 DEBUG logged_requests.logged_requests.request: Response Headers: 'Content-Length:   411 | Server: nginx | Connection: keep-alive | Access-Control-Allow-Credentials: true | Date: Tue, 12 Apr    2016 19:09:57 GMT | Access-Control-Allow-Origin: * | Content-Type: application/json | '
    2016-04-12 21:09:57 DEBUG logged_requests.logged_requests.request: Response Content: '{\n  "args": {},   \n  "data": "{\\"name\\": \\"josh\\"}", \n  "files": {}, \n  "form": {}, \n  "headers": {\n    "Accept":   "*/*", \n    "Accept-Encoding": "gzip, deflate", \n    "Content-Length": "16", \n    "Content-Type":   "application/json", \n    "Host": "httpbin.org", \n    "User-Agent": "python-requests/2.9.1"\n  }, \n  "json": {\n    "name": "josh"\n  }, \n  "origin": "82.227.125.5", \n  "url":    "https://httpbin.org/post"\n}\n'

*LoggedRequests* object can be initiated with a custom logger. If not initiated with a logger, *logged_request* will initiate a default logger, with **StreamHandler** as default *handler* and **DEBUG** as default *loggging level*

.. code:: python

    >>> url = 'https://httpbin.org/post'
    >>> from logged_requests import LoggedRequests
    >>> req = LoggedRequests(my_custom_logger)

.. |Build Status| image:: https://travis-ci.org/josuebrunel/logged-requests.svg?branch=master
    :target: https://travis-ci.org/josuebrunel/logged-requests
.. |Documentation Status| image:: https://readthedocs.org/projects/logged-requests/badge/?version=latest
    :target: https://readthedocs.org/projects/logged-requests/?badge=latest
docker-executor 0.3.7
Docker executor with pipework and consul support
License: MIT

Credits
-------

Uses the wonderful pipework script of jpetazzo: https://github.com/jpetazzo/pipework

Installation
------------
::
    cd docker-executor
    virtualenv venv
    . venv/bin/activate
    pip install --editable .

Requires
--------
docker-executor reads the configuration from a K/V store.

Cluster object:

- dnsname: name to register the cluster in the service discovery's DNS

Node object:

- name: hostname of the docker container
- docker_image: URL of the docker image to use
- docker_opts: specific docker run options to use
- cpu: number of cores that can be used by this container
- mem: memory in MB that can be used by this container
- disks: Disk object list (see below)
- networks: Network object list (see below)
- port: main service port used for service discovery, e.g. 22
- tags: list of tags for service discovery separated by comma, eg. 'v1,testing,hdp'
- check_ports: list of ports to check that the container is alive, eg. '22,5000,8080'
- id: it will be set to the docker id of the running container
- host: it will be set docker engine where the container is running
- status: it will be set to the current status of the node

Network object (registry.Network object):

- type: 'static', 'dynamic'
- networkname: name of the network to use form the networks service
- address: for dynamic allocation use '_', 'dynamic' or ''

The name of the network device (eg. eth0) is taken automatically from the name of the
  directory in consul: eg. node/networks/eth0/address -> eth0

Volume object (registry.Disk object):

- origin
- destination
- mode (OPTIONAL): default 'rw'

Deployment
----------
Using clush and pip:

::
    python setup.py sdist upload -r pypi
    clush -bw @bigdata pip install --upgrade --no-cache-dir docker-executor