Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willkg/django-eadred
eadred is a Django app for generating sample data.
https://github.com/willkg/django-eadred
Last synced: about 2 months ago
JSON representation
eadred is a Django app for generating sample data.
- Host: GitHub
- URL: https://github.com/willkg/django-eadred
- Owner: willkg
- License: bsd-3-clause
- Archived: true
- Created: 2012-09-26T17:54:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-16T16:16:12.000Z (over 10 years ago)
- Last Synced: 2024-07-22T20:22:10.769Z (5 months ago)
- Language: Python
- Size: 248 KB
- Stars: 28
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
- my-awesome-starred - django-eadred - eadred is a Django app for generating sample data. (Python)
README
========
README
========eadred is a Django-app for generating sample data.
Why? Here are the use cases we're solving:
**Use Case 1: Contributors**
Mildred wants to contribute to your Django project, but your
Django project is non-trivial and out of the box it's not very
usable because it needs data.However, you're using eadred, so in your setup documentation, you
have a one-liner that generates all the sample data Mildred needs
to start hacking immediately.**Use Case 2: Bootstrapping**
Willhelm wants to set up an instance of your Django project. It
requires certain non-trivial initial data to be in place before it
works.However, you're using eadred, so in your setup documentation, you
have a one-liner that generates all the initial data needed.**Use Case 3: Large amounts of random data**
Phylida is a hacker on your Django project and trying to fix bugs
with a section of code that requires large amounts of data---say
it's one of those things that graphs data sets or something.You're using eadred, so it's a one-liner to generate a large set
of initial data."Wait, use cases 1 and 2 are easily solved with Django and fixtures!"
I think fixtures are good for specific use cases where your models
aren't changing and you have some contributor who likes entering in
data to build the initial fixtures. Having said that, I don't use
fixtures.eadred allows you to programmatically generate the data using model
makers, factories, fixtures, random seeds---whatever your needs are.Additionally, eadred provides library functions to make generating
data easier.Project details
===============Code:
http://github.com/willkg/django-eadredDocumentation:
http://django-eadred.rtfd.org/Issue tracker:
https://github.com/willkg/django-eadred/issuesLicense:
BSD 3-clause; see LICENSE file