Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

ivanflorentin/nimdbf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nimdbf

DBF libraries

This library is in very early stage of development

Utility to convert DBF files to various formats

Usage:

$ nimdbf --file: filename [additional options]

Options:

--file, -f: File to parse

--json, -j: Output in json format

--sql, l: Output in SQL format. header data are converted to CREATE TABLE with a tablename corresponding to the name of the file being processed. Records are converted to INSERTs

--header, -h: Output only header

--records, -r:n: Process n records

--start, -s:n: Start at record n (counting from 0)

Example

$nim c -r src/nimdbf.nim --file:myFile.dbf --json --records:4 --start:10

At this point it has been tested only with version 3 of the DBF spec, for files created with FOX and FOX Plus for Unix

I followed the documentation in the next links:

About

dbf reader written in Nim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages