Skip to main content

If your Shopify store isn’t doing too well, it’s time to close it, but Shopify doesn’t provide an easy way to extract all your product catalogue. This Python utility allows you to do that. I wrote it for and tested it only on my mom’s candle store.

Features

  • Extract products and product variations to a JSON file, one per product

  • Extract product images to a local directory

  • Extract custom collections

Installation

pip install bye-bye-shopify

Configuration

In Shopify Admin, under Apps / Manage private apps (link at the very bottom of the page), create a new private app. The name of the app doesn’t matter. Set the following environment variables by copying the values of API key and Password displayed on the page:

export BYE_BYE_API_KEY="..."
export BYE_BYE_API_PASSWORD="..."

You will also need to set the hostname of your shop which is probably something like yourshopname.myshopify.com:

export BYE_BYE_API_HOSTNAME="yourshopname.myshopify.com"
bye-bye-shopify --help

bye-bye-shopify download_all

ls -al data/products/
ls -al data/custom_collections/

Metadata

Release files for bye-bye-shopify 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bye-bye-shopify 0.0.1
File Size Uploaded
bye-bye-shopify-0.0.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bye-bye-shopify 0.0.1
File Interpreter ABI Platform
bye_bye_shopify-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / bye-bye-shopify-0.0.1.tar.gz

Download URL bye-bye-shopify-0.0.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
10b01819f72186288c3ead54095e4eff4a9bd9d5d532cba838bc8a2ef73c0101
BLAKE2b-256 checksum
How to use checksums
ae3394d5708464367fb1142f0e61f47f5da45aa6ca9e06fdd9ea9eba45c9d6c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1

Release files / bye_bye_shopify-0.0.1-py3-none-any.whl

Download URL bye_bye_shopify-0.0.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ffe444170f98de1f9cab262bc6f35c60e028ac39ed82db7b543fa9b02d886b
BLAKE2b-256 checksum
How to use checksums
53250f13ca28a4722d5220affdfe185cfad73eac6dd285fe962135c62016d543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page