semvec/pypi-packages huggingface dataset:
coverage-badge 1.1.2
Generate coverage badges for Coverage.py.
License: MIT
Keywords: coverage badge shield

Coverage.py Badge
==================

.. |buildstatus| image:: https://github.com/dbrgn/coverage-badge/workflows/CI/badge.svg
    :alt: Build status
    :target: https://github.com/dbrgn/coverage-badge/actions?query=branch%3Amain
.. |downloads| image:: https://img.shields.io/pypi/dm/coverage-badge.svg
    :alt: PyPI Downloads
    :target: https://pypi.python.org/pypi/coverage-badge
.. |example| image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/example.svg
    :alt: Example coverage badge

|buildstatus| |downloads|

   ⚠️ coverage-badge is in maintenance mode. I might still do occasional updates
   and fixes from time to time, but there will be no added features. Most
   people using coverage-badge might want to use genbadge_ instead, which has
   more features (e.g. test badges, flake8 reports, etc).

A small script to generate coverage badges using Coverage.py.

Example of a generated badge: |example|

The badge template has been taken from shields.io_, therefore it should look
mostly good. (The spec is a bit stricter on the margins, but I can't easily do
text width calculations in Python so the margins might not always be 4px.)

.. _shields.io: http://shields.io/
.. _genbadge: https://smarie.github.io/python-genbadge/

Installation
------------
Run:

.. code-block::
    
    pip install coverage-badge


Usage
-----

First, run Coverage.py to generate the necessary coverage data. Then you can
either return the badge SVG to stdout::

    $ coverage-badge

...or write it to a file::

    $ coverage-badge -o coverage.svg

It's important that you run ``coverage-badge`` from the directory where the
``.coverage`` data file is located.

Different colors for cover ranges:

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/15.svg
    :alt: 15%

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/45.svg
    :alt: 45%

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/65.svg
    :alt: 65%

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/80.svg
    :alt: 80%

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/93.svg
    :alt: 93%

.. image:: https://cdn.rawgit.com/dbrgn/coverage-badge/main/media/97.svg
    :alt: 97%

----

The full usage text::

    usage: __main__.py [-h] [-o FILEPATH] [-p] [-f] [-q] [-v]

    Generate coverage badges for Coverage.py.

    optional arguments:
      -h, --help   show this help message and exit
      -o FILEPATH  Save the file to the specified path.
      -p           Plain color mode. Standard green badge.
      -f           Force overwrite image, use with -o key.
      -q           Don't output any non-error messages.
      -v           Show version.

License
-------

MIT License, see `LICENSE.txt` file..
habra-favorites 2.0.1
Sort your favorites posts from Habrahabr.ru
License: MIT
Keywords: scrapy, habr.com, bookmarks, favorites

HabraFavorites
==============


.. image:: https://img.shields.io/pypi/v/habra-favorites.svg
    :alt: Последняя версия
    :target: https://pypi.python.org/pypi/habra-favorites/

.. image:: https://img.shields.io/pypi/dm/habra-favorites.svg
    :alt: Загрузки
    :target: https://pypi.python.org/pypi/habra-favorites/


Статистика избранных статей с сайта `Хабр <http://habr.com>`_
в виде HTML-страницы или данных в различных форматах.

.. image:: https://habrastorage.org/files/24c/1d3/0d6/24c1d30d62d84d7eb7fb9647d6a0e960.png
    :alt: Статистика


Установка
---------

.. code-block:: bash

    $ pip install habra-favorites

Приложение основано на фреймворке `Scrapy <http://scrapy.org>`_.
При возникновении ошибок при установке обратитесь к
`инструкции по установке Scrapy <http://doc.scrapy.org/en/latest/intro/install.html#pre-requisites>`_.


Использование
-------------

.. code-block:: bash

    $ habra_favorites [-h] [--version] [-f FORMAT] [-o NAME] username

Один обязательный параметр -- *username*. Логин пользователя, чьи избранные статьи будут собраны.
Это может быть как Ваш логин, так и логин любого другого пользователя.

Опции:

* FORMAT -- формат результата: *html* (по умолчанию), *json*, *csv*, *xml*;
* NAME -- имя файла для сохранения: по умолчанию *favorites.html* .


Результат
---------

При нажатии на заголовки колонок созданной HTML-страницы посты отсортируются в соответствующем порядке.
Повторное нажатие на активный заголовок пересортирует посты в обратном порядке.