semvec/pypi-packages huggingface dataset:
quickq 17.10.4
The quickest way to setup async tasks with Django.
License: MIT

# Django Quick Queue

Django Quick Queue is a fast and simple way to use async tasks in Django. This package has a limited use case. If you are looking for a more complex async task systems you should try Django Q, Celery, or Huey. Quick Queue is meant to give you the simplest method to get started executing small asynchronous tasks.

# Installation

### 1. Install Package

`pip install quickq`

### 2. Add Base URL to settings.py

```python
QQ_BASE_URL = 'https://mysite.example.com'
```

### 3. Setup the view in your urls.py

```python
from quickq import taskinator

urlpatterns = [
  url(r'^taskinator/(\S+)$', taskinator, name="taskinator"),
  ...
]
```

### 4. Add the Task decorator to any function

```python
from quickq import Task

@Task()
def send_approved (name, slug, email):
    send_mail(
      'Yay E-mail!',
      message,
      settings.DEFAULT_FROM_EMAIL,
      [email],
      fail_silently=False,
    )

# With a custom Timeout
@Task(timeout=120)
def another_task ():
  do_stuff()
```

### 5. Execute your task as normal

```python
send_email('Narf', 'narf-me', 'narf@aol.com')
```

## How it Works

1. Your task is called
    1. A PyJWT is generated.
    2. The taskinator URL is called asynchronously.
2. Taskinator view executed
    1. Decodes the JWT.
    2. Excutes the original task function outside of the original request.

## Limitations

- Function arguments are converted to JSON so they must be JSON compatible.
- Request time may be limited. If your webserver has a limitation on request time then that will also affect how long your tasks can execute since they are simply web requests. The request is also limited by the `QQ_REQUEST_TIMEOUT` setting.

## Additional Settings

```
QQ_TOKEN_EXPIRATION: Default 60
QQ_TOKEN_ALGORITHMS: Default ['HS256']
QQ_URL_NAME: Default 'taskinator'
QQ_REQUEST_TIMEOUT: Default 60
```

## Scaling

While Quick Queue is limited it still could scaled in with a few tricks.

- Run a separate web server just for Queue tasks. This would allow you scale your task queue differently and change your request timeout values.
- additional?

## Future Goals

- add task retries
- multiple queue URLs
stxmalign 0.0.10
Pixel Alignment of STXM images.
License: MIT
Keywords: stxm images alignment

STXM Align
=======================

STXM Align is a PyQtGraph-based graphical user interface. It allows for horizontal line alignment of images
collected in the TwinMic beamline through Scanning transmission x-ray microscopy (STXM) imaging technique.


----

README
""""""""""""""""" 

**Introduction**

To do.

**Installation**

For standard Python installations, install stxmalign using pip:

.. code:: bash

    pip install -U pip setuptools
    pip install stxmalign

**Usage**

Once the installation has finished just type on the command line:

.. code:: bash

    stxmAlign

**Requirements**

* `Python 2.7 <https://www.python.org/downloads/>`_.
* `Setuptools <https://setuptools.readthedocs.io/en/latest/>`_.
* `Tifffile <https://github.com/blink1073/tifffile>`_.
* `H5Py <http://www.h5py.org/>`_.
* `Matplotlib <https://matplotlib.org/>`_.
* `NumPy <http://www.numpy.org/>`_.
* `PyQt5 <http://pyqt.sourceforge.net/Docs/PyQt5/installation.html>`_.
* `PyQtGraph <http://www.pyqtgraph.org/>`_.
* `SIP <https://www.riverbankcomputing.com/software/sip/download>`_.

**To fix**

* `PyQtGraph ImageExporter <https://groups.google.com/forum/#!topic/pyqtgraph/4jiAPUpLpF4>`_.
django-automationcommon 1.12
Common functionality across different Django projects of the UofC UIS Automation team
License: MIT

=================
Automation Common
=================

Automation Common is a simple Django app that provides common functionality across different Django projects of the UofC UIS Automation team.

Quick start
-----------

testfixtures

1. Add "automationcommon" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'automationcommon',
    ]

2. Include the automationcommon URLconf in your project urls.py like this::

    url(r'', include('automationcommon.urls')),

3. Run `python manage.py migrate` to create the automationcommon models.

4. All module logging writes to a logger named 'automationcommon'

5. The unittests can be run using the runtests.py script.

6. This module has an audit trail feature that allows you to capture update to / deletes of selected models.
   To track changes to a model simple use the ModelChangeMixin (preceding models.Model).
   To capture the "editor" use automationcommon.models.set_local_user() to set the user to be used in the audit trail
   or configure your app like this::

    MIDDLEWARE_CLASSES = (
        ...
        'automationcommon.middleware.RequestUserMiddleware',
        ...
    )
pywow 1.0
Python WoW API Wrapper
License: MIT
Keywords: wow world of warcraft world_of_warcraft python api wrapper lib

# pyWoW
Python WoW API Wrapper

## Installation
1. `pip install -U pywow`
2. Get token for WoW Community API [here](https://dev.battle.net/apps/register)
4. Create/add to file config.py in project folder with these values:
```python
blizzard_key = 'Your_WoW_Community_APIKEY_here'
```

## Usage
*!* Only EU region is currently supported. 
```python
import wow
```

## Quick Tutorial

#### Get character
```python
char = wow.Character(name='CharacterName', realm='Character realm')
print('{name} on {realm} ({xplvl}lvl/{ilvl})\nPlaying as {class},{race} at {side}'.format(
	{'name':char.full_name, 'realm':char.realm.name, 'xplvl':char.level['xp']
	'ilvl':char.level['item'], 'class':char.wow_class.name, 'race':char.race.name,
	'side':char.race.side}))
```