Giter Site home page Giter Site logo

theshoveler's Introduction

A gem to shovel data into a datastore (like Apache Solr!)

I constantly need loads of fakey data that loosely resembles real life. This is a gem to help with that!

Installation

Add this line to your application's Gemfile:

gem 'theShoveler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install theShoveler

Usage

The Shoveler comes complete with it's own command line tool.

shovel load solr --fields=title:Faker::Lorem.sentence --documents=20

Will load 20 fake data using the "solr" server module with a field called title whose values are a single "Lorem Ipsum" sentance.

Take a look at the docs for Faker to see what other options exist: http://rubydoc.info/github/stympy/faker/master/frames

Features on our to-do list:

  • More generators
  • Clean DSL for creating smarter generators (ala Factory girl)
  • Distrubuted data generation
  • More server backends
  • Specify a range or distribution of random values, so a field has more similar values across all docs

theshoveler's People

Contributors

omnifroodle avatar

Watchers

 avatar James Cloos avatar

Forkers

dbeach

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.