Installation#

Tip

Supported Python versions: 3.7 and higher

Stable release#

In order to install glQiwiApi, run this command in your terminal:

$ pip install glQiwiApi

This is the preferred installation method as it will always install the most recent stable release. If you do not have installed pip, this Python Installation Reference can help you in the process.

From source files#

You can either clone the public repository:

$ git clone -b dev-2.x git://github.com/GLEF1X/glQiwiApi

Once you get a copy of the source files, you can install them with:

$ python setup.py install

Recommendations#

You can hasten api by following the instructions below:

  • Use uvloop instead of default asyncio loop.

    uvloop is a rapid, drop-in replacement of the built-in asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood.

    Installation:

    $ pip install uvloop
    
  • Use orjson instead of the default json module.

    orjson is a rapid, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries

    Installation:

    $ pip install orjson