2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:58:31 +01:00
2016-05-15 18:58:37 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-15 10:16:31 +01:00
2016-05-28 16:14:35 +01:00
2016-05-30 10:51:24 +01:00
2016-05-30 10:51:24 +01:00
2016-05-30 10:51:24 +01:00

========
Overview
========

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - |travis| |requires| |codecov| |codacy|
    * - package
      - |version| |wheel| |supported-versions| |supported-implementations|

.. |docs| image:: https://readthedocs.org/projects/mal-scraper/badge/?style=flat
    :target: https://readthedocs.org/projects/mal-scraper
    :alt: Documentation Status

.. |travis| image:: https://travis-ci.org/QasimK/mal-scraper.svg?branch=master
    :alt: Travis-CI Build Status
    :target: https://travis-ci.org/QasimK/mal-scraper

.. |requires| image:: https://requires.io/github/QasimK/mal-scraper/requirements.svg?branch=master
    :alt: Requirements Status
    :target: https://requires.io/github/QasimK/mal-scraper/requirements/?branch=master

.. |codecov| image:: https://codecov.io/github/QasimK/mal-scraper/coverage.svg?branch=master
    :alt: Coverage Status
    :target: https://codecov.io/github/QasimK/mal-scraper

.. |codacy| image:: https://img.shields.io/codacy/77e1509bdc184167864233483afefd00.svg?style=flat
    :target: https://www.codacy.com/app/QasimK/mal-scraper
    :alt: Codacy Code Quality Status

.. |version| image:: https://img.shields.io/pypi/v/mal-scraper.svg?style=flat
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/mal-scraper

.. |wheel| image:: https://img.shields.io/pypi/wheel/mal-scraper.svg?style=flat
    :alt: PyPI Wheel
    :target: https://pypi.python.org/pypi/mal-scraper

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/mal-scraper.svg?style=flat
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/mal-scraper

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/mal-scraper.svg?style=flat
    :alt: Supported implementations
    :target: https://pypi.python.org/pypi/mal-scraper


.. end-badges

 MyAnimeList web scraper is a Python library for gathering data for analysis.


Usage
=====

Use the [online documentation](https://mal-scraper.readthedocs.io/), and just::

    pip install mal-scraper


Development
===========

After cloning, and creating a virtualenv, install the development dependencies::

    pip install -e .[develop]

You should install Python interpreters 3.4, and 3.5 because tox will test on all of them. (Hints: `Linux <https://askubuntu.com/questions/125342/how-can-i-install-python-2-6-on-12-04>`_.)

To run the all tests run::

    tox

- Tests will always mock requests to the internet. You can set the environment variable :code:`LIVE_RESPONSES=1` to properly test web scraping.
- Run tests faster using just :code:`py.test` (useful for intermediate development). However, tox must be run as it also tests documentation, additional style linting etc.
- You can look at coverage results inside `htmlcov/index.html`.

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox
S
Description
Mirror of github.com/RustyRaptor/mal-scraper — MyAnimeList web scraper is a Python library for gathering data for analysis
Readme MIT
406 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%