Metadata-Version: 2.1
Name: django-csv2json
Version: 0.2.2
Summary: Data conversor from csv to json, to create the fixtures for django apps
Home-page: https://www.gitlab.com/pineiden/csv-2-json
Author: David Pineda Osorio
Author-email: dpineda@csn.uchile.cl
License: GPL3
Description: Repository
        ============
        
        Download the module from:
        
        http://gitlab.csn.uchile.cl/dpineda/csv2json
        
        CSV to JSON
        ============
        
        This module is a conversor from csv data to json.
        
        The main goal is create a json file for *Django models*.
        
        The *csv* must have the same fields as the *django model*
        
        The *fields related* to *another models* uses the *natural key*. So every model must have a *natural_key* method.
        
        The third argument
        
        
        How to Install
        =================
        
        Using *pip*
        
        ```bash
        pip install django_csv2json
        ```
        
        From the repository
        
        ```bash
        python setup.py install
        ```
        
        How to use
        ===========
        
        This modules dispose a class *CSV2JSON*, that requires a origin folder, a destiniy folder and a list of files. Every element from this list must be a *dictionary* with the keys "{model, file, field, opts}".
        
        Also, there are a command to use on the *command line*.
        
        ```bash
        csv2json --origin "./csn" --destiny "./json" --file_json "./files.json"
        ```
        
        For help, type
        
        ```bash
        csv2json --help
        ```
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
