semvec/pypi-packages huggingface dataset:
django-liqpay 1.1
Django liqpay app
License: MIT

# MP-LiqPay

Django liqpay integration app.

### Installation

Install with pip:
```
$ pip install django-liqpay
```

App settings:
```
# REQUIRED:

# Public_key - the identifier of the created company. For example: i00000000
LIQPAY_PUBLIC_KEY = '*********'

# Private key of the created company (not available to anyone except your developer). 
# For example: a4825234f4bae72a0be04eafe9e8e2bada209255
LIQPAY_PRIVATE_KEY = '***********************************'

# OPTIONAL:

# Payment currency. Example value: USD, EUR, RUB, UAH, BYN, KZT. 
# Additional currencies can be added by company's request.
# Default: UAH
LIQPAY_DEFAULT_CURRENCY = '***'

# Language code
# Default: uk
LIQPAY_DEFAULT_LANGUAGE = '**'

# Transaction type. Possible values: pay - payment, hold - amount of hold on sender's account, 
# subscribe - regular payment, paydonate - donation, auth - card preauth
# Default: pay
LIQPAY_DEFAULT_ACTION = '***'
```

## Usage example
views.py
```
checkout_form = liqpay.get_checkout_form(
    amount=12.4,
    order_id=1,
    description=_('Provision of services'),
    result_url='http://example.com',
    server_url='http://example.com',
    language='en'
)
```

get_checkout_form method params:
* public_key: str, required
* amount: float, required
* description: str, required
* order_id: str, required
* result_url: url, str, required
* server_url: url, str, required

* version: integer, optional, default - 3
* action: str, optional, default - 'pay'
* currency: str, optional, default - 'UAH'
* language: str, optional, default - 'uk'

template.html
```
<form action="{{ checkout_form.action }}" method="{{ checkout_form.method }}" target="_blank">
    {{ checkout_form }}
    <button type="submit" class="btn btn-success pull-left">
        <i class="fa fa-credit-card"></i>
        {% trans 'Pay' %}
    </button>
</form>
```

### Requirements

App require this packages:
* django
metrics.bumpversion 0.0.1
plugin for the metrics package (extracts version from .bumpversion.cfg)
License: MIT

|License| |GitHub issues|

installation
============

to install:

.. code:: bash

    $ pip install metrics.bumpversion

to uninstall:

.. code:: bash

    $ pip uninstall metrics.bumpversion

for details please see the documentation of metrics.

metrics.bumpversion
===================

The **metrics.bumpversion** package is a plugin for the metrics package.

metrics.bumpversion adds version information to the “build” section of
the .metrics file.

version information is extracted from the .bumpversion.cfg file

License
-------

Copyright (c) 2018 Mark Fink and others. metrics is released under the
MIT License (see MIT_LICENSE).

.. |License| image:: http://img.shields.io/badge/license-MIT-yellowgreen.svg
   :target: MIT_LICENSE
.. |GitHub issues| image:: https://img.shields.io/github/issues/markfink/metrics.bumpversion.svg?maxAge=2592000
   :target: https://github.com/markfink/metrics.bumpversion/issues
ims-api-connector 2018.2
A connector for the FTP Technologies IMS API
License: MIT
Keywords: sample setuptools development

# ims-python-api-connector

Connector for the FTP Technologies IMS HTTP API

## How to install

`$ pip install ims-api-connector`

## How to use

There are `.connect()` and `.close()` methods exposed as well as a context manager API (`__enter__()` and `__exit__()`) but you don't have to use either- simply calling `.get()`, `.post()` etc will handle the authentication for you.

Additionally, it will retry authentication if it picks up an authentication error during a request (to handle expired tokens etc) but if the attempt to re-authenticate fails, it will stop retrying.

```
from ims_api_connector import IMSAPIConnector

connector = IMSAPIConnector(
    url='https://some.ims.instance.com/api/',
    username='some_username',
    password='some_password',
    timeout=5,  # optional; seconds until a request times out
    retries=6,  # optional; number of re-auth attempts during a request
    backoff=5,  # optional; seconds between re-auth attempts
    insecure=False,  # optional; ignore certificate warnings
    logger=None,  # optional; Python logger object
)

connector.get('assets/?limit=50000')
```

Which returns an object like this:

```
Response(
    status_code=200,
    text='{"some": "data"}',
    json={'some': 'data'},
    error=None,  # any JSON parse exception object
    traceback=None,  # traceback string for JSON parse exception
)
```

## How to develop

Prerequisites:

* pip
* virtualenvwrapper
* entr

Instructions:

* Create a virtualenv
    * `mkvirtualenv ims-python-api-connector`
* Install the requirements
    * `pip install -r requirements.txt`
* Watch the tests
    * ./watch_tests.sh
* Write some code
uberspace-templates 1.0.1
Setup applications and websites in seconds using this cli with many templates.
License: MIT

Uberspace Templates
===================

Setup applications and websites in seconds using this cli with many
templates.

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

::

    pip3 install uberspace-templates

Usage
-----

::

    uberspace-templates init template name

    # Example
    uberspace-templates init flask my-application

Templates
~~~~~~~~~

Flask
~~~~~

::

    uberspace-templates init flask my-application

-  Setup of Git deployment (create virtualenv, install requirements.txt,
   copy config.py to project folder)
-  Create daemon and run gunicorn on a free port
-  Setup domain and renew LetsEncrypt
-  Setup reverse proxy

Vue.js
~~~~~~

::

    uberspace-templates init vuejs my-application

-  Setup of Git deployment (install dependencies, build for production,
   copy content to webroot)
-  Setup domain and renew LetsEncrypt
-  Setup Apache configuration

Website
~~~~~~~

::

    uberspace-templates init website my-application

-  Setup of Git deployment (copy content to webroot)
-  Setup domain and renew LetsEncrypt
-  Setup Apache configuration

Made with
=========

-  `click`_ - command line utility

Meta
----

| Lucas Hild - `https://lucas-hild.de`_
| This project is licensed under the MIT License - see the LICENSE file
  for details

.. _click: http://click.pocoo.org
.. _`https://lucas-hild.de`: https://lucas.hild.de
okta-uuid 0.1.0
Turn Okta User IDs into UUIDs.
License: MIT
Keywords: okta uuid

`okta-uuid`
===========

This is a simple module for turning Okta's user IDs (which *appear* to be
base62-encoded integers) into UUIDs, and vice versa. This is useful for
integrating Okta with systems or services where you don't necessarily want to
use string identifiers.

Installing
----------

First, make sure you're using Python 3.2 or newer.

Install from pypi: ``pip install okta-uuid``


Developing
----------

* Create a virtualenv.
* Clone this repo.
* Install the requirements: ``python setup.py develop``.
* Hack away!

There's a (small!) test suite included. You can run it with ``python test.py``.


Using
-----

Get a UUID from an Okta ID:

.. code-block:: python

    idstr = '00ABCD1234wxyz5678pq'
    oid = okta_uuid.OktaUserId(idstr)

    print(repr(oid))
    print(oid)
    print(oid.uuid)

    # output:
    #
    # OktaUserId('00ABCD1234wxyz5678pq')
    # 00ABCD1234wxyz5678pq
    # cb406d76-d66a-6007-5001-36cc7b010000

Get an Okta ID from a UUID:

.. code-block:: python

    idstr = '00ABCD1234wxyz5678pq'
    oid = okta_uuid.OktaUserId(idstr)
    new_oid = okta_uuid.OktaUserId.from_uuid(oid.uuid)

    print(new_oid)
    print(oid == new_oid)

    # output:
    #
    # 00ABCD1234wxyz5678pq
    # True
gscraper 0.1.2
Automatically download images from google image search
License: MIT
Keywords: web scraper google image images search automatic download

# gscraper
A google image search scraper to automatically search and download images from the web

## Install
```
pip install gscraper
```

## Format
```python
from gscraper import scrapeImages

scrapeImages(search_queries='nicolas cage', limit=5, sub_dir_name='<query-string>', output_directory='downloads', delay=0 )
'''
search_queries:     Comma separated <String> or <List>
limit:              <Int> 0-100
folder_name:        <String> or '<query-string>'
output_directory:   <String>
delay:              <Int> Seconds, delay between download queries

'''

```

## Examples
```python
from gscraper import scrapeImages

scrapeImages( search_queries='query', limit=3 )
'''
downloads/
| query/
| | image-1
| | image-2
| | image-3
'''
scrapeImages( search_queries='query', limit=1, sub_dir_name='output' )
'''
downloads/
| output/
| | image-1
'''

scrapeImages( search_queries=['one','two'], limit=2, output_directory='numbers' )
'''
numbers/
| one/
| | image-1
| | image-2
| two/
| | image-1
| | image-2
'''

scrapeImages( search_queries=['one','two'], limit=2, sub_dir_name='output' )
'''
numbers/
| output/
| | image-1
| | image-2
| | image-3
| | image-4
'''
```
tw2.jqplugins.ui 2.3.0
toscawidgets2 wrapper for jquery-ui
License: MIT
Keywords: toscawidgets.widgets



.. _toscawidgets2 (tw2): http://toscawidgets.org/documentation/tw2.core/
.. _jQuery UI: http://jqueryui.com/
.. _jQuery: http://jquery.com/

tw2.jqplugins.ui is a `toscawidgets2 (tw2)`_ wrapper for `jQuery UI`_.

Live Demo
---------
Peep the `live demonstration <http://tw2-demos.threebean.org/module?module=tw2.jqplugins.ui>`_.

Links
-----
Get the `source from github <http://github.com/toscawidgets/tw2.jqplugins.ui>`_.

`PyPI page <http://pypi.python.org/pypi/tw2.jqplugins.ui>`_
and `bugs <http://github.com/toscawidgets/tw2.jqplugins.ui/issues/>`_

Description
-----------

`toscawidgets2 (tw2)`_ aims to be a practical and useful widgets framework
that helps people build interactive websites with compelling features, faster
and easier. Widgets are re-usable web components that can include a template,
server-side code and JavaScripts/CSS resources. The library aims to be:
flexible, reliable, documented, performant, and as simple as possible.

`jQuery`_ is a fast and concise JavaScript Library that simplifies HTML
document traversing, event handling, animating, and Ajax interactions
for rapid web development. jQuery is designed to change the way that
you write JavaScript.

`jQuery UI`_ provides abstractions for low-level interaction and animation,
advanced effects and high-level, themeable widgets, built on top of the
jQuery JavaScript Library, that you can use to build highly interactive
web applications.

This module, tw2.jqplugins.ui, provides `toscawidgets2 (tw2)`_ access to
`jQuery UI`_ widgets.

Sampling tw2.jqplugins.ui in the WidgetBrowser
----------------------------------------------

The best way to scope out ``tw2.jqplugins.ui`` is to load its widgets in the
``tw2.devtools`` WidgetBrowser.  To see the source code that configures them,
check out ``tw2.jqplugins.ui/tw2/jqplugins/ui/samples.py``

To give it a try you'll need git, python, and `virtualenvwrapper
<http://pypi.python.org/pypi/virtualenvwrapper>`_.  Run::

    $ git clone git://github.com/toscawidgets/tw2.jqplugins.ui.git
    $ cd tw2.jqplugins.ui
    $ mkvirtualenv tw2.jqplugins.ui
    (tw2.jqplugins.ui) $ pip install tw2.devtools
    (tw2.jqplugins.ui) $ python setup.py develop
    (tw2.jqplugins.ui) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.