Will >> Will's blog
Sat, 16 Feb 2013
Django Eadred gives you some scaffolding for generating sample data to make it easier for new contributors to get up and running quickly, bootstrapping required database data, and generating large amounts of random data for testing graphs and things like that.
For v0.2, I added some helper methods for generating names, email addresses, sentences and paragraphs. It's definitely the case that these helpers won't handle all use cases, but I think they'll help specific ones.
There are no backwards-compatability problems with v0.1.
To update, do:
pip install -U eadred
Tue, 16 Oct 2012
I work on a few projects that had a need for generating sample data to make it easier for new contributors to get up and running quickly with little effort. These projects are fairly data-driven---they're kind of useless without data.
Then we had a hankering for it in SUMO, plus I thought it made sense to turn it into its own app. So I spun it out into its own project.
Thus django-eadred was born.
Generally, it allows you to define a sampledata.py module with a generate_sampledata function that takes command line options to generate sample data for any app you want to generate sample data for.
You can use it to define different ways of generating sample data specified by the command line.
You can use it to generate random data, non-random data, initial data, data for contributors, sample data for large data sets, fixture data, etc.
Check out django-eadred.readthedocs.org for use cases, documentation and project details.