Git Product home page Git Product logo

gcsv's Introduction

GCSV

Go Report Card

GCSV is a yaml based csv file generator.

Example

gcsv generate example.yaml
# example.yaml
documents:
  - name: example_data
    rows: 1000
    with_header: true
    columns:
      - name: id
        type: seq
        kwargs:
          initial_sequence: 100
      - name: last_name
        type: personal
        kwargs:
          mode: last_name
      - name: random_date
        type: date
        kwargs:
          format: 2006-01-02 03:04:05
          from: '2006-01-02 03:04:05'
          to: '2012-01-02 03:04:05'
      - name: random_int
        type: int
out:
CSV is generated
id last_name random_date random_int
101 Allen 2021-01-01 01:36:50 50
102 Burton 2020-05-11 09:32:31 44
103 Meyer 2020-11-23 09:10:21 56058
104 Wells 2020-12-16 10:34:11 2
105 Ray 2020-02-18 03:52:17 9397
106 Jones 2020-04-24 04:55:20 9189
107 Thompson 2020-04-24 05:09:18 823
108 Cox 2020-04-01 03:49:08 1
109 Duncan 2020-12-20 04:46:56 918
110 Howell 2020-07-23 07:37:29 47685

gcsv's People

Contributors

gelleson avatar

Stargazers

 avatar  avatar  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.