israeli-prices
Typed Python client for Israel's retail price-transparency data.
Israeli law requires large retailers — supermarkets and drugstore chains alike — to publish their full price, promotion and store lists several times a day. The data is public, but it is scattered across ~30 chain portals with different auth schemes, file listings and XML dialects.
israeli-prices turns all of that into one clean API:
import israeli_prices as ilp
ilp.list_chains() # every chain covered by the law
stores = ilp.get_stores("super-pharm") # -> StoresFile (typed)
prices = ilp.get_prices("shufersal", store_id="001") # -> PriceFile
promos = ilp.get_promos("super-pharm", store_id="209") # -> PromoFile
prices.items[0].price # Decimal("10.00")
prices.to_df() # optional pandas export
- Fetch + parse, end to end — one
pip install, portal quirks handled per chain, gzip + XML dialects normalized into pydantic models. No raw file juggling. - Prices, promotions AND stores — including grouped promotion structures (groups, reward types, club restrictions), not just price rows.
- Pharmacy coverage first-class — Super-Pharm today, Good Pharm and the Be Pharm sub-chain on the roadmap, alongside every supermarket chain.
- MIT licensed — free for any use, commercial included.
Status
31 of the 32 chains on the government roster are implemented, every one verified live end to end (the last one's portal is down — it is registered and will be enabled when it comes back):
- Self-hosted portals: Shufersal (incl. the Be Pharm sub-chain), Super-Pharm, Wolt Market, Carrefour, Hatzi Hinam.
- Cerberus shared portal (one adapter, 13 chains): Rami Levy, Tiv Taam, Yochananof, Osher Ad, Dor Alon, Keshet Teamim, Super Cofix, Politzer, Stop Market, Fresh Market, Salach Dabach, Super Yuda, Yellow.
- Bina portals (one adapter, 10 chains): Good Pharm, Super Bareket, King Store, Maayan 2000, Meshnat Yosef, Shefa Birkat Hashem, Shuk Hayir, Super Sapir, Zol VeBegadol, City Market.
- Laib catalog (one adapter, 3 chains): Victory, Mahsanei HaShuk, Het Cohen.
See docs/chains.md for the full coverage matrix and per-portal quirks.
Install
pip install israeli-prices
Requires Python ≥ 3.10. Optional extra: israeli-prices[pandas] for
.to_df().
Lower-level API
from israeli_prices import FileType, list_files, download, parse
refs = list_files("shufersal", file_type=FileType.PROMO_FULL, limit=5)
payload = download(refs[0]) # raw gzipped XML, as published
promo_file = parse(payload) # auto-detects the file kind
Some portals sign their download URLs with a short expiry (Shufersal) —
download right after listing. Some portals are geo-restricted to Israeli
IPs; pass a proxy via HttpClient(proxy=...) if you fetch from abroad.
Data notes
- Timestamps are naive local Israel time, as published.
- Prices are
Decimal, in ILS (ItemPricefrom the source files). item_codeis usually a GTIN/barcode but chains also publish internal codes (item_typedistinguishes them).- Hebrew text is preserved as published; encodings (UTF-8 BOM, UTF-16) are handled transparently.
- Freshness: chains publish incremental
Price/Promofiles throughout the day and dailyPriceFull/PromoFullsnapshots per store. - Scope: the law covers each retailer's own sales only — e.g. Wolt's feed contains Wolt Market (its dark stores), not the partner retailers on the Wolt platform. Per-chain caveats live in docs/chains.md.
License
MIT © RxRadar Inc. — the data itself is published by the chains under Israel's price-transparency regulation and remains theirs; this library just fetches and parses it. Be a good citizen: cache locally and keep request rates reasonable.
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 israeli_prices-0.1.1.tar.gz.
File metadata
- Download URL: israeli_prices-0.1.1.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e66191dcc33660adc1947af9c033dca9f9cfc55768c7e989ff8afa216b2ec32c
|
|
| MD5 |
2865c9a77013f3e189b6244afd0d192e
|
|
| BLAKE2b-256 |
ce5563aabae366f8adddf474faa91f8c58fb6453aa9cd56c26c2687e3c994acd
|
Provenance
The following attestation bundles were made for israeli_prices-0.1.1.tar.gz:
Publisher:
release.yml on rxradar/israeli-prices
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
israeli_prices-0.1.1.tar.gz -
Subject digest:
e66191dcc33660adc1947af9c033dca9f9cfc55768c7e989ff8afa216b2ec32c - Sigstore transparency entry: 2618770359
- Sigstore integration time:
-
Permalink:
rxradar/israeli-prices@898e1bfdff78e5b61104ba40542ac362e96fcc8d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/rxradar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@898e1bfdff78e5b61104ba40542ac362e96fcc8d -
Trigger Event:
release
-
Statement type:
File details
Details for the file israeli_prices-0.1.1-py3-none-any.whl.
File metadata
- Download URL: israeli_prices-0.1.1-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec80fbd86774b4b876e94cbb954f37dfd0621a41b4e529846a945160abcf270
|
|
| MD5 |
6f397996af713249de5f025db9112e71
|
|
| BLAKE2b-256 |
1c4f4e070c0de641c2403b101eaa1c021530d0087fe2ec4b48f9baab171a30fa
|
Provenance
The following attestation bundles were made for israeli_prices-0.1.1-py3-none-any.whl:
Publisher:
release.yml on rxradar/israeli-prices
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
israeli_prices-0.1.1-py3-none-any.whl -
Subject digest:
aec80fbd86774b4b876e94cbb954f37dfd0621a41b4e529846a945160abcf270 - Sigstore transparency entry: 2618770363
- Sigstore integration time:
-
Permalink:
rxradar/israeli-prices@898e1bfdff78e5b61104ba40542ac362e96fcc8d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/rxradar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@898e1bfdff78e5b61104ba40542ac362e96fcc8d -
Trigger Event:
release
-
Statement type: