Skip to main content

A utility module for finding Steam paths

Project description

SteamPathFinder

A utility module for finding Steam paths

Steam Path Finder Module

The Steam Path Finder is a Python module designed to assist in locating the installation path of Steam, the installation paths of specific Steam applications, and the actual paths of specific games on a user's system. This module facilitates programmatic access to Steam games and applications.

Installation

This documentation assumes that the module is distributed through PyPI. You can install it using the following command:

pip install SteamPathFinder

Basic Usage

Here's how you can use the Steam Path Finder module to find the Steam installation path, the path of a specific Steam application, and the path of a specific game:

from SteamPathFinder import get_steam_path, get_app_path, get_game_path

def main():
    ##  Get the Steam installation path
    steam_path = get_steam_path()
    print(f"Steam path: {steam_path}")
    
    ##  Get the path for a specific application, e.g., a game's app id
    app_id = '1998340'  ##  The app id for the example game.
    game_name = 'Labyrinth of Galleria The Moon Society'  ##  The name of the game folder.

    app_path = get_app_path(steam_path, app_id)
    print(f"Application path: {app_path}")
    
    ##  Get the actual path of a specific game
    game_path = get_game_path(steam_path, app_id, game_name)
    print(f"Game path: {game_path}")

if __name__ == "__main__":
    main()

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SteamPathFinder-0.0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

SteamPathFinder-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file SteamPathFinder-0.0.3.tar.gz.

File metadata

  • Download URL: SteamPathFinder-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for SteamPathFinder-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0a12b6a8063a4e979ad99a257ca28e27f7a35b780cf97278d0a85d8be7b0e7c9
MD5 c5b64526bc537e30a405d294f9622023
BLAKE2b-256 4f9bbafdf15d98fbc881686c8864a79ac2062256d3e2ab7316624faa43b22e20

See more details on using hashes here.

File details

Details for the file SteamPathFinder-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for SteamPathFinder-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e9c99d1a9a0fc3f7737cdc1ef464f3e5bc040da7d9eca0ea35f75e821588c39a
MD5 1fb67e66c6ed52e65e4da60e16fac9fe
BLAKE2b-256 f26e285436816d62e8e70a7f3660294596b34903f455bf398771a1d50887c429

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page