SDVG (Synthetic Data Values Generator) is a tool for generating synthetic data. It supports various run modes, data types for generation, and output formats.
Run modes:
Data types:
String subtypes:
Each data type can be generated with the following options:
Output formats:
You can install SDVG by downloading the appropriate binary version from the GitHub Releases page.
Download binary for your OS:
# Linux (x86-64) curl -Lo sdvg https://github.com/tarantool/sdvg/releases/latest/download/sdvg-linux-amd64
# Linux (ARM64) curl -Lo sdvg https://github.com/tarantool/sdvg/releases/latest/download/sdvg-linux-arm64
# macOS (x86-64) curl -Lo sdvg https://github.com/tarantool/sdvg/releases/latest/download/sdvg-darwin-amd64
# macOS (ARM64) curl -Lo sdvg https://github.com/tarantool/sdvg/releases/latest/download/sdvg-darwin-arm64
Install binary in your system:
chmod +x sdvg sudo mv sdvg /usr/local/bin/sdvg
Check that everything works correctly:
Compile and install from sourcesTo compile and install this tool, you can use go install
command:
# To get the specified version go install github.com/tarantool/sdvg@0.0.2 # To get a version from the master branch go clean -modcache go install github.com/tarantool/sdvg@latest
Check that everything works correctly:
Here's an example of a data model that generates 10,000 user rows and writes them to a CSV file:
output: type: csv models: user: rows_count: 10000 columns: - name: id type: uuid - name: name type: string type_params: logical_type: first_name
Save this as simple_model.yml
, then run:
sdvg generate simple_model.yml
This will create a CSV file with fake user data like id
and name
:
id,name
c8a53cfd-1089-4154-9627-560fbbea2fef,Sutherlan
b5c024f8-3f6f-43d3-b021-0bb2305cc680,Hilton
5adf8218-7b53-41bb-873d-c5768ca6afa2,Craggy
...
To launch the generator in interactive mode:
To view available commands and arguments:
sdvg -h sdvg --help sdvg generate -h
More information can be found in the user guide.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4