Skip to main content

A small example package

Project description

SteamworksPy

Howdy! This project originally started as a fork of Easimer's SteamworksForPython in an attempt to bring a fully-functional Python module for Steam out for the public. Since then it has grown beyond that and added a lot of functionality.

Feel free to fork or contribute to this module.

Pre-builds for Windows and Linux here: https://github.com/philippj/SteamworksPy/releases

Full documentation on getting started is now available here: https://philippj.github.io/SteamworksPy/

What's New

Updates since February 1st, 2020

  • Added: GetNumAchievements, GetAchievementName, GetAChievementDisplayAttribute by aveao
  • Added: missing file for packaging by tpchanho
  • Changed: organized Apps and Friends functions alphabetically to make editing easier
  • Changed: ClearGameInfo to actual Steamworks function ClearRichPresence
  • Fixed: argtypes for Workshop_SuspendDownloads by tpchanho

Requirements

Following files are required to be located in your project working directory:

  • steam_appid.txt - Stating your games app id or any other valid app id given the account owns a license
  • steam_api library (.dll, .so, .darwin) and the corresponding steam_api.lib
  • SteamworksPy library (.dll, .so, .darwin)

The library will only function if the Steam client is running and logged in. Otherwise you will encounter exceptions.

Some Notes

While I am still tinkering away with this, here are some things to note:

  • You will need a Steamworks account, with a valid AppID, to use more advanced functions (set achievements, set stats, etc.)
  • Steam Overlay will only work if your game is using OpenGL or D3D! Overlay will only work if the game is actually launched from Steam itself. Possible if the SteamRestart command is fired; however, this is not implemented yet in SteamworksPy.
  • Do not install Python from the Microsoft App Store. Make sure to download and install it from Python's main site.

Usage

Please check the examples in the "examples" directory for a basic understanding of the module. For further reference you can go through the interface implementations itself or use the official Steamworks documentation (https://partner.steamgames.com/doc/api)

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

steamworkspy_rocketfriday-0.0.1.tar.gz (259.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steamworkspy_rocketfriday-0.0.1-py3-none-any.whl (268.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for steamworkspy_rocketfriday-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bb88f2d842c51a58a5de1c8d4c8f1e5fefd3537b9c0109e61d468a835bcd4b23
MD5 1912bd0a83f917028108343aa9a313fb
BLAKE2b-256 79facbb373e80b6332609e1fa8ebd92bc5a54202494a26a9c4dbb37c2bc0a33f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for steamworkspy_rocketfriday-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eea52b87d31a74a3c28da034ce84be14c1760209b51b5bdb43e9c0e9647900a8
MD5 36f54bef059b05c4817732aec640762d
BLAKE2b-256 87cb076c9f71759d6185c20b5ef3121a31cd3ff0ca9541239208952ea476b073

See more details on using hashes here.

Supported by

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