<commit_before>**Convertit** is a format conversion webservice. 

Retrieve your document in an other format ! The input file is converted and served back !
Using a dead simple ``GET`` request, documents are pulled. Using ``POST`` request, it takes the attachment.

.. image:: https://secure.travis-ci.org/makinacorpus/convertit.png?branch=master


Supported conversions:

- odt -> pdf
- odt -> doc
- ods -> xls
- csv -> ods
- csv -> xls
- svg -> pdf
- svg -> png

Previously converted documents are cleaned along the way (on each request).


=====
USAGE
=====

Using GET request
-----------------

Example, convert from *odt* to *pdf* :

::<commit_msg>Add link to travis on badge image<commit_after>**Convertit** is a format conversion webservice. 

Retrieve your document in an other format ! The input file is converted and served back !
Using a dead simple ``GET`` request, documents are pulled. Using ``POST`` request, it takes the attachment.

.. image:: https://api.travis-ci.org/makinacorpus/convertit.png
    :target: https://travis-ci.org/makinacorpus/convertit


Supported conversions:

- odt -> pdf
- odt -> doc
- ods -> xls
- csv -> ods
- csv -> xls
- svg -> pdf
- svg -> png

Previously converted documents are cleaned along the way (on each request).


=====
USAGE
=====

Using GET request
-----------------

Example, convert from *odt* to *pdf* :

::
{'fraction_non_alphanumeric': 0.14725274725274726, 'fraction_numerical': 0.0, 'mean_word_length': 3.1773700305810397, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1237766', 'n_tokens_mistral': 431, 'n_tokens_neox': 410, 'n_words': 160}