semvec/pypi-packages huggingface dataset:
ikeys-cli 0.3.7
ikeystone python client
License: MIT
Keywords: ikeystone

ikeys-cli
=========

|Build Status| |Codacy Badge| |codecov| |PyPI|

ikeystone python client

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

PYPI
~~~~

.. code:: shell

    pip install ikeys-cli

GIT
~~~

.. code:: shell

    pip install https://github.com/MrLYC/ikeys-cli/archive/master.zip

Quick start
-----------

.. code:: python

    from ikeys_cli import IKeytoneAPI
    api = IKeytoneAPI(url="https://ikeystone.example.com/v1/")
    api.authenticate(
        domain="server_domain",
        user="server_user",
        password="server_password",
        project="server_project",
    )
    result = api.domain.request.verify({
        "domian": "client_domain",
        "user": "client_user",
        "project": "client_project",
        "expires": "client_expires",
        "nonce": "client_nonce",
        "signature": "client_signature",
    })

    assert(result.errno == 0, result.errmsg)
    print result.data

.. |Build Status| image:: https://travis-ci.org/MrLYC/ikeys-cli.svg?branch=master
   :target: https://travis-ci.org/MrLYC/ikeys-cli
.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/a60c4c155da142a7beea2d454495f347
   :target: https://www.codacy.com/app/imyikong/ikeys-cli?utm_source=github.com&utm_medium=referral&utm_content=MrLYC/ikeys-cli&utm_campaign=badger
.. |codecov| image:: https://codecov.io/gh/MrLYC/ikeys-cli/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/MrLYC/ikeys-cli
.. |PyPI| image:: https://img.shields.io/pypi/pyversions/ikeys-cli.svg
   :target: https://pypi.python.org/pypi/ikeys-cli
Shaft 0.0.8
A mid stack Flask based framework that put structure in the file system. Features: Caching, Mailing, Storage, CSRF, recaptcha, Cors. Supports HTML, Markdown and Jade and more
License: MIT
Keywords: flask,Shaft,templates,views,classy,framework,mvc,blueprint,shaft

Shaft

Shaft is a Flask based framework to help quickly develop web applications, by
adding structure to your views and templates.

Philosophy:

To create a framework that runs everywhere, regardless of the platform, by
providing cloud balh...

It made the following decisions for you: (of course you can change them)


It comes with pre-built components:


And it is still Flask.

https://github.com/mardix/shaft
marbaloo_telegram 0.1.0
python-telegram-bot support for cherrypy.
License: MIT
Keywords: telegram_bot telegram python_telegram_bot cherrypy marbaloo marbaloo_telegram

Telegram Bot for Cherrypy
=========================

`python-telegram-bot <https://python-telegram-bot.org/>`_ support for cherrypy.

Installation
------------
::

    pip install marbaloo_telegram

Usage
-----
For the simple way you can just send anything supported by `python-telegram-bot <https://python-telegram-bot.org/>`_,

::

    # app.py
    import marbaloo_telegram
    import cherrypy

    marbaloo_telegram.Plugin(cherrypy.engine, 'TOKEN').subscribe()
    cherrypy.tools.telegram = marbaloo_telegram.Tool()


    class Root(object):
        @cherrypy.expose
        def index(self):
            bot = cherrypy.request.telegram_dp.bot
            message = bot.sendMessage(text='TestMessage!', chat_id='38855883')
            return  message.text

    root_path = os.path.dirname(__file__)
    cherrypy.quickstart(Root(), '/', {
                                '/': {
                                    'tools.telegram.on': True,
                                }
                            })

But if you want to use more interactive interface,
you can get bot dispatcher from plugin and define your telegram controller after ``cherrypy.engine.start``,