Metadata-Version: 1.1
Name: csb43
Version: 0.1
Summary: Spanish banks' CSB norm 43 converter to OFX and Homebank
Home-page: https://bitbucket.org/wmj/csb43
Author: wmj
Author-email: wmj.py@gmx.com
License: LGPL
Description: 
        English
        -------
        
        Tools for converting from the Spanish banks' format **CSB norm 43**
        (*CSB43*).
        
        csb2ofx
        ~~~~~~~
        
        File converter from the *CSB43* to `OFX <http://www.ofx.net/>`_
        format.
        
        Usage:
        
        ::
        
            $ csb2ofx --help
            usage: csb2ofx [-h] [-s] [-df] [-d DECIMAL] [csbFile] [ofxFile]
        
        
            Convert a CSB43 file to a OFX file
        
            positional arguments:
            csbFile               a csb43 file (stdin by default)
            ofxFile               name for output file (stdout by default)
        
            optional arguments:
            -h, --help            show this help message and exit
            -s, --strict          strict mode
            -df, --dayfirst       use DDMMYY as date format while parsing the csb43 file
                                    instead of YYMMDD
            -d DECIMAL, --decimal DECIMAL
                                    set the number of decimal places for the currency type
                                    (default: 2)
        
        From one file to another
        
        ::
        
            $ csb2ofx transactions.csb transactions.ofx
        
        or
        
        ::
        
            $ csb2ofx transactions.csb > transactions.ofx
        
        From another app to file
        
        ::
        
            $ get_my_CSB_transactions | csb2ofx > transactions.ofx
        
        csb2homebank
        ~~~~~~~~~~~~
        
        File converter from the *CSB43* to `HomeBank
        CSV <http://homebank.free.fr/help/06csvformat.html>`_ format.
        
        Usage:
        
        ::
        
            $ csb2homebank
            usage: csb2homebank [-h] [-s] [-df] [-d DECIMAL] [csbFile] [hbFile]
        
            Convert a CSB43 file to a HomeBank CSV file
        
            positional arguments:
            csbFile               a csb43 file (stdin by default)
            hbFile                name for output file (stdout by default
        
            optional arguments:
            -h, --help            show this help message and exit
            -s, --strict          strict mode
            -df, --dayfirst       use DDMMYY as date format while parsing the csb43 file
                                    instead of YYMMDD
            -d DECIMAL, --decimal DECIMAL
                                    set the number of decimal places for the currency type
                                    (default: 2)
        
        From one file to another
        
        ::
        
            $ csb2homebank transactions.csb transactions.csv
        
        or
        
        ::
        
            $ csb2homebank transactions.csb > transactions.csv
        
        From another app to file
        
        ::
        
            $ get_my_CSB_transactions | csb2homebank > transactions.csv
        
        Using Python
        ~~~~~~~~~~~~
        
        Parse a *CSB43* file and print the equivalent *OFX* file
        
        ::
        
            :::python
        
            # OFX
            from csb43 import csb_43, ofx
        
            csbFile = csb_43.File(open("movimientos.csb"), strict=False)
        
            # print to stdout
            print ofx.convertFromCsb(csbFile)
        
        Parse a *CSB43* file and print the equivalent *HomeBank CSV* file
        
        ::
        
            :::python
        
            # OFX
            from csb43 import csb_43, homebank
        
            csbFile = csb_43.File(open("movimientos.csb"), strict=False)
        
            # print to stdout
            for line in homebank.convertFromCsb(csbFile):
                print line
        
        --------------
        
        Español
        -------
        
        Herramientas para convertir ficheros en formato usado por múltiples
        bancos españoles (**norma 43 del Consejo Superior Bancario** [*CSB43*])
        a otros formatos.
        
        csb2ofx
        ~~~~~~~
        
        Conversor de archivo en *CSB43* a `OFX <http://www.ofx.net/>`_.
        
        Uso:
        
        ::
        
            $ csb2ofx --help
            usage: csb2ofx [-h] [-s] [-df] [-d DECIMAL] [csbFile] [ofxFile]
        
        
            Convert a CSB43 file to a OFX file
        
            positional arguments:
            csbFile               a csb43 file (stdin by default)
            ofxFile               name for output file (stdout by default)
        
            optional arguments:
            -h, --help            show this help message and exit
            -s, --strict          strict mode
            -df, --dayfirst       use DDMMYY as date format while parsing the csb43 file
                                    instead of YYMMDD
            -d DECIMAL, --decimal DECIMAL
                                    set the number of decimal places for the currency type
                                    (default: 2)
        
        De un archivo a otro
        
        ::
        
            $ csb2ofx transactions.csb transactions.ofx
        
        o bien
        
        ::
        
            $ csb2ofx transactions.csb > transactions.ofx
        
        Desde entrada estándar (otra aplicación) a archivo
        
        ::
        
            $ get_my_CSB_transactions | csb2ofx > transactions.ofx
        
        csb2homebank
        ~~~~~~~~~~~~
        
        Conversor de archivo de *CSB43* al formato `CSV de
        HomeBank <http://homebank.free.fr/help/06csvformat.html>`_.
        
        Uso:
        
        ::
        
            $ csb2homebank
            usage: csb2homebank [-h] [-s] [-df] [-d DECIMAL] [csbFile] [hbFile]
        
            Convert a CSB43 file to a HomeBank CSV file
        
            positional arguments:
            csbFile               a csb43 file (stdin by default)
            hbFile                name for output file (stdout by default
        
            optional arguments:
            -h, --help            show this help message and exit
            -s, --strict          strict mode
            -df, --dayfirst       use DDMMYY as date format while parsing the csb43 file
                                    instead of YYMMDD
            -d DECIMAL, --decimal DECIMAL
                                    set the number of decimal places for the currency type
                                    (default: 2)
        
        De un archivo a otro
        
        ::
        
            $ csb2homebank transactions.csb transactions.csv
        
        o bien
        
        ::
        
            $ csb2homebank transactions.csb > transactions.csv
        
        Desde entrada estándar (otra aplicación) a archivo
        
        ::
        
            $ get_my_CSB_transactions | csb2homebank > transactions.csv
        
        En Python
        ~~~~~~~~~
        
        Lee un archivo *CSB43* e imprime el contenido equivalente en *OFX*
        
        ::
        
            :::python
        
            # OFX
            from csb43 import csb_43, ofx
        
            csbFile = csb_43.File(open("movimientos.csb"), strict=False)
        
            # imprime a stdout
            print ofx.convertFromCsb(csbFile)
        
        Lee un archivo *CSB* e imprime el contenido equivalente a *CSV* de
        *Homebank*
        
        ::
        
            :::python
        
            # OFX
            from csb43 import csb_43, homebank
        
            csbFile = csb_43.File(open("movimientos.csb"), strict=False)
        
            # imprime a stdout
            for line in homebank.convertFromCsb(csbFile):
                print line
        
Keywords: csb csb43 homebank csv ofx Spanish bank
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Classifier: Topic :: Office/Business :: Financial
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Requires: pycountry
