English | Русский
Ranks Kaspi, Ozon and OLX offers for your budget and city, and shows why.
You describe what you need ("a portable water flosser, IPX7, under 40,000 ₸, Almaty"). buy-smarter searches Kaspi.kz, Ozon.kz and OLX.kz (used items). It ranks offers for your budget, city and must-have features. Each pick shows which axes scored it and why.
It runs as a CLI, a desktop app, an MCP server for Claude and an HTTP API.
Quick start
Kaspi needs a Kazakhstan IP: datacenter IPs get HTTP 429 (set KASPI_PROXY to a residential proxy).
macOS / Linux:
curl -LsSf https://raw.githubusercontent.com/octrow/buy-smarter/main/install.sh | sh
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/octrow/buy-smarter/main/install.ps1 | iex"
The installer gets uv (it brings its own Python), installs the latest release with the desktop app, and runs buysmarter doctor.
doctor says what is missing and what that turns off.
Update with buysmarter update. Remove with sh -s -- --uninstall.
API keys and a proxy go in ~/.config/buysmarter/.env (see .env.example).
Then run your first search:
buysmarter recommend "need a water flosser, portable, IPX7, under 40000 tg, Almaty"
No terminal? Each release has a .deb and builds for Windows, macOS and Linux: install the desktop app.
Developing? See install from source.
What the app looks like
The desktop app (buysmarter gui) opens the same reports and has a dark theme.
What it does
- Reads the Kaspi and OLX JSON endpoints directly, and keeps working when one source is down.
- Discounts gamed reviews: five-star bursts, junk texts, unverified purchases, defect complaints.
- Checks your must-have features against specs, then against review quotes.
- Learns brands and models for a new category (
learn-category), also on the first query. - Adds used items from OLX, phone specs from Kimovil and price history.
More in features in detail. Closest open-source projects: analogs.
How it runs
One pipeline sits behind the CLI, the MCP server and the API. A run takes tens of seconds. The API puts it on a Redis stream, a worker runs it, and the client polls for the result.
flowchart TD
client([client]) -->|"POST /recommend, GET /recommend/{id}"| api[FastAPI]
api -->|"job, dedupe, rate limit"| redis[(Redis)]
redis -->|"stream, ack after the run"| worker[taskiq worker]
worker -->|result| redis
worker -->|"search, offers, reviews"| markets[Kaspi · Ozon · OLX]
worker -->|price history| pg[(Postgres)]
api -.->|metrics, traces| obs[Prometheus · Grafana · Jaeger]
worker -.-> obs
More docs
- CLI usage and LLM cache
- MCP server: tools and Claude Desktop setup
- HTTP API: jobs, statuses, rate limits
- Docker, Kubernetes, observability, with Grafana and Jaeger screenshots
- Development:
make check, layout, tests
Limits
- Kaspi needs a Kazakhstan residential IP or
KASPI_PROXY. - Ozon may still show its anti-bot page;
ozon-setuprefreshes the saved session. - Review velocity is displayed but not scored yet.
- A burst of requests can get the IP blocked by Kimovil for a while. Until it clears, only cached phone specs are used.
- The marketplace endpoints are unofficial and can change without notice.
License
MIT. Third-party code is listed in THIRD_PARTY_NOTICES.md.
Metadata
Release files for buysmarter 0.13.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| buysmarter-0.13.2.tar.gz | 4.7 MB | With provenance | Details for buysmarter-0.13.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| buysmarter-0.13.2-py3-none-any.whl | Python 3 | none | any | Details for buysmarter-0.13.2-py3-none-any.whl |
Total release size: 5.6 MB
Release files / buysmarter-0.13.2.tar.gz
| Download URL | buysmarter-0.13.2.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
476e6b3f336f9a96235e4734ae918122e9df98ad7d20218e9fec351b6348a99b
|
|
BLAKE2b-256 checksum How to use checksums |
964e20f8f3e1c6f913aea367f85e2fa088c1839a75e8082780a0c4d196446cfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / buysmarter-0.13.2-py3-none-any.whl
| Download URL | buysmarter-0.13.2-py3-none-any.whl |
|---|---|
| Size | 913.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d814d7a4dc7af0859b65d07bbf02697e622b731d6bda0ab1eff1d1faa86912c
|
|
BLAKE2b-256 checksum How to use checksums |
8d3b9c070e584a34ff7c759fde2d6d552cb266c50a41e2243f8f9439f545a547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for buysmarter 0.13.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for buysmarter-0.13.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.