semvec/pypi-packages huggingface dataset:
alphanum-code 0.1.1
AlphaNumeric unique consecutive code generator.
License: MIT
Keywords: code,generator

Alphanumeric unique code generator
==================================

This module generates unique consecutive alphanumeric codes of specified size.
A comment can be associated with a code on request.

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

- python >= 2.7
- SQLAchemy

Package depencies are included in alphanum_code package and will be automatically installed.
For more details,  see `requirements.txt`.

Install
-------

Install from PyPI:

    pip install alphanum_code

Install from source:

```bash
git clone https://github.com/ylaizet/alphanum_code
cd alphanum_code
pip install -e .
```

Usage 
-----

    >>> from alphanum_code import AlphaNumCodeManager
    >>> dbname = "sqlite:///test_alphanum.sqlite"
    >>> manager = AlphaNumCodeManager(dbname)
    >>> first_code = manager.next_code("with comment")
    >>> print("my first code:", first_code)

Notes
-----

- Alphanumeric order is digits then letters : `0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ`.
- Letters in the alphanumeric code are UPPERCASE.

Tips
----

At `manager` instanciation, you can set:

- `code_size` to specify the lenght of the code you want to generate each time
- `init_code` to specify the starting point for code generation

Test
----

Install Pytest

    pip install pytest

Run test from base directory

    python -m pytest tests/
openslides-presenter 2.0.4
OpenSlides Presenter
License: MIT
Keywords: OpenSlides

==============================
 Openslides Presentation View
==============================

Overview
========

This plugin adds a new page to OpenSlides that can be used as a 'presenter'
view, adding control that users are likely used to from other presentation
software such as Powerpoint to OpenSlides. This page listens to mouse (not yet)
and keyboard events to change the currently shown slide.

The main use for this plugin is to provide a simple overview for presenters
to use OpenSlides, either with a mouse (soon!), keyboard or presentation remote
(which are sometimes called a 'clicker', hence the name).


Requirements
============

