Installation

This part of the documentation covers the installation process of scieloapi.py.

Pip

Installing scieloapi.py is simple with pip:

$ pip install scieloapi

Get the Code

scieloapi.py is actively developed on GitHub, check it out here.

You can either clone the public repository:

git clone git://github.com/scieloorg/scieloapi.py.git

Download the tarball:

$ curl -OL https://github.com/scieloorg/scieloapi.py/tarball/master

Or, download the zipball:

$ curl -OL https://github.com/scieloorg/scieloapi.py/zipball/master

Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:

$ python setup.py install

Settings up the logger handler

It is expected that the application using scieloapi defines a logger for scieloapi, e.g.:

logging.getLogger('scieloapi').addHandler(logging.StreamHandler())

See the official docs for more info.