Skip to main content

A utility module for finding Steam paths

Project description

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()

Contributing

Interested in contributing to this project? Contributions are welcome! Here's how you can contribute:

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

License

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

Contact

Email: dlwlghks8779@naver.com

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

Uploaded Source

Built Distribution

SteamPathFinder-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SteamPathFinder-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 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.2.tar.gz
Algorithm Hash digest
SHA256 74c2c066665c619a1c3c931477fcffb6d26dd186f6caa954972e88a5ec4e37ea
MD5 78d73a3ccef0bc9111a3a0c1608bafab
BLAKE2b-256 1c137704a42164ece3a1f0e677bc22e93022207c1b30271e0de292183829ee09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SteamPathFinder-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dadf8f54159ba3cd1c0ce67c552f175c246082f5c24260d4bd51aa844a8dcc28
MD5 58ba122693d1cf0a4b97c1a0c46cdec7
BLAKE2b-256 b47a9e04f31f20f19c40935e3a1adbc9bd5ff9a95efb7fb6d0f3484dbbd17010

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