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
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.
To satisfy that need, we wrote an app in richard to generate sample data across all the other apps in the project. Then I rewrote it for input.
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.
pyblosxom::1.5.3.wgkg
Copyright 1996 to 2013, Will Guaraldi Kahn-Greene, under the Creative Commons BY-SA 3.0 license

Will's Blog by William Kahn-Greene is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.