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

Uploaded Source

Built Distribution

SteamPathFinder-0.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file steampathfinder-0.0.5.tar.gz.

File metadata

  • Download URL: steampathfinder-0.0.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for steampathfinder-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c80e37d8b879667441080334129d7e952291f6b8fadbb94ef26dba3a943f50c6
MD5 2cc55b32592b980bc0caf34a24a8e972
BLAKE2b-256 94f7d28f8a189b531aed4f069bc0d1fae85fe1d0b3e9f226fa52e08d2737f9a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SteamPathFinder-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5b06aed671556a7e3e6463342dc9ab754225f33acfc3c1126377047ecf9d0f33
MD5 b65a0701dd8ca7d8d1e0b27675c33c08
BLAKE2b-256 0759a455d032f27005d6a307509a75d61f6c2f3a40665c7d5d48bcad0ff48159

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