Metadata-Version: 2.1
Name: convertme
Version: 0.1.0
Summary: Simple dataset convertor in Python
Home-page: https://github.com/mikulatomas/convertme
Author: Radek Janoštík, Tomáš Mikula, Roman Vyjídáček
Author-email: radek.janostik@upol.cz, mail@tomasmikula.cz, r.vyjidacek@gmail.com
License: MIT license
Keywords: convertme
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
Requires-Dist: Click (>=7.0)
Requires-Dist: mat4py (>=0.4.2)
Requires-Dist: h5py (>=2.10.0)
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'

===========================
ConvertMe -- Ayoyoyo Wololo
===========================


.. .. image:: https://img.shields.io/pypi/v/convertme.svg
..         :target: https://pypi.python.org/pypi/convertme

.. image:: https://img.shields.io/travis/mikulatomas/convertme.svg
        :target: https://travis-ci.org/mikulatomas/convertme.svg?branch=development

.. image:: https://codecov.io/gh/mikulatomas/convertme/branch/development/graph/badge.svg
  :target: https://codecov.io/gh/mikulatomas/convertme

.. .. image:: https://readthedocs.org/projects/convertme/badge/?version=latest
..         :target: https://convertme.readthedocs.io/en/latest/?badge=latest
..         :alt: Documentation Status


Simple dataset convertor in Python. Not released on PyPy yet.

.. image:: https://img.youtube.com/vi/Up2eawxvTmg/0.jpg
  :target: https://www.youtube.com/watch?v=Up2eawxvTmg

* Free software: MIT license

.. * Documentation: https://convertme.readthedocs.io.


Installation
------------
Install package via ``pip``:

.. code:: bash

        $ pip install convertme

Use the provided CLI:

.. code:: bash

        $ convertme --help
        Usage: convertme [OPTIONS]

        Options:
          -if, --input-format [csv|fimi|burmeister|mat]
                                          [required]
          -of, --output-format [csv|fimi|burmeister|mat]
                                          [required]
          -i, --input TEXT                Input file, skip it for stdin.
          -o, --output TEXT               Output file, skip it for stdout.
          --input-delimiter TEXT          (CSV) Delimiter of input.  [default: ,]
          --output-delimiter TEXT         (CSV) Delimiter of output.  [default: ,]
          --objects-col INTEGER           (CSV) Index of column with object labels,
                                          typically 0, ignored on default.

          --attributes-row INTEGER        (CSV) Index of row with attribute labels,
                                          typically 0, ignored on default.

          --true-values TEXT              (CSV) Values which will be count as True,
                                          comma separated.

          --help                          Show this message and exit.

Basic usage:
------------
Convert simple ``csv`` file to ``fimi`` format:

.. code:: bash

        $ convertme -i dataset.csv -if=csv -o dataset.fimi -of=fimi

Content of ``dataset.csv``:

.. code:: bash

        1,0,1,0
        0,1,0,1

Content of ``dataset.fimi``:

.. code:: bash

        0 2
        1 3

Supported formats
-----------------
* csv
* burmeister (.cxt)
* fimi
* matlab (version<=7.3)

Development
-----------
Clone this repository to the folder, then:

.. code:: bash

        # create virtualenv (optional)
        $ mkvirtualenv convertme -p python3

        #if is not actived (optional)
        $ workon convertme 

        $ pip install -e .

        $ python setup.py test

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.1.0 (2020-03-24)
------------------
* Supported formats (csv, burmeister, fimi, matlab (version<=7))
* Basic CLI implemented


