semvec/pypi-packages huggingface dataset:
zhihuapi 0.6.0
Unofficial API for zhihu.
License: MIT
Keywords: zhihuapi zhihu api crawler spider

zhihu API
=========================

**UNOFFICIAL** API for `zhihu <https://www.zhihu.com>`_. This package supports only Python 3.x.

A `Node.js implementation <https://github.com/syaning/zhihu-api>`_ is also available.

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

.. code-block:: bash

    $ pip install zhihuapi

Quich Start
-----------

.. code-block:: python

    import zhihuapi as api

    with open('cookie') as f:
        api.cookie(f.read())

    data = api.user('zhihuadmin').profile()
    print(data)

The result is:

.. code-block:: js
	
	{
	    "url_token": "zhihuadmin",
	    "avatar_url": "https://pic3.zhimg.com/34bf96bf5584ac4b5264bd7ed4fdbc5a_is.jpg",
	    "avatar_url_template": "https://pic3.zhimg.com/34bf96bf5584ac4b5264bd7ed4fdbc5a_{size}.jpg",
	    "type": "people",
	    "name": "知乎小管家",
	    "headline": "欢迎反馈问题和建议！",
	    "is_org": false,
	    "url": "https://www.zhihu.com/people/zhihuadmin",
	    "badge": [
	        {
	            "type": "identity",
	            "description": "知乎官方帐号"
	        }
	    ],
	    "user_type": "people",
	    "is_advertiser": false,
	    "id": "3d198a56310c02c4a83efb9f4a4c027e"
	}

License
-------

MIT
marbaloo_dogpile 0.1.0
Dogpile support for cherrypy.
License: MIT
Keywords: dogpile cherrypy marbaloo marbaloo_dogpile

Marbaloo Dogpile
================

`dogpile <https://bitbucket.org/zzzeek/dogpile.cache/>`_ support for cherrypy.



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

    pip install marbaloo_dogpile

Usage
-----

::

    # app.py
    import cherrypy
    import marbaloo_dogpile
    import os

    marbaloo_dogpile.Plugin(cherrypy.engine).subscribe()
    cherrypy.tools.dogpile = marbaloo_dogpile.Tool()


    class Root(object):

        @cherrypy.expose
        def index(self):
            dogpile = cherrypy.request.dogpile
            counter = dogpile.get('counter')
            counter = 0 if isinstance(counter, int) is False else counter
            dogpile.set('counter', counter + 1)
            return str(counter)

    root_path = os.path.dirname(__file__)
    dogpile_dbm_path = os.path.join(root_path, 'dogpile.dbm')
    config = {
        'global': {
            'marbaloo_dogpile': {
                'backend': 'dogpile.cache.dbm',
                'expiration_time': 3600,
                'arguments': {'filename': dogpile_dbm_path},
            }
        },
        '/': {
            'tools.dogpile.on': True
        }
    }
    cherrypy.quickstart(Root(), '/', config)
getgauge 0.2.0
Enables Python support for Gauge
License: MIT
Keywords: testing,gauge,gauge-python,getgauge,automation

Gauge Python |Travis Build Status| |Codacy Project Status| |Documentation Status| |MIT licensed|
================================================================================================

Python language runner for `Gauge`_.

* `Documentation`_
* `Contributing`_

Examples
--------

* `Selenium`_
* `Selenium and REST API`_

Issues
------

If you find any issues or have any feature requests, please file them in the `issue tracker`_.

.. _issue tracker: https://github.com/kashishm/gauge-python/issues

License
-------

The Gauge-Python is an open-sourced software licensed under the `MIT license`_.

.. _Gauge: https://github.com/getgauge/gauge
.. _Documentation: https://gauge-python.readthedocs.org
.. _Contributing: https://gauge-python.readthedocs.io/en/latest/contributing.html
.. _MIT license: http://opensource.org/licenses/MIT
.. _Selenium: https://github.com/kashishm/gauge-example-python
.. _Selenium and REST API: https://angbaird.com/2016/11/09/selenium-and-rest-api-testing-with-gauge/

.. |Documentation Status| image:: https://readthedocs.org/projects/gauge-python/badge/?version=latest
   :target: http://gauge-python.readthedocs.org/en/latest/?badge=latest
.. |Travis Build Status| image:: https://travis-ci.org/kashishm/gauge-python.svg?branch=master
   :target: https://travis-ci.org/kashishm/gauge-python
.. |Codacy Project Status| image:: https://api.codacy.com/project/badge/Grade/2b96566538d1445685f9ad7792456b97
   :target: https://www.codacy.com/app/kashishmunjal64/gauge-python?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=kashishm/gauge-python&amp;utm_campaign=Badge_Grade
.. |MIT licensed| image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: https://github.com/kashishm/gauge-python/blob/master/LICENSE.txt
botodesu 0.2
An automatically expanding Telegram bot API that supports the latest Telegram features.
License: MIT

ボットです(Bo-to Desu!)！
=======================
An automatically expanding Telegram bot API that supports the latest Telegram features.

Documentation
-------------
The documentation of Botodesu is on `Read the docs <https://botodesu.readthedocs.io>`_.

Example
-------
An Echo Bot:

.. code-block:: python

  async with botodesu.Boto("YOUR_API_KEY") as boto:
      async for update in boto:
          if "message" not in update.keys():
              continue

          message = update.message

          if "text" not in message.keys():
              continue

          text = message.text

          await boto.send_message(
              chat_id=message.chat.id,
              text="You said: \"{}\".".format(text),
              reply_to_message_id=message.message_id)

Prerequisites
-------------
- `python_version>=3.5.2`
- `aiohttp>=1.2.0`

Try it out!
-----------
.. code-block:: shell

  $ pip install -U botodesu

License
-------
MIT License

Copyright (c) 2017 Kaede Hoshikawa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.