semvec/pypi-packages huggingface dataset:
cvutils 0.2.4
Utilites for Computer Vision and Image Processing
License: MIT
Keywords: computer vision,image procesing

cvutils
=======

This repository contains useful utilities to ease the task of creating
computer vision and image processing projects. A number of command line
tool have also been added to make the project useful for general use.

REQUIREMENTS
------------

1. ``cv2``
2. ``os``
3. ``matplotlib``
4. ``argparse``

INSTALLATION
------------

1. From source

   .. code:: bash

       git clone https://github.com/bikz05/cvutils.git
       cd cvutils
       python install setup.py

2. From PyPI

   ::

       pip install cvutils

   *NOTE* -- You might need root access to install the package globally
   on Linux. Use the ``sudo`` prefix to solve this problem.

COMMAND LINE TOOLS
------------------

Resizing an image
~~~~~~~~~~~~~~~~~

To resize an image use the command-line tool ``cvutils-resize``.

.. code:: bash

    cvutils -i <path to image> -w <required width> -ht <required height>

-  The resuting image is saved in the same directory as the input image
   with the suffix ``-resized`` added before the extension.
-  Height (``-ht``) is optional and is automatically calculated if width
   is set to zero.

Interactive Crop
~~~~~~~~~~~~~~~~

To crop an image use the command-line tool ``cvutils-crop``.

.. code:: bash

    cvutils-crop -i <path to image> 

-  Multiple regions can also be cropped from the image using the script.
-  Selected regions can also be undone by pressing the ``d`` key.
-  To save the selects, press ``s`` key and to discard the selections
   press the ``q`` key.
gtfe 1.2.1
Get the number of seconds since the Unix epoch for a given datetime.
License: MIT
Keywords: epoch datetime time timezone

.. image:: https://travis-ci.org/mverteuil/gtfe.svg?branch=master
    :target: https://travis-ci.org/mverteuil/gtfe

installation
------------

`pip install gtfe`

usage
-----

didactic example::

    >>> import time, datetime, gtfe
    >>> time.time(), gtfe.get_epoch_for_datetime(datetime.datetime.now())
    (1434054301.937659, 1434054301.0)

testing
-------

- Clone the repository
- `python setup.py test`
livechart 0.0.8
A CLI utility for charting data on the fly.
License: MIT

livechart
==========

A command-line utility for rendering quick-and-dirty graphs of STDIN input.

.. figure:: https://cloud.githubusercontent.com/assets/4467604/6364493/ce8e79d0-bc74-11e4-8da2-156426b6d936.png
   :alt: Some sample graphs generated with livechart.

installation
~~~~~~~~~~~~

Tested against Python 2.7.

::

    sudo pip install livechart

usage
~~~~~

Pipe lines containing either JSON-serialized objects or numbers into
``livechart``; the data *must* be consistent for the duration of usage. Input
like ``{"a": 1, "b": 3, "c": 5}`` will result in three graphs, while ``1.00``
will plot just one.

::

    some_script | livechart

Run ``livechart --help`` for all configuration options.
fiscalmodel 0.1.1
Reference data for fiscal data classification
License: MIT
Keywords: reference data budgets spending revenue fiscal

# fiscalmodel

This package holds reference data (taxonomies) for the classification of fiscal data (government budgets, expenditure reports, and similar). The goal is to provide a simple yet comprehensive way to describe the purpose and contents of a particular dataset with regards to a country's budget process.

This is used by [spendb](https://github.com/pudo/spendb) to structure the navigation and workflow around fiscal data stored within the platform.

For potential dimensions of this classification effort, see:

* spendb: [How can we structure the datasets?](https://github.com/pudo/spendb/wiki/How-can-we-structure-the-datasets%3F)
* [Open Budget Survey Tracker](http://www.obstracker.org/)
qt5reactor-fork 0.2
Twisted Qt Integration
License: MIT
Keywords: Qt,twisted

Qt5Reactor

Using the QtReactor
-------------------

Before running / importing any other Twisted code, invoke:

::

    app = QApplication(sys.argv) # your code to init QtCore
    from twisted.application import reactors
    reactors.installReactor('qt5')

or

::

    app = QApplication(sys.argv) # your code to init QtCore
    import qt5reactor
    qt5reactor.install()

Testing
~~~~~~~

::

   trial --reactor=qt5 [twisted] [twisted.test] [twisted.test.test_internet]

Make sure the plugin directory is in path or in the current directory for
reactor discovery to work.

Testing on Python 3
~~~~~~~~~~~~~~~~~~~

``trial`` does not work on Python3 yet. Use Twisted's `Python 3 test runner`_ instead.

.. _Python 3 test runner: https://twistedmatrix.com/trac/browser/trunk/admin/run-python3-tests

Install the reactor before calling ``unittest.main()``.

::

    import qt5reactor
    qt5reactor.install()
    unittest.main(...)