Giter VIP home page Giter VIP logo

db_csv_parser's Introduction

db_csv_parser

Parse csv db by index

Usage

USAGE:

   db_parse_0.1.1_Os  [-hu] [--version] [-n <string>] [-s <string>] -a
                      <string> ... -k <string> ... files ...


Where:

   -s <string>,  --spliter <string>
     spliter of string

   -n <string>,  --new_spliter <string>
     new_spliter of string

   -u,  --unescape
     Unescape spliters. To work with '\t', etc.

   -k <string>,  --keys <string>  (accepted multiple times)
     (required) keys of indexes. Example: -k key1 -k key2

   -a <string>,  --values <string>  (accepted multiple times)
     (required) indexes to parse separated by ','. Example: -a '0,1' -a '3,
     4'

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

   files (accepted multiple times) <path>
     (required) file names

Example:

db_parse -s "," -n ":" -k value1 -a 0,1 -k val2 -a 1,2 file1.txt file2.txt

with \t spliter, always use -u argument(for unescape):

db_parse -s "\t" -u -n ":" -k value1 -a 0,1 -k val2 -a 1,2 file1.txt file2.txt

db_csv_parser's People

Contributors

vlad-com avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.