Skip to content

CSV File

datacorner edited this page Jun 26, 2023 · 1 revision

This Data bridge leverages the BPPI API by reading a file content (CSV format) and pushing those data into a BPPI Repository Table (it's also possible to execute some To Do lists afterwards). Using this bridge is pretty easy as you just have to launch a command line (CLI).

Capabilities

  • Read the CSV file and load it into the BPPI Repository
  • Manages other delimiter (field separators), by default comma.

Launch via the command line

  • -sourcetype (Mandatory) csv
  • -configfile (Mandatory) Config file with all configuration details (INI format, see the template below) if a file is specified for the -configfile parameter the parameter file must follow the INI format rules. Example/Template -> see the config.ini-template (rename it as an *.ini file)
  • -filename (Mandatory) file to load (CSV format)
  • -sep (Optional/Comma by default) Fields separator

Example

Launch the program in the shell (windows or linux) command line like this:

$ python3 bppibridge.py -sourcetype csv -filename {myfile.csv} -configfile {config.ini}

Clone this wiki locally