A unified Python client library to search Robolink, Robotistan, Robo90, and Direncnet.
Project description
Robo Market Search
Türkiye'nin en popüler 4 elektronik ve robotik pazarında (Robolink, Robotistan, Robo90, Direnç.net) tek satır kodla, çok hızlı ve eşzamanlı arama yapmanızı sağlayan Python istemci kütüphanesi.
Özellikler
- Unified Search (Birleştirilmiş Arama): 4 markette paralel (Thread) olarak eşzamanlı arama yapar ve ürünleri ucuzdan pahalıya sıralar.
- Standart Veri Tipi: Tüm sonuçlar, standart
Productobjesi olarak döner. - Dinamik Token Mimarisi: API key veya token değişikliklerinde otomatik güncellenerek (regex ile ana sayfalardan kazıyarak) kesintisiz çalışır.
Kurulum
Henüz yayın aşamasında, manuel kurulum için:
git clone https://github.com/AtaCanYmc/robo-market-search.git
cd robo-market-search
pip install -e .
(Yakında PyPI üzerinden pip install robo-market-search ile yüklenebilecektir.)
Hızlı Başlangıç (Birleştirilmiş Arama)
from robo_market_search import UnifiedSearchClient
client = UnifiedSearchClient()
products = client.search(query="arduino", limit_per_store=5)
for p in products:
print(f"[{p.store}] {p.name} - {p.price} {p.currency} (Stok: {p.in_stock})")
Bireysel Market Araması
Sadece belirli bir markette arama yapmak isterseniz:
from robo_market_search import RobotistanClient
client = RobotistanClient()
products = client.search_component("esp32", limit=3)
Lisans
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robo_market_search-0.1.0.tar.gz.
File metadata
- Download URL: robo_market_search-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
345f499c1fd0212cee75dde0429f6744b3a567c4b367b1b9a468270afe8a8dea
|
|
| MD5 |
6be3e947053ca75ac10f643cf0b0a9bd
|
|
| BLAKE2b-256 |
90e31f0c15a0d59f773649479a6ae97216c8d0675950ae3c343bbc3fb886e0c5
|
File details
Details for the file robo_market_search-0.1.0-py3-none-any.whl.
File metadata
- Download URL: robo_market_search-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d0ac05bcc2ef04dba061ebb7d5cb7baaa42d97bea3456a1f2d6f66716cf1a13
|
|
| MD5 |
bbf16c2bec53c67a3f874cfa162a71a5
|
|
| BLAKE2b-256 |
364b83b1b92fcb59fe2930ed83bbfdc4ff3f80c766982ad122c8d1f676c89786
|