Skip to main content

Django app for generating sample data

Project description

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-eadred

Documentation:

http://django-eadred.rtfd.org/

Issue tracker:

https://github.com/willkg/django-eadred/issues

License:

BSD 3-clause; see LICENSE file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eadred-0.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

eadred-0.3-py2-none-any.whl (9.9 kB view details)

Uploaded Python 2

File details

Details for the file eadred-0.3.tar.gz.

File metadata

  • Download URL: eadred-0.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eadred-0.3.tar.gz
Algorithm Hash digest
SHA256 e28f931ee075469cf9c0fcd351f7801ea0aa6d788d01cdbe839e2ab356b8ca36
MD5 63a1caf6beffbe1bcfdace725dc79bbf
BLAKE2b-256 cefaa294c65609b837b9a15ef57fd01ab436a64cbec6da2857b6bf84300b5f3b

See more details on using hashes here.

File details

Details for the file eadred-0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for eadred-0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 88e7a4c03683afb3c1b3fed06381e478f619f1e7f9a820bb47abbf7f925d488b
MD5 9e1f709bcad9e6656b361e1d4fdfe238
BLAKE2b-256 cce0bdcb8c22fe6d777309c1875ea05337a1e90132b8357f585920e4c9509d17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page