OpenSlides >=2.1 (https://openslides.org/)


Install
=======

I. Installation on Windows (with OpenSlides portable version)
-------------------------------------------------------------

1. Get the latest openslides-presenter plugin release from:

   https://github.com/OpenSlides/openslides-presenter

2. Move the plugin directory `openslides_presenter` (not the main folder/repository) to:

   ``<path-to-openslides-portable>/openslides/plugins/``

3. Start openslides.exe.

II. Installation on GNU/Linux and MacOSX
----------------------------------------
1. Setup and activate a virtual environment::

    $ python -m venv .virtualenv
    $ source .virtualenv/bin/activate

2. Install OpenSlides and the openslides-presenter plugin using pip::

    $ pip install openslides-presenter

   OpenSlides and all required python packages will be installed.


Using the plugin
================

After the plugin is installed, simply open the 'presenter' page through the menu.
Note that this only does something useful (i.e. allow controlling
the projector) if a presentable and controllable media is currently shown.


License and authors
===================

This plugin is Free/Libre Open Source Software and distributed under the
MIT License, see LICENSE file. The authors are mentioned in the AUTHORS file.


Changelog
=========

Version 2.0.4 (2018-10-19)
--------------------------
* Do nothing on keypress if not on projector screen
* Add support for OpenSlides 2.3

Version 2.0.3 (2018-06-22)
--------------------------
* Add support for OpenSlides 2.2

Version 2.0.2 (2018-04-18)
--------------------------
* Include a preview of the current slide on the presenter page
* Add support for OpenSlides versions higher than 2.1

Version 2.0.1 (2017-05-16)
--------------------------
* Add support for OpenSlides 2.1

Version 1.1.0 (2016-05-14)
--------------------------
* First release of this plugin for OpenSlides 2.0.x

Version 1.0.0 (2016-02-26)
--------------------------
* First release of this plugin for OpenSlides 1.7.x.
openslides-protocol 1.0.1
OpenSlides Protocol Plugin
License: MIT
Keywords: OpenSlides

============================
 OpenSlides Protocol Plugin
============================

Overview
========

This plugin for OpenSlides provides a protocol of events managed in
OpenSlides.


Requirements
============

OpenSlides 2.2|2.3.x (https://openslides.org/)


Install
=======

This is only an example instruction to install the plugin on GNU/Linux. It
can also be installed as any other python package and on other platforms,
e. g. on Windows.

Change to a new directory::

    $ cd

    $ mkdir OpenSlides

    $ cd OpenSlides

Setup and activate a virtual environment and install OpenSlides and the
plugin in it::

    $ virtualenv .virtualenv

    $ source .virtualenv/bin/activate

    $ pip install openslides openslides-protocol

Start OpenSlides::

    $ openslides


License and authors
===================

This plugin is Free/Libre Open Source Software and distributed under the
MIT License, see LICENSE file. The authors are mentioned in the AUTHORS file.


Changelog
=========

Version 1.0.1 (2018-10-19)
--------------------------
* support for OpenSlides 2.3

Version 1.0 (2018-06-22)
------------------------
* First release of this plugin.
* Added support for OpenSlides 2.2
async-pq 0.3.1
Python async api for creating and managing queues in postgres
License: MIT
Keywords: async postgresql asyncpg queue

Python async api for creating and managing queues in postgres

[![Travis CI](https://travis-ci.org/maximdanilchenko/async-pq.svg?branch=master)](https://travis-ci.org/maximdanilchenko/async-pq)
[![PyPI version](https://badge.fury.io/py/async-pq.svg)](https://badge.fury.io/py/async-pq)
[![Documentation Status](https://readthedocs.org/projects/async-pq/badge/?version=latest)](https://async-pq.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/maximdanilchenko/async-pq/branch/master/graph/badge.svg)](https://codecov.io/gh/maximdanilchenko/async-pq)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Postgres is not best solution for storing and managing queues, 
but sometimes we have no choice.

```async-pq``` can work with millions of entities and thousands of 
requests in one queue. Is used in production. So its well tested and stable.

## Install
```
> pip install async-pq
```

## Quick start

To work with ```async-pq``` we need ```asyncpg``` library:
```python
import asyncpg

conn = await asyncpg.connect('postgresql://postgres@localhost/test')
```

```QueueFabric.find_queue``` method will create needed 
tables (one for requests and one for messages) in database if it is new queue. 
Also it has ```is_exists_queue``` method for situations when you 
need to know that it is exists or not and will be the new queue.
```python
from async_pq import Queue, QueueFabric

queue: Queue = await QueueFabric(conn).find_queue('items')
```
## Operations with queue
Put new items (should be dumped JSONs) in queue:
```python
await queue.put('{"id":1,"data":[1,2,3]}', '{"id":2,"data":[3,2,6]}')
```

Pop items from queue with some ```limit```. 
It will create one request and return its id. 
It is useful when you want to use acknowledgement pattern:
```python
# If with_ack=False (default from > 0.2.1), massage will be acknowledged in place automatically
request_id, data = await queue.pop(limit=2, with_ack=True)
```

To acknowledge request use ```ack``` method:
```python
# returns False if request does not found or acked already
is_acked: bool = await queue.ack(request_id)
```

Or vice versa:
```python
# returns False if request does not found or acked already
is_unacked: bool = await queue.unack(request_id)
```

You can return unacknowledged massages older than ```timeout``` seconds 
(default limit=1000 requests) to queue:
```python
requests_number = await queue.return_unacked(timeout=300, limit=500)
```

Clean queue (delete acknowledged massages) to not overfill database with old data 
(default limit= messages of 1000 requests):
```python
requests_number = await queue.clean_acked_queue(limit=500)
```
akashi 1.0.0
Unofficial akashi command line tool.
License: MIT
Requires Python: >=3.5.0


# Akashi Commnad Line Tool

Unofficial [akashi](https://ak4.jp/) command line tool. 

This command line tool can record your attendance from command lime.

# Requirements

- Python 3.5 or higher
- [chromedriver](http://chromedriver.chromium.org)

# Install

```shell
$ pip install akashi
```

# Usage

```
$ akashi --help
Usage: akashi [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  attend  Attend to akashi
  leave   Leave to akashi
  login   Login to akashi
  logout  Logout to akashi
```

# License

MIT License.
django-masterpass 0.0.3
Django master password
License: MIT
Keywords: django master password authentication authentication_backends

# django-masterpass

## Installation

### Install with pip:

    pip install django-masterpass
    
## Usage:

add in `AUTHENTICATION_BACKEND` setting value `django_masterpass.auth.MasterPass`:

        AUTHENTICATION_BACKEND = [..., 'django_masterpass.auth.MasterPass']            
    
add in settings value MASTER_PASS:
    
    MASTER_PASS='password'