Metadata-Version: 2.4
Name: steamsift
Version: 0.2.0
Summary: Steam deals, sifted: every discount checked against two years of prices. HOT, GREAT, OK, MEH or NOPE.
Author: sa1ntsinner
License-Expression: MIT
Project-URL: Homepage, https://sa1ntsinner.github.io/sift/
Project-URL: Source, https://github.com/sa1ntsinner/sift
Project-URL: Issues, https://github.com/sa1ntsinner/sift/issues
Keywords: steam,deals,sale,wishlist,recommendations,telegram,cli,tui
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Natural Language :: English
Classifier: Natural Language :: Russian
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Games/Entertainment
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rich>=13.0.0
Requires-Dist: requests>=2.28.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: platformdirs>=4.0
Requires-Dist: keyring>=24.0
Requires-Dist: tomli-w>=1.0
Requires-Dist: textual>=1.0
Requires-Dist: textual-image>=0.8
Requires-Dist: pillow>=10.0
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pyyaml>=6; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

<p align="center">
  <img src="https://raw.githubusercontent.com/sa1ntsinner/sift/main/assets/sift-wordmark.png" alt="sift" width="200" />
</p>

<p align="center"><em>Steam has thousands of discounts. sift tells you which ones are worth it.</em></p>

<p align="center">
  <a href="https://sa1ntsinner.github.io/sift/"><img src="https://img.shields.io/badge/website-sift-2bff88?style=flat" alt="Website" /></a>
  &nbsp;
  <a href="https://github.com/sa1ntsinner/sift/releases/latest"><img src="https://img.shields.io/github/v/release/sa1ntsinner/sift?style=flat&color=24292f" alt="Latest release" /></a>
  &nbsp;
  <img src="https://img.shields.io/badge/Windows%20·%20macOS%20·%20Linux-24292f?style=flat" alt="Windows, macOS, Linux" />
  &nbsp;
  <a href="https://pypi.org/project/steamsift/"><img src="https://img.shields.io/pypi/v/steamsift?style=flat&color=24292f&label=pypi" alt="PyPI" /></a>
  &nbsp;
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-24292f?style=flat" alt="MIT license" /></a>
</p>

<p align="center">
  <img src="https://raw.githubusercontent.com/sa1ntsinner/sift/main/assets/sift.gif" alt="sift in a terminal: a list of Steam deals with a verdict on each, the filter panel and the wishlist" width="100%" />
</p>

sift is a free terminal app for Steam deals. It reads two years of Steam prices for every discount, checks how often
the game goes on sale, whether the base price was just raised, whether a big sale is days away and what your Steam
Family already owns, and gives each deal one word.

Most "record lows" on Steam come back every five or six weeks. sift tells those apart from the prices that rarely
show up, so you buy the right game at the right moment and skip the rest.

## Verdicts

| | |
|---|---|
| **HOT** | The lowest price in two years, and a price this low came at most twice. Or a cheaper bundle. |
| **GREAT** | The lowest price in two years, but a similar price (within 12%) comes back every few weeks. Buy it when you will play it. |
| **OK** | Close to its two-year low: within 12% or a dollar. |
| **MEH** | 12–30% above its two-year low, or a big Steam sale is under three weeks away. |
| **NOPE** | 30% or more above its two-year low, or the base price went up just before the sale. |

Prices are compared in what you pay, not in percent: $15 at −60% is not a low if the game sold for $5 last spring.
The frequency counts sales at today's price, not any sale: a game that goes −50% every month and hit −80% once has
seen −80% once. Records older than two years do not count. Wishlist games that are not on sale show **WAIT** with how
deep and how often they usually go on sale, and when the next sale is due.

## Install

**Download** one file from the [latest release](https://github.com/sa1ntsinner/sift/releases/latest):
`sift-windows-x64.exe`, `sift-macos-arm64` or `sift-linux-x64`. Nothing else to install.

**Or with Python 3.11+**

```bash
uv tool install steamsift      # or: pipx install steamsift
sift
```

## First run

`sift` opens a three-minute setup. It can look on your computer for your Steam account and Steam Family (only Steam's
own files, nothing is sent anywhere). You paste two free keys, and sift picks them up from the clipboard as soon as you
copy them:

| | where | |
|---|---|---|
| Steam Web API key | [steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) | domain: `localhost` · confirm in the Steam mobile app |
| IsThereAnyDeal API key | [isthereanydeal.com/apps/my](https://isthereanydeal.com/apps/my/) | Register app → copy the API key · optional, but it powers the verdicts |

Steam only issues API keys to accounts that have spent at least $5 and use Steam Guard Mobile.

## Using it

The app has two tabs: Deals and Wishlist. Every row has a verdict and a short reason, and the game's two-year sale
history is shown next to it. Deals opens on the games worth buying (HOT and GREAT); press `a` to see every discount.
The wishlist shows every game on it: the discounted ones with their verdict, then the rest with when to expect a sale.
A DLC tab for the games you own can be switched on in the filter panel (`f`, then `D`) or with `sift config set dlc-tab on`.
Click a tab to switch views, click a game to preview it, or double-click to open it in Steam.
The actions along the bottom are clickable too. Click the price, discount, verdict or review column to sort.
Everything also works from the keyboard:

| key | | key | |
|---|---|---|---|
| `↑ ↓` `j k` | move | `/` | search |
| `enter` | open in Steam | `f` | filters, saved filters, hidden games |
| `1 2` `← →` | tabs | `s` | sort |
| `x` | hide: not for me | `u` | undo |
| `i` | price history on IsThereAnyDeal | `?` | every key |
| `r` | refresh the current view | `d` | show details in narrow windows |
| `a` | worth it only / every discount | `t` | price alert for this game |

The last results are saved locally as soon as a scan succeeds. Reopening sift shows them immediately;
results less than 15 minutes old need no new scan. Older results stay visible while a background refresh
runs. The app checks again while it stays open, reuses cached metadata and prices, and keeps the previous
results if Steam is unavailable. The header shows when results were updated or that saved data is being used.
Use `r` for a forced refresh; repeated clicks share the running scan. DLC (when its tab is on) loads only when
the tab is opened and refreshes independently. Saved results are separated by Steam account, profile and store region.

The same filters work as flags, so a search can be one line:

```bash
sift --hot -b 10              # only HOT deals under 10 in your store's currency
sift -g roguelike --deck      # roguelikes that run on the Steam Deck
sift macro add cheap -b 2 --lowest && sift cheap
sift info "hollow knight"     # price, history and verdict for one game
sift --print                  # a plain table for scripts; sift -J prints JSON
```

## Alerts

`sift notify setup telegram` (or `discord`, `ntfy`, `desktop`, `email`) sends a few cards a day: HOT prices, your own
price targets and wishlist records that are about to end. Never the whole sale.

Run it on a schedule with `sift notify enable`, keep it running with `sift watch`, or run it in the cloud with
[GitHub Actions](packaging/github-actions/sift.yml) or [Docker](compose.yaml) while your PC is off.

## What it knows

- **Your store.** Prices in the currency Steam charges you, in whichever Steam region your account is in.
- **Your Steam Family.** Shared games stay out of the list, or show with a blue mark if you want them.
- **Your library.** Owned and hidden games never show up; DLC is listed for the games you own.
- **Your taste, second.** The price decides the verdict; your play history only breaks ties.

Everything stays on your computer: keys in the system keychain, settings in a local file. sift talks only to Steam and
IsThereAnyDeal.

## More

`sift doctor` checks keys, privacy settings, region and family. `sift config help` lists every setting.
`sift calendar` shows the Steam sales ahead. The app speaks English and Russian (`sift config set lang ru`).

---

<p align="center"><sub>MIT license · not affiliated with Valve · price history from <a href="https://isthereanydeal.com">IsThereAnyDeal</a></sub></p>
