semvec/pypi-packages huggingface dataset:
mygmap 1.0.3
A small wrapper around google maps api
License: MIT
Keywords: maps location address

mygmap
======

A simple python wrapper for Google Maps API.
Use it to get the formatted address or co-ordinates of any location.

The code is Python 2, but Python 3 compatible.

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

Fast install:

::

    pip install mygmap

For a manual install get this package:

::

    wget https://github.com/nikhilkumarsingh/mygmap/archive/master.zip
    unzip master.zip
    rm master.zip
    cd mygmap-master

Install the package:

::

    python setup.py install    

Example
--------

.. code:: python

    from geo import locator

    # get formatted address of any location
    print locator.get_address("rohini, delhi")

    # get co-ordinates of location
    print locator.get_coordinates("delhi")

    

Here is the output:

::

    Rohini, New Delhi, Delhi, India
    (28.7040592, 77.10249019999999)
xontrib-prompt-vi-mode 0.1.2
vi-mode status formatter for xonsh prompt
License: MIT

xontrib-prompt-vi-mode
=======================

vi-mode status formatter for xonsh prompt.

`import xontrib.prompt_vi_mode.xsh` in your `.xonshrc`,
then add `{vi_mode}` or `{vi_mode_not_input}`
to your `$PROMPT` or `$RIGHT_PROMPT`.

It's also possible to customize it a bit
with the usual xonsh prompt formatting syntax,
e.g. `{vi_mode:[{}]}` or `{vi_mode_not_input:{} }`.


Credits
---------

This package was created with Cookiecutter_ and the `laerus/cookiecutter-xontrib`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/laerus/cookiecutter-xontrib
ollehtv 0.1.2
Python library for controlling an Olleh TV STB
License: MIT
Keywords: olleh ollehtv

ollehtv
=======

|Build Status| |Coverage Status|

Python library for controlling an Olleh TV set-top-boxes.

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

::

    $ pip install ollehtv

If you also wish to run the development tests you will need to do

::

    $ pip install -r requirements-dev.txt

Configuration
-------------

In order to control your STB you must also authenticate a remote using
the Olleh playtv mobile app. Once you have authenticated the app, you
will need to `proxy <https://mitmproxy.org>`__ an app API request to get
the ``DEVICE_ID`` and ``SVC_PW`` values for your device.

.. figure:: http://i.imgur.com/1azSJKK.png
   :alt: mitmproxy screenshot

   mitmproxy screenshot

Example
-------

::

    >>> import ollehtv
    >>> device_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    >>> svc_pw = "abcdef1234567890"
    >>> otv = ollehtv.OllehTV(device_id, svc_pw)
    >>> otv.turn_on()
    >>> otv.unmute()
    >>> otv.change_channel(5)
    >>> otv.input_button(ollehtv.OllehTVButton.IJEON)

This example session turns on a STB, unmutes it, switches it to channel
5 and then switches it back to the previous channel.

.. |Build Status| image:: https://travis-ci.org/pmrowla/ollehtv.svg?branch=master
   :target: https://travis-ci.org/pmrowla/ollehtv
.. |Coverage Status| image:: https://coveralls.io/repos/github/pmrowla/ollehtv/badge.svg?branch=master
   :target: https://coveralls.io/github/pmrowla/ollehtv?branch=master