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

Uploaded Source

Built Distribution

SteamPathFinder-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SteamPathFinder-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 feaa5b8452e34b04743e281e43dfc7064f123e139dd49a2461f25766bc7d6e8d
MD5 3007851f1a5be5d148a1d27538fc763b
BLAKE2b-256 11868db8489f23f5d55e319419a74c661f6ed686cdcafb2908424039b810299d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SteamPathFinder-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd234a4cfb1aade0e6592ae95938af8c5f2bf640184954191682f2399c3e9bc2
MD5 fb5e6860ff0cc2b7766a0457acdd86c0
BLAKE2b-256 149e1641d1afdbe8b80ff61e6b1a6073b3ac67492e6cd3b0bb9e9874606d12c5

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