semvec/pypi-packages huggingface dataset:
VoiceInsights 0.0.2
VoiceInsights Python SDK
License: MIT
Keywords: voicelabs,voiceinsights,alexasdk

# analytics-python-sdk
Voice insights analytics sdk for Python for Alexa skill platform

## instructions to build and distribute

### setup: create a file called .pypirc in your user home folder (~). Put the following contents in it:
```
[distutils]
index-servers =
  pypi
  pypitest

[pypi]
repository=https://pypi.python.org/pypi
username=voicelabs

[pypitest]
repository=https://testpypi.python.org/pypi
username=voicelabs
```

### cleanup the build artifacts (optional). Cleanup not needed if it wasnt done before on the machine.
```
rm -r dist/*

rm -r build/*

rm -r VoiceInsights.egg-info/*
```

### build 
```
python setup.py sdist

python setup.py bdist_wheel
```
### distribute

```
#for publishing to sandbox PIP repo
twine register dist/VoiceInsights-0.0.1-py2.py3-none-any.whl -r pypitest
twine upload dist/* -r pypitest

#for publishing to sandbox PIP repo
twine register dist/VoiceInsights-0.0.1-py2.py3-none-any.whl -r pypi
twine upload dist/* -r pypi
```

when prompted for a password use: V0icelab5

Login to the urls provided above in .pypirc file to check the package has been correctly exported. 

--------------------

## To test the uploaded package

you can install the package locally in the current folder by using the following command:
```
#from test PIP repo
pip install -t ./ -i https://testpypi.python.org/pypi VoiceInsights

#from main public PIP repo
pip install -t ./ -i https://pypi.python.org/pypi VoiceInsights
```

--------------------

## SDK usage:

```python
from VoiceInsights import VoiceInsights

appToken = '450f1ca5-da5b-3877-b6ad-389ba3f49f5d'   
vi = VoiceInsights()

def on_session_started(session_started_request, session):
    """ Called when the session starts """   
    vi.initialize(appToken, session)

def on_intent(intent_request, session):
    intent = intent_request['intent']
    intent_name = intent_request['intent']['name']

    response = None
    #Logic to populate response goes here

    #invoke SDK track method like follows
    vi.track(intent_name, intent_request, response)

    return response

```
signrequest 0.0.1
Unofficial client for SignRequest API
License: MIT

SignRequest client for Python
=============================

Unofficial python client for SignRequest's API.

Currently only supports two features I needed for a specific proof of
concept:

-  Create document from base64 encoded file content
-  Sending signature requests for a document

If I somehow continue using this I will include tests and other
features.

Features
--------

Create document from base64 encoded document content:

.. code:: python

    import base64

    from signrequest import SignRequest

    sr = SignRequest('API_KEY')

    with open('/tmp/pdf-sample.pdf', 'rb') as file:
        file_encoded_string = base64.b64encode(file.read())

    doc = sr.create_document(file=file_encoded_string,
                             document_id='pdf_sample',
                             document_name='pdf-sample.pdf')

Send signature request for the document created in step one:

.. code:: python

    sr.send_sign_request(from_email='john@johnssohn.com',
                         message='Please sign this thing.',
                         signers='james@jamessohn.com') # Can also be an array of emails

You can also send a document without creating it first if you got an
URL, for that specify it as argument when calling method for sending a
sign request:

.. code:: python

    from signrequest import SignRequest

    document = 'https://signrequest.com/api/v1/documents/c27f3e0b-616a-4a74-9182-c00d4e3aa16a/'
    sr = SignRequest('API_KEY').send_sign_request(document=document,
                                                  from_email='john@johnssohn.com',
                                                  message='Please sign this thing.',
                                                  signers=['a@eiou.com', 'z@yz.com'])
django-zerodowntime 0.3.0
A Django Migrations extension providing a framework for Zero Downtime Continuous Delivery.
License: MIT

# django-zerodowntime

[![CircleCI](https://circleci.com/gh/rentlytics/django-zerodowntime.svg?style=svg)](https://circleci.com/gh/rentlytics/django-zerodowntime)

Management commands to help Django users build & deploy their projects with low interruption for their users.  This method is often called Zero Downtime Continous Delivery, or ZDCD.

Database schema migrations are the most common cause of application downtime during a deployment.  Some operations like adding a NULLed column or an entirely new table do not affect the application as it continues to run.  Other operations such as removing/renaming a column/table can cause the deployed code to fail in unexpected ways.  Ultimately you will have to remove or rename existing schema, but most deployments do not require downtime so the code can be updated without interrupting users.

This project was developed for use at [Rentlytics](http://rentlytics.com), [here is a copy](./Rentlytics-ZDCD.pdf) of the presentation which brought this project to life.

## Commands

### `check_migrations`
Checks all pending migrations against the DEFAULT Django database for zero downtime deployment compatibility.  A migration is considered compatible when it contains only: `CreateModel`, `AddField`, or `AlterModelOptions` operations.  An exception is when `AddField` is used to create a new column with a default value provided.  Providing a default value requires filling all existing rows with the value, which can be an expensive operation.


### `insert_git_hooks`
Adds or modifies the git `commit-msg` hook at `.git/hooks/commit-msg` to execute `check_migrations` before each commit is saved to git's history.  When `check_migrations` exits with a non-zero exit code, an error message will be output listing the incompatible migration operations.  In the event that incompatible migrations are to be allowed, you can add `[allow-unsafe-migrations]` to your commit message, which skips this check.


## Usage Guide
* [Heroku + CircleCI](./examples/heroku/)


=======
History
=======

0.1.0 (2016-06-02)
------------------

* First release on PyPI.
azkaban_ctrl 0.3.0
A Python Azkaban Command Line Interface
License: MIT
Keywords: azkaban cli

A Python Azkaban Command Line Wrapper
=======================

This is the description file for the project.
A command line wrapper to access azkaban.
It provides funciton such as: create&delete project; upload project zips; list project flows, tasks and excutions; run flow and run single task; etc.
simplegist 1.0.1
Python wrapper for Gist
License: MIT
Keywords: gist,github,API

Github-Gist Api - python wrapper
================================

Python wrapper for ``GitHub's Gist API``.

|Latest Version| |Downloads|

.. |Latest Version| image:: https://img.shields.io/pypi/v/simplegist.svg
    :target: https://pypi.python.org/pypi/simplegist

.. |Downloads| image:: https://img.shields.io/pypi/dm/simplegist.svg
    :target: https://pypi.python.org/pypi/simplegist

Features
--------

* Create Gists and get url, script and clone link on success (can be used for copy-paste purpose too)
* View one's Gist(s) - name, description and it's content
* Edit and Delete a gist
* Search Gist(s) of any user; fork, star and unstar them
* List all comments on any Gist, put/edit/delete a comment on a Gist

Installation
-------------
.. code-block:: bash

    $ pip install simplegist

Download `here <https://github.com/softvar/simplegist/tarball/1.0.0>`_ and run ``python setup.py install`` after changing directory to ``/simplegist``

Generating Github API Access Token
----------------------------------
Go to Github's Account settings > Applications
``Create a new token`` and use it for making API requests instead of password

Example Usage
-------------

.. code-block:: python

    from simplegist import Simplegist

    ghGist = Simplegist(username='USERNAME', api_token='API_TOKEN')
    # or provide USERNAME and API_TOKEN in config.py file, so just, ghGist = Gist()

    # creating gist and getting url, script and clone link
    ghGist.create(name='_GISTNAME', description='_ANY_DESCRIPTION', public=1, content='_CONTENT_GOES_HERE')

    # List down all the names of authenticated user's Gists
    ghGist.profile().listall()

    # List down only the names of recent two Gists of user '_USERNAME'
    ghGist.search('_USERNAME').list(2)

    # List down all the comments on gist named '_GISTNAME' of user 'USERNAME'
    ghGist.comments().listall(user='_USERNAME', name='_GISTNAME')

    # ...and many more...

Full Usage and Documentation
----------------------------

Visit here `READTHEDOCS <https://simplegist.readthedocs.org/en/latest/>`_ or `PYTHONHOSTED <http://pythonhosted.org/simplegist/>`_

Patches and suggestions are welcome
-----------------------------------

.. code-block:: bash

   $ git clone https://github.com/softvar/simplegist.git
   $ cd simplegist
mpcorbget 1.0.0a7
A tool for using MPC data
License: MIT
Keywords: astronomy MPC minorplanet asteroid ephem pyephem MPCORB

mpcorbget v1.0.0a7
=======================

This is a tool for planning observations of minor planets. It pulls data from the Minor Planet Center's MPCORB.DAT and its list of observatories and calculates the geocentric and topocentric coordinates of the object.

In addition to calculating coordinates, it provides an api to retrieve and utilize data from the MPC for use in other scripts.

Currently the it does not support asteroids without a permanent designation. I am hoping to implement that in the future.

You can type mpcorbget directly into the command line to run the QuickEphem tool script. Otherwise import mpcorbget. To see a list of objects and their attributes and methods use help("mpcorbget").
pyasgard 1.5
Python library for working with the Asgard api.
License: MIT
Keywords: asgard api python netflixoss

.. attention:: DEPRECATED
   This is no longer being maintained and no future changes, updates or enhancements will be added.

Asgard Python Library
---------------------

This is a wrapper for the asgard api.

The api mapping is in ``pyasgard/endpoints.py``

Example usage:

.. code:: python

    from pyasgard import Asgard

    # With authentication
    # from base64 import b64encode
    # asgard = Asgard('http://asgard.example.com',
    #                 username='user',
    #                 password=b64encode('secret'))
    asgard = Asgard('http://asgard.example.com')

    asgard.ami.list()
    asgard.ami.show(ami_id='ami-i1234x')

    asgard.cluster.list()
    asgard.cluster.resize(name='appname', minAndMaxSize=4)

Warning
=======

The ``Asgard.asg.create()`` command requires some hacking to support a
dynamic keyword argument. This is documented in the command docstring as
well.

.. code:: python

    client = Asgard('http://test.com')

    vpc_id = 'vpc-something'
    lb_list = ['lb-something']
    lb_param = 'selectedLoadBalancersForVpcId{0}'.format(vpc_id)

    api = client.mapping_table['asg']['create']['default_params']
    api[lb_param] = lb_list

    client.asg.create(**{lotsofparams})

Testing
=======

To run the unit tests, create a ``config.py`` file and run ``tox``:

.. code:: python

    # Unit test contants
    ENC_PASSWD = 'dGVzdHBhc3N3ZA=='
    URL = 'http://asgard.demo.com'
    USERNAME = 'happydog'