smartcalc-ecom-spy 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smartcalc_ecom_spy-0.1.0/PKG-INFO +23 -0
- smartcalc_ecom_spy-0.1.0/README.md +13 -0
- smartcalc_ecom_spy-0.1.0/pyproject.toml +18 -0
- smartcalc_ecom_spy-0.1.0/setup.cfg +4 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy/__init__.py +1 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy/cli.py +11 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy.egg-info/PKG-INFO +23 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy.egg-info/SOURCES.txt +9 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy.egg-info/dependency_links.txt +1 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy.egg-info/entry_points.txt +2 -0
- smartcalc_ecom_spy-0.1.0/smartcalc_ecom_spy.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: smartcalc-ecom-spy
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Zero-dependency competitor Shopify product catalog & discount extractor CLI.
|
|
5
|
+
Project-URL: Homepage, https://edgeandpower-alt.github.io/smart-calc-hub/
|
|
6
|
+
Project-URL: CloudAPI, https://apify.com/smartcalclabs/ecommerce-store-price-spy
|
|
7
|
+
Project-URL: ProSuite, https://edgepower.gumroad.com/l/ctmqtn
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# ⚡ smartcalc-ecom-spy
|
|
12
|
+
|
|
13
|
+
Zero-dependency competitor Shopify product catalog & discount extractor CLI.
|
|
14
|
+
|
|
15
|
+
## Install & Run
|
|
16
|
+
```bash
|
|
17
|
+
pip install smartcalc-ecom-spy
|
|
18
|
+
ecom-spy --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Managed Cloud API & Offline Pro Studio
|
|
22
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/ecommerce-store-price-spy](https://apify.com/smartcalclabs/ecommerce-store-price-spy)
|
|
23
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/ctmqtn](https://edgepower.gumroad.com/l/ctmqtn)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# ⚡ smartcalc-ecom-spy
|
|
2
|
+
|
|
3
|
+
Zero-dependency competitor Shopify product catalog & discount extractor CLI.
|
|
4
|
+
|
|
5
|
+
## Install & Run
|
|
6
|
+
```bash
|
|
7
|
+
pip install smartcalc-ecom-spy
|
|
8
|
+
ecom-spy --help
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Managed Cloud API & Offline Pro Studio
|
|
12
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/ecommerce-store-price-spy](https://apify.com/smartcalclabs/ecommerce-store-price-spy)
|
|
13
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/ctmqtn](https://edgepower.gumroad.com/l/ctmqtn)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "smartcalc-ecom-spy"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Zero-dependency competitor Shopify product catalog & discount extractor CLI."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
|
|
12
|
+
[project.urls]
|
|
13
|
+
Homepage = "https://edgeandpower-alt.github.io/smart-calc-hub/"
|
|
14
|
+
CloudAPI = "https://apify.com/smartcalclabs/ecommerce-store-price-spy"
|
|
15
|
+
ProSuite = "https://edgepower.gumroad.com/l/ctmqtn"
|
|
16
|
+
|
|
17
|
+
[project.scripts]
|
|
18
|
+
ecom-spy = "smartcalc_ecom_spy.cli:main"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import csv, json, sys, urllib.request
|
|
2
|
+
def main():
|
|
3
|
+
if "--help" in sys.argv or "-h" in sys.argv:
|
|
4
|
+
print("Usage: ecom-spy https://store-domain.com"); return
|
|
5
|
+
base = (sys.argv[1] if len(sys.argv)>1 else "https://www.allbirds.com").rstrip("/")
|
|
6
|
+
data = json.loads(urllib.request.urlopen(urllib.request.Request(f"{base}/products.json?limit=25", headers={"User-Agent":"smartcalc-ecom-spy/0.1"}), timeout=15).read().decode())
|
|
7
|
+
w = csv.DictWriter(sys.stdout, fieldnames=["title","price","compare_at_price","url"])
|
|
8
|
+
w.writeheader()
|
|
9
|
+
for p in data.get("products", []):
|
|
10
|
+
v = (p.get("variants") or [{}])[0]
|
|
11
|
+
w.writerow({"title":p.get("title",""),"price":v.get("price",""),"compare_at_price":v.get("compare_at_price",""),"url":f"{base}/products/{p.get('handle','')}"})
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: smartcalc-ecom-spy
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Zero-dependency competitor Shopify product catalog & discount extractor CLI.
|
|
5
|
+
Project-URL: Homepage, https://edgeandpower-alt.github.io/smart-calc-hub/
|
|
6
|
+
Project-URL: CloudAPI, https://apify.com/smartcalclabs/ecommerce-store-price-spy
|
|
7
|
+
Project-URL: ProSuite, https://edgepower.gumroad.com/l/ctmqtn
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# ⚡ smartcalc-ecom-spy
|
|
12
|
+
|
|
13
|
+
Zero-dependency competitor Shopify product catalog & discount extractor CLI.
|
|
14
|
+
|
|
15
|
+
## Install & Run
|
|
16
|
+
```bash
|
|
17
|
+
pip install smartcalc-ecom-spy
|
|
18
|
+
ecom-spy --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Managed Cloud API & Offline Pro Studio
|
|
22
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/ecommerce-store-price-spy](https://apify.com/smartcalclabs/ecommerce-store-price-spy)
|
|
23
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/ctmqtn](https://edgepower.gumroad.com/l/ctmqtn)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
smartcalc_ecom_spy/__init__.py
|
|
4
|
+
smartcalc_ecom_spy/cli.py
|
|
5
|
+
smartcalc_ecom_spy.egg-info/PKG-INFO
|
|
6
|
+
smartcalc_ecom_spy.egg-info/SOURCES.txt
|
|
7
|
+
smartcalc_ecom_spy.egg-info/dependency_links.txt
|
|
8
|
+
smartcalc_ecom_spy.egg-info/entry_points.txt
|
|
9
|
+
smartcalc_ecom_spy.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
smartcalc_ecom_spy
|