{"repo":"whitfin/jen","free":true,"listed":false,"github":"https://github.com/whitfin/jen","clone":"git clone https://github.com/whitfin/jen.git","description":"A fast utility to generate fake/test documents based on a template","language":"Rust","stars":63,"topics":["data","dataset","generator","json","template","templating"],"license":"MIT","category":"databases-storage","readme_excerpt":"Jen A simple (but extensible) tool for generating large random datasets. Jen is a combination of a core library and a CLI, used to generate random datasets based on a template. There are existing tools for this purpose, but most of them live in a browser and they're naturally insufficient when it comes to generating large amounts of data. Jen was created to fill the niche of creating larger amounts of data for things like unit tests and database state. Jen's underlying template syntax is drive by Tera to aid in familiarity and to avoid re-inventing a templating language. On top of this layer, Jen offers many helpers based around randomizing data. Several of these helpers are based on fake, with additional helpers provided where there are gaps. You can naturally attach your own helpers when using Jen programmatically. Installation Jen will be available via Crates.io, so it can be installed from there directly. You can use Jen either as a command line utility, or directly via the programmatic API. If you wish to install Jen as a command line utility, you can install it via an easy one-liner in your terminal: If you wish to use it as a library, you can add it to your Cargo.toml as a dependency of your application: You should disable the default features as it includes several dependencies which are required for the CLI use case. These dependencies are not included in your application when these features are disabled. Usage The first step is to construct a template file which Jen","default_branch":null,"files":null,"tree":[],"storefront":"/r/whitfin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/whitfin/jen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}