Code Monkey home page Code Monkey logo

shopify-test-data-generator's Introduction

Shopify Test Data Generator

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.


Basic Setup

Note that STDG has been developed using Python 3.x and has not been tested with Python 2.x.

  1. First get a python virtualenv up and running and clone the repo. Then:
python setup.py develop
  1. Open and edit the provided stdg-sample.ini file and add your Shopify API credentials and optional settings.
  2. Save your above edits as stdg.ini.

Basic Usage

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

shopify-test-data-generator's People

Contributors

saumets avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.