semvec/pypi-packages huggingface dataset:
firecall 1.0.1
Python helper library for Firebase <https://firebase.com>
License: MIT
Keywords: firebase,firebasin,REST,API,firecall

firecall
======
A Python helper library for the
`Firebase REST API <https://www.firebase.com/docs/rest-api.html>`_.

A complete and updated documentation of this Module may be found at
`firebasin's github project page
 <https://gochomugo.github.io/firecall>`_.

Source code is licensed under the MIT License.
 Copyright (c) 2014-2015 Gocho Mugo <mugo@forfuture.co.ke>
django-mobileesp 1.0.1
Detect request's mobile user agents using the mobileesp lib.
License: MIT

=====================================
Django Mobileesp
=====================================


Basic usage 
-----------


*settings.py*

::

    MIDDLEWARE_CLASSES = (
        ...
        'django_mobileesp.middleware.UserAgentDetectionMiddleware'
    )

    from django_mobileesp.detector import mobileesp_agent as agent

    DETECT_USER_AGENTS = {
        'is_android': agent.detectAndroid,
        'is_ios': agent.detectIos,
        'is_windows_phone': agent.detectWindowsPhone,
        'is_mobile': agent.detectTierTablet | \
                          agent.detectTierIphone | \
                          agent.detectMobileQuick,
    }


If you prefer more pythonic methods, you can user a wrapper agent as follows:

::

    from django_mobileesp.detector import python_agent as agent

    DETECT_USER_AGENTS = {
        'is_android': agent.detect_android,
        'is_ios': agent.detect_ios,
        'is_windows_phone': agent.detect_windows_phone,
        'is_mobile': agent.detect_tier_tablet | \
                          agent.detect_tier_iphone | \
                          agent.detect_mobile_quick,
    }


Finally access the defined attributes in your views:

::

    def view(request):
        if request.is_mobile:
            ...
kiefer 0.2
A Python wrapper for the Jawbone UP API.
License: MIT

kiefer
======

*Kiefer* (German): *jawbone*.

A simple Python wrapper for Jawbone's UP API. *kiefer* fully supports
Python 2.7 and Python 3.4.

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

You can easily install *kiefer* using pip:

::

    pip install kiefer

Authentication
--------------

*kiefer* takes care of the tedious OAuth2 process.

Before you can start, you need to create a config file with your
``client_id``, ``client_secret``, ``redirect_uri`` and the ``scope`` of
your app. You can use the included ``config_example.json`` as a
template.

You can create your Jawbone account and app here:
`Link <https://jawbone.com/up/developer/account>`__

After creating the config file all interaction that is needed is
copy-pasting a URL:

::

    from kiefer.auth import KieferAuth

    auth = KieferAuth('config.json')
    access_token = auth.get_access_token()

Usage
-----

After retrieving your access token, initialize the client:

::

    from kiefer.client import KieferClient

    client = KieferClient(your_access_token)

A ``KieferClient`` instance offers methods to retrieve following metrics
from the Jawbone UP API:

-  band events
-  body event(s)
-  heart rate
-  custom events
-  goals
-  meal(s)
-  mood(s)
-  move(s)
-  settings
-  sleep(s)
-  time zone
-  user information
-  workout(s)

A *(s)* indicates that you can retrieve a list of events as well as a
single event.