STDG is a Python package that automates the generation of test/fake data for any Shopify store. Are you developing a new feature, service, and/or plugin, but need some data in a store to actually help you with your testing? Then STDG may be for you! Save yourself the hassle of manually creating all that Shopify store data through the dashboard. You need STDG.
STDG is built and developed using Python 3.4.x
STDG is dependent on the following packages: ShopifyAPI, and Faker
Note: This package is currently in a sandbox state. While usable, presently it's restricted to command-line usage only. This README file may be out of date at any time and further configuration may be required and/or necessary.
Note that STDG has been developed using Python 3.x and has not been tested with Python 2.x.
- First get a python virtualenv up and running and clone the repo. Then:
python setup.py develop
- Open and edit the provided stdg-sample.ini file and add your Shopify API credentials and optional settings.
- Save your above edits as stdg.ini.
Simple help:
stdg -h
Help on creating orders:
stdg orders -h
Create 3 orders:
stdg orders create 3
Create 2 customers:
stdg customers create 2
Delete all generated orders:
stdg orders delete
Delete all generated customers:
stdg customers delete