Skip to main content

SteamGGames — CLI + TUI for steamgg.net

Interactive game browser for steamgg.net, right from the terminal.

Author: DevTroli · License: MIT · Version: 1.0

🇺🇸 English | 🇧🇷 Português


Installation

Global (recommended):

pip install steamggames
steamggames

Development:

git clone https://github.com/DevTroli/SteamGGames.git && cd SteamGGames
uv venv && uv pip install -r requirements.txt
uv run steamggames

Usage

steamggames                        # Interactive TUI mode
steamggames search "Elden Ring"    # Direct search
steamggames info <url>             # Game details
steamggames open <url>             # Open in browser
steamggames --refresh              # Force cache refresh

TUI Commands

Command Action
<text> Search by name
info <n> Details for result #N
info <url> Details from URL
open <n> Open result #N in browser
open <url> Open URL in browser
next / n Next page
prev / p Previous page
refresh Clear cache and re-fetch
help / h Help
quit / q Quit

Features

  • ⚡ Async: 8 concurrent connections (aiohttp) with semaphore
  • 🛡️ Anti-block: 1.5~4.5s delay, backoff on 403/429/503, User-Agent rotation
  • 📦 Smart cache: 4h for search, 12h for game page (XDG)
  • 🔒 SSL/TLS: certifi CA bundle + SSRF protection
  • 🎨 Rich TUI: colored interface with tables and panels
  • 🔍 Version extraction: detects v1.2.3, Build N, Update N automatically
  • 🔗 Download links: extracts vc_btn3 buttons for datanodes.to, rootz.so, etc.

Project Structure

steamggames/
├── __init__.py     # Version and metadata
├── config.py       # Constants, URLs, anti-block, cache config
├── models.py       # Dataclasses: SearchResult, GamePage, DownloadLink
├── utils.py        # User-Agent rotation, extract_version, helpers
├── cache.py        # Disk cache with TTL (XDG)
├── scraper.py      # Async scraper with multi-layer selectors
├── cli.py          # CLI with argparse + entry point
└── tui.py          # Interactive TUI with Rich

Cache Location

Cache is stored at:

  • Linux/macOS: ~/.cache/steamggames/
  • Windows: %LOCALAPPDATA%\steamggames\

To clear: use the refresh command in TUI, or delete the folder manually.

Development

# Install dev dependencies
uv pip install -e ".[dev]"

# Lint
ruff check steamggames/

# Type check
mypy steamggames/

# Tests
pytest

Not affiliated with steamgg.net. Use in accordance with the site's terms.

Metadata

Release files for steamggames 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steamggames 1.0.0
File Size Uploaded Provenance Actions
steamggames-1.0.0.tar.gz 17.0 kB Without provenance Details for steamggames-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for steamggames 1.0.0
File Interpreter ABI Platform Actions
steamggames-1.0.0-py3-none-any.whl Python 3 none any Details for steamggames-1.0.0-py3-none-any.whl

Total release size: 37.5 kB

Release files / steamggames-1.0.0.tar.gz

Download URL steamggames-1.0.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
56f190777145bc2d7087ce1fbcceff5fe07bd074d76ebb9fa5dd022e46aef8cc
BLAKE2b-256 checksum
How to use checksums
74ce65d4956609f763882dc63a7e85436d926f42295aa1cc9c91e5d0f06f8c01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / steamggames-1.0.0-py3-none-any.whl

Download URL steamggames-1.0.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9f6996cd940b2bb3f3bac6e207a3522d830109368d1fe9ba55f947ab13fa9e4
BLAKE2b-256 checksum
How to use checksums
9d41bb1b59b830d0415a6f9db1f3a3e5052ba7b576777b3c19edfef721f343a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for steamggames 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page