cli-market 1.0.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.
- cli_market-1.0.0/PKG-INFO +17 -0
- cli_market-1.0.0/README.md +191 -0
- cli_market-1.0.0/cli_market.egg-info/PKG-INFO +17 -0
- cli_market-1.0.0/cli_market.egg-info/SOURCES.txt +12 -0
- cli_market-1.0.0/cli_market.egg-info/dependency_links.txt +1 -0
- cli_market-1.0.0/cli_market.egg-info/entry_points.txt +4 -0
- cli_market-1.0.0/cli_market.egg-info/requires.txt +5 -0
- cli_market-1.0.0/cli_market.egg-info/top_level.txt +4 -0
- cli_market-1.0.0/market_cli.py +876 -0
- cli_market-1.0.0/market_mcp.py +337 -0
- cli_market-1.0.0/market_server.py +1103 -0
- cli_market-1.0.0/pyproject.toml +33 -0
- cli_market-1.0.0/setup.cfg +4 -0
- cli_market-1.0.0/wongcli.py +447 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cli-market
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: CLI Market — 3,600+ retailers VTEX, 67 countries, 12 lines. Commerce infrastructure for AI agents.
|
|
5
|
+
Author-email: CLI Market <hello@cli-market.dev>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Keywords: vtex,mcp,ai-agents,ecommerce,cli,retail,commerce,infrastructure
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: httpx>=0.27
|
|
14
|
+
Requires-Dist: rich>=13.0
|
|
15
|
+
Requires-Dist: fastapi>=0.115
|
|
16
|
+
Requires-Dist: uvicorn>=0.30
|
|
17
|
+
Requires-Dist: pydantic>=2.0
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://img.shields.io/badge/retailers-3600+-brightgreen" alt="3600 retailers">
|
|
3
|
+
<img src="https://img.shields.io/badge/lines-12-blue" alt="12 lines">
|
|
4
|
+
<img src="https://img.shields.io/badge/countries-67-orange" alt="67 countries">
|
|
5
|
+
<img src="https://img.shields.io/badge/MCP%20tools-12-00d75f" alt="MCP">
|
|
6
|
+
<img src="https://img.shields.io/badge/python-3.10+-306998" alt="py">
|
|
7
|
+
<img src="https://img.shields.io/badge/license-MIT-lightgrey" alt="MIT">
|
|
8
|
+
<img src="https://img.shields.io/badge/build-passing-brightgreen" alt="build">
|
|
9
|
+
<img src="https://img.shields.io/badge/CI-vercel-black" alt="Vercel">
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<h1 align="center">CLI Market</h1>
|
|
13
|
+
<p align="center"><b>Commerce infrastructure for AI agents.</b><br>3,600+ retailers · 12 lines · 67 countries · 1 API.</p>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## What is CLI Market?
|
|
18
|
+
|
|
19
|
+
CLI Market is the middleware between VTEX and AI agents. One API call searches, compares, and purchases across 3,600+ retailers in 67 countries. Human-friendly CLI. Agent-friendly MCP tools. JSON-parseable output.
|
|
20
|
+
|
|
21
|
+
> Stripe turned payments into APIs. We turn commerce into APIs.
|
|
22
|
+
|
|
23
|
+
## Quick start
|
|
24
|
+
|
|
25
|
+
### Linux / macOS / WSL
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# 1. Install
|
|
29
|
+
pip install git+https://github.com/Treevu-ai/cli-market-world.git
|
|
30
|
+
|
|
31
|
+
# 2. Start backend
|
|
32
|
+
market-server &
|
|
33
|
+
|
|
34
|
+
# 3. Use the CLI
|
|
35
|
+
market login
|
|
36
|
+
market search "leche" --country PE
|
|
37
|
+
market compare "aceite"
|
|
38
|
+
market add 3 --qty 2
|
|
39
|
+
market checkout --payment yape
|
|
40
|
+
|
|
41
|
+
# 4. Agent mode
|
|
42
|
+
market ask "compra arroz"
|
|
43
|
+
market --json
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Windows (PowerShell)
|
|
47
|
+
|
|
48
|
+
```powershell
|
|
49
|
+
# 1. Install
|
|
50
|
+
pip install git+https://github.com/Treevu-ai/cli-market-world.git
|
|
51
|
+
|
|
52
|
+
# 2. Start backend (in a separate terminal)
|
|
53
|
+
Start-Process -NoNewWindow python -ArgumentList "-m", "market_server"
|
|
54
|
+
|
|
55
|
+
# 3. Use the CLI
|
|
56
|
+
market login
|
|
57
|
+
market search "leche" --country PE
|
|
58
|
+
market compare "aceite"
|
|
59
|
+
market add 3 --qty 2
|
|
60
|
+
market checkout --payment yape
|
|
61
|
+
|
|
62
|
+
# 4. Agent mode
|
|
63
|
+
market ask "compra arroz"
|
|
64
|
+
market --json
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Windows (CMD)
|
|
68
|
+
|
|
69
|
+
```cmd
|
|
70
|
+
:: 1. Install
|
|
71
|
+
pip install git+https://github.com/Treevu-ai/cli-market-world.git
|
|
72
|
+
|
|
73
|
+
:: 2. Start backend (in a separate terminal)
|
|
74
|
+
start python -m market_server
|
|
75
|
+
|
|
76
|
+
:: 3. Use the CLI
|
|
77
|
+
market login
|
|
78
|
+
market search "leche" --country PE
|
|
79
|
+
market compare "aceite"
|
|
80
|
+
market add 3 --qty 2
|
|
81
|
+
market checkout --payment yape
|
|
82
|
+
|
|
83
|
+
:: 4. Agent mode
|
|
84
|
+
market ask "compra arroz"
|
|
85
|
+
market --json
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Features
|
|
89
|
+
|
|
90
|
+
| For humans | For AI agents |
|
|
91
|
+
|---|---|
|
|
92
|
+
| Terminal CLI | REST API + JSON |
|
|
93
|
+
| Rich tables | 12 MCP Tools |
|
|
94
|
+
| Spanish / English | CSV export |
|
|
95
|
+
| `market search "milk"` | Autonomous workflows |
|
|
96
|
+
|
|
97
|
+
### Commands
|
|
98
|
+
|
|
99
|
+
`login` `lines` `search` `compare` `add` `cart` `cart-update` `cart-remove` `cart-clear` `checkout` `orders` `reorder` `ask` `--json`
|
|
100
|
+
|
|
101
|
+
### MCP Server
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
python market_mcp.py
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
12 tools: `market_login` `market_lines` `market_search` `market_compare` `market_add` `market_cart` `market_cart_update` `market_cart_remove` `market_checkout` `market_orders` `market_reorder` `market_ask`
|
|
108
|
+
|
|
109
|
+
Compatible with DeepSeek TUI, Claude, Cursor, and any MCP client.
|
|
110
|
+
|
|
111
|
+
## Coverage
|
|
112
|
+
|
|
113
|
+
3,600+ retailers across 12 business lines in 67 countries.
|
|
114
|
+
|
|
115
|
+
| Line | Count | Key retailers |
|
|
116
|
+
|------|-------|--------------|
|
|
117
|
+
| 👕 Moda | 1,560 | Louis Vuitton · Gucci · Prada · Chanel · Dior · Zara · H&M · Levi's · Nike · Adidas · Renner · Lamborghini · Ferrari |
|
|
118
|
+
| 📱 Electro | 571 | Samsung · Apple · Sony · LG · Panasonic · Dell · HP · Lenovo · Yamaha · Dyson |
|
|
119
|
+
| 🏠 Hogar | 314 | IKEA · Homecenter · Sodimac · Miele · Bosch · Smeg · Tefal · KitchenAid |
|
|
120
|
+
| ⚽ Deportes | 306 | Nike · Adidas · Reebok · Puma · Under Armour · Decathlon · Foot Locker · Patagonia |
|
|
121
|
+
| 🛒 Supermercados | 252 | Wong · Carrefour · Jumbo · Coto · Costco · Sainsbury's · Edeka · Albert Heijn |
|
|
122
|
+
| 🍔 Alimentos | 176 | Nestle · Unilever · Coca-Cola · Pepsi · Lindt · Heineken · Nespresso |
|
|
123
|
+
| 💄 Belleza | 170 | Sephora · MAC · Clinique · Estee Lauder · Lancome · Lush · Yves Rocher |
|
|
124
|
+
| 🏬 Departamentales | 136 | Mercado Libre · El Corte Ingles · Otto · Miniso · Lego · Americanas |
|
|
125
|
+
| 💊 Farmacias | 51 | Droga Raia · Drogasil · Boots · DM · Rossmann |
|
|
126
|
+
| 🔧 Autopartes | 50 | BMW · Mercedes-Benz · Audi · Tesla · Harley Davidson · Ducati |
|
|
127
|
+
| 📚 Librería | 11 | Staples · Office Depot |
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
**Countries:** 67 países en LATAM, Europa y global
|
|
131
|
+
|
|
132
|
+
## API
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
Base URL: https://cli-market-api-production.up.railway.app
|
|
136
|
+
Swagger: /docs
|
|
137
|
+
llms.txt: https://cli-market.dev/llms.txt
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Endpoints
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# Status
|
|
144
|
+
GET /
|
|
145
|
+
|
|
146
|
+
# Data Feed
|
|
147
|
+
GET /v1/feed/prices?query=cafe&country=PE&format=csv
|
|
148
|
+
GET /v1/feed/stats?period=7d
|
|
149
|
+
|
|
150
|
+
# Competitive Intelligence (CIaaS)
|
|
151
|
+
GET /v1/intel/competitor?product=leche&store_a=wong&store_b=plazavea
|
|
152
|
+
GET /v1/intel/delta?product=cafe&country_a=PE&country_b=CO
|
|
153
|
+
GET /v1/intel/alerts?product=arroz&threshold_pct=5
|
|
154
|
+
|
|
155
|
+
# Pricing
|
|
156
|
+
GET /v1/pricing
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Rate limits
|
|
160
|
+
|
|
161
|
+
| Tier | Requests/min | Requests/day | CIaaS |
|
|
162
|
+
|------|-------------|-------------|-------|
|
|
163
|
+
| Free | 10 | 100 | No |
|
|
164
|
+
| Paid | Contact | Contact | Yes |
|
|
165
|
+
|
|
166
|
+
## Architecture
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
AI Agents (Claude, DeepSeek, GPT)
|
|
170
|
+
|
|
|
171
|
+
CLI Market API ← You are here
|
|
172
|
+
|
|
|
173
|
+
3,600+ VTEX retailers across 67 countries
|
|
174
|
+
|
|
|
175
|
+
SQLite data moat — price snapshots, search history
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Why this exists
|
|
179
|
+
|
|
180
|
+
E-commerce is optimized for clicks, not agents. VTEX powers 3,600+ retailers with the same public API — yet no one has built a unified agentic layer on top. CLI Market is that layer.
|
|
181
|
+
|
|
182
|
+
## Links
|
|
183
|
+
|
|
184
|
+
- Landing: [cli-market.dev](https://cli-market.dev)
|
|
185
|
+
- API: [cli-market-api-production.up.railway.app](https://cli-market-api-production.up.railway.app)
|
|
186
|
+
- Telegram: [@climarketbot](https://t.me/climarketbot)
|
|
187
|
+
- llms.txt: [cli-market.dev/llms.txt](https://cli-market.dev/llms.txt)
|
|
188
|
+
|
|
189
|
+
## License
|
|
190
|
+
|
|
191
|
+
MIT © 2026 CLI Market · Sinapsis Innovadora
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cli-market
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: CLI Market — 3,600+ retailers VTEX, 67 countries, 12 lines. Commerce infrastructure for AI agents.
|
|
5
|
+
Author-email: CLI Market <hello@cli-market.dev>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Keywords: vtex,mcp,ai-agents,ecommerce,cli,retail,commerce,infrastructure
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: httpx>=0.27
|
|
14
|
+
Requires-Dist: rich>=13.0
|
|
15
|
+
Requires-Dist: fastapi>=0.115
|
|
16
|
+
Requires-Dist: uvicorn>=0.30
|
|
17
|
+
Requires-Dist: pydantic>=2.0
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
market_cli.py
|
|
3
|
+
market_mcp.py
|
|
4
|
+
market_server.py
|
|
5
|
+
pyproject.toml
|
|
6
|
+
wongcli.py
|
|
7
|
+
cli_market.egg-info/PKG-INFO
|
|
8
|
+
cli_market.egg-info/SOURCES.txt
|
|
9
|
+
cli_market.egg-info/dependency_links.txt
|
|
10
|
+
cli_market.egg-info/entry_points.txt
|
|
11
|
+
cli_market.egg-info/requires.txt
|
|
12
|
+
cli_market.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|