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.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SteamPathFinder-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5c8706c572163e8d8d3ca2ef4130b5df5899f8b84bd7ede428f491f5b9141f3e
MD5 9ef55aa2ae1b0f6ef34d93342f74a0bf
BLAKE2b-256 83df0636800c2cf8d33fef7d2f31aff0c843c3fb619d0ce322c5e2317ac94106

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SteamPathFinder-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf1eb2f3510843d42019bd3597d2427ce0ae106e460891109558a510a5bb20b
MD5 85ba971078b0b7639d04878f3a1b074e
BLAKE2b-256 06e5b92fe1d83c9f830a33fbd791a7280d649066d8b4806ad37e8216eabad6f9

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