semvec/pypi-packages huggingface dataset:
pylambda 0.2.1
Run your local python AWS Lambda locally and deploy to S3.
License: MIT
Keywords: aws lambda s3

Python AWS Local Lambda
=======================
Easily test and deploy your AWS Lambda function.

**Requirements**

* Python 2.7.x
* pip
* AWS CLI
* AWS Account (For deploying)

Since AWS currently only supports Python 2.7, you must ensure your function is tested and working in Python 2.7 before deploying.

**Installation**

Installation should be done using pip: ``pip install pylambda``

Once installed, make sure you setup the AWS CLI by following: http://docs.aws.amazon.com/cli/latest/userguide/installing.html


**Getting Started**

Once installed you can run pylambda from the console.

Run ``pylambda -h`` to see help options.

**Running Your Lambda**

To run your lambda function, use the following command:

``pylambda run my_lambda_function.py -e event.json -n handler``

* my_lambda_function.py = The python file containing your lambda function.
* event.json = The json event sent to your python function. See http://docs.aws.amazon.com/lambda/latest/dg/python-programming-model-handler-types.html
* handler = The name of the function that lambda should call. The event.json is passed to this function if provided.

Arguments:

* file : the name of the python file that contains the lambda function. REQUIRED
* -e, --event : the json file that contains the event data. Must be a parsable json file. OPTIONAL
* -n, --name : the name of the function that should be called by lambda. Default 'handler'. OPTIONAL

**Deploying to S3**

To deploy your code as a zip to S3 navigate to the folder where your lambda function is contained and run:

``pylambda deploy my_lambda_directory_path s3://mybucket -n my_lambda_function``

* my_lambda_directory_path = The path to the directory that contains your lambda function and requirements.txt file.
* s3://mybucket = The location of your S3 bucket. This should follow the AWS CLI for S3 locations.
* my_lambda_function = The name of the zip file.

*NOTE: you must have a proper requirements.txt within the same folder as your lambda function if you are using external libraries installed with pip. The deploy functionality will automatically bundle in these dependencies before uploading.*

Arguments:

* directory : the directory path that contains your lambda.
* s3_bucket : the location of your S3 bucket. Must follow the AWS CLI format. REQUIRED
* -n, --name : the name of the zip file that will be uploaded to S3.
universal-divergence 0.2.0
A divergence estimator of two sets of samples.
License: MIT
Keywords: KL,Kullback-Leibler,divergence,information measure

universal-divergence
--------------------

universal-divergence is a Python module for estimating divergence of two sets of samples generated from the two underlying distributions.
The theory of the estimator is based on `a paper
<http://www.princeton.edu/~verdu/reprints/WanKulVer.May2009.pdf>`_ written by Q.Wang et al [1]_.

Install
-------

::

  pip install universal-divergence

Example
-------

::

  from __future__ import print_function

  import numpy as np
  from universal_divergence import estimate

  mean = [0, 0]
  cov = [[1, 0], [0, 10]]
  x = np.random.multivariate_normal(mean, cov, 100)
  y = np.random.multivariate_normal(mean, cov, 100)
  print(estimate(x, y))  # will be close to 0.0

  mean2 = [10, 0]
  cov2 = [[5, 0], [0, 5]]
  z = np.random.multivariate_normal(mean2, cov2, 100)
  print(estimate(x, z))  # will be bigger than 0.0

References
----------

.. [1] Qing Wang, Sanjeev R. Kulkarni, and Sergio Verdú. "Divergence estimation for multidimensional densities via k-nearest-neighbor distances." Information Theory, IEEE Transactions on 55.5 (2009): 2392-2405.
texture 0.1.3
Micro-engine for creating text-based adventures
License: MIT
Keywords: texture adventure game text based old

texture
=======

    (...) I rejected those answers. Instead, I chose something
    different. I chose the (im)possible. I chose... texture

|PyPI version|

texture is a micro-engine for creating text-based adventures.

Features
--------

-  Scenario based architecture
-  Global game state
-  Some utilities
-  Main game loop (including command input)

That's it. This is only a (pretty simple) tool, and you are the artist.
Want your game to calculate x digits of *pi*? Well, go for it!

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

Documentation is available in the ``docs/`` directory. In order to build
it, use:

::

    $ mkdocs build

In addition, you can find the documentation online at
http://texture.readthedocs.org/en/latest/.

.. |PyPI version| image:: https://img.shields.io/pypi/v/texture.svg
   :target: https://pypi.python.org/pypi/texture
animemon 0.1.1
Everything about your anime within the command line.
License: MIT
Keywords: anime,CLI,anime-within-CLI,python

animemon
========

**A Python Application that displays all the information about all your
anime in the command line. An anime ripoff of
[@iCHAIT](https://github.com/iCHAIT)'s
`moviemon <https://github.com/iCHAIT/moviemon>`__**

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

Using pip
~~~~~~~~~

.. code:: sh

    $ pip install animemon

Get the latest build from the Source
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: sh

    $ git clone https://github.com/nims11/animemon
    $ cd animemon
    $ python setup.py install

Dependencies
~~~~~~~~~~~~

-  `guessit <https://github.com/guessit-io/guessit>`__
-  `terminaltables <https://github.com/Robpol86/terminaltables>`__
-  `docopt <https://github.com/docopt/docopt>`__
-  `tqdm <https://github.com/tqdm/tqdm>`__
-  `colorama <https://github.com/tartley/colorama>`__

Usage:
~~~~~~

.. code:: sh

      animemon [ --auth=user:pass ] PATH
      animemon [ -m | -n | -g | -y | -r | -M | -N ]
      animemon -h | --help
      animemon --version

Examples:
~~~~~~~~~

Display basic info about all your anime
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: sh

    $ animemon

Display all movies sorted according to their MyAnimeList ratings
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: sh

    $ animemon -m

Index your anime collection with MAL Ratings
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: sh

    $ animemon ~/anime --auth=viceversa:password123

Options:
~~~~~~~~

.. code:: sh

      -h, --help            Show this screen.
      --version             Show version.
      PATH                  Path to anime dir. to index/reindex all anime.
      --auth=user:pass      Your MyAnimeList username (eg. --auth=coolguy123:password12)
      -m, --mal             Sort acc. to MyAnimeList rating.(dec)
      -n, --humming         Sort acc. to Hummingbird rating.(dec)
      -g, --genre           Show anime name with its genre.
      -y, --year            Show anime name with its release date.
      -r, --runtime         Show anime name with its runtime.
      -M, --mal-rev         Sort acc. to MyAnimeList rating.(inc)
      -N, --humming-rev     Sort acc. to Hummingbird rating.(inc)