semvec/pypi-packages huggingface dataset:
gruffy 0.3.4
Gruffy is Python implemetation of Gruff(Ruby Graphing Library)
License: MIT
Keywords: chart graph visualize

About
=====
Gruffy is a yet another Python Graphing Library.
inspired by `Gruff`_ (Ruby Graphing Library).

This module using `pgmagick`_ (GraphicsMagick) .

.. _`Gruff`: http://nubyonrails.com/pages/gruff
.. _`pgmagick`: http://pypi.python.org/pypi/pgmagick/


Install
=======
Install from PyPI::

    $ pip install gruffy


Require
=======
`pgmagick`_ module.

package install on Ubuntu::

    $ apt-get install libgraphicsmagick++-dev
    $ apt-get install libboost-python1.40-dev
    $ pip install pgmagick


Basic Usage
===========

Bar Graph Sample::

    from gruffy import Bar

    g = Bar()
    g.title = "Gruffy's Graph"

    g.data("Apples", [1, 2, 3, 4, 4, 3])
    g.data("Oranges", [4, 8, 7, 9, 8, 9])
    g.data("Watermelon", [2, 3, 1, 5, 6, 8])
    g.data("Peaches", [9, 9, 10, 8, 7, 9])

    g.labels = {0: '2003', 2: '2004', 4: '2005'}

    g.write('sample.png')


Getting the source
==================
Download from github_ or PyPI_

.. _github: http://github.com/hhatto/gruffy
.. _PyPI: http://pypi.python.org/pypi/gruffy


Documentation
=============
`Gruffy Documentation`_

.. _`Gruffy Documentation`: http://www.hexacosa.net/documents/gruffy/
chamomile 1.0.1
Jasmine-style assertions for unittest
License: MIT

Chamomile
=========

Chamomile makes it more pleasant to make assertions inside your Python unit
tests. It borrows heavily from Jasmine_'s assertion syntax. Take a look::

    import chamomile

    class ExampleTest(chamomile.Test):
        def test_simple_assertions(self):
            self.expect(12).to_equal(12)
            self.expect(False).to_not_be(0)

            with self.expect(ZeroDivsionError):
                4 / 0

You can easily browse the full list of available assertions in the source_.

.. _Jasmine: http://pivotal.github.com/jasmine/
.. _source: https://github.com/enaeseth/chamomile/blob/master/chamomile/test.py