Skip to content

☁️ Python package for interacting with Steam. Fork of ValvePython/steam

License

solsticegamestudios/steam

 
 

Repository files navigation

Looking for maintainers!

The original reason for forking this repo and taking on the burden of maintaining it was to support a tool we make called GModCEFCodecFix.

However, we've since migrated that tool to Rust.

We're a small developer with limited resources and manpower, and since we're no longer using this fork in any of our projects, it has become difficult to maintain it.

If you're interested in helping out, please let us know! PRs are welcome, active maintainers even more so.

About

A python module for interacting with various parts of Steam.

A fork of ValvePython/steam, which has apparently been abandoned.

Currently supports Python 3.10, 3.11, and 3.12. We intend to support Python 3.9-3.13 and PyPy 3.11.

Documentation (WARNING - out of date): http://steam.readthedocs.io/en/latest/

Features

  • SteamClient - communication with the steam network based on gevent.
  • CDNClient - access to Steam content depots
  • WebAuth - authentication for access to store.steampowered.com and steamcommunity.com
  • WebAPI - simple API for Steam's Web API with automatic population of interfaces
  • SteamAuthenticator - enable/disable/manage two factor authentication for Steam accounts
  • SteamID - convert between the various ID representations with ease
  • Master Server Query Protocol - query masters servers directly or via SteamClient

Checkout the User guide for examples, or the API Reference for details.

For questions, issues or general curiosity visit the repo at https://github.com/solsticegamestudios/steam.

Like using the command line? Try steamctl tool

Install

For system specific details, see Installation Details.

WARNING: Only ValvePython's (out of date) version is on PyPI.

Installing directly from github repository:

# cutting edge from master
pip install "git+https://github.com/solsticegamestudios/steam#egg=steam"

# specific version tag (e.g. v1.0.0)
pip install "git+https://github.com/solsticegamestudios/steam@v1.0.0#egg=steam[client]"
# without SteamClient extras
pip install "git+https://github.com/solsticegamestudios/steam@v1.0.0#egg=steam"

Vagrant

The repo includes a Vagrantfile to setup environment for experimentation and development. We assume you've already have vagrant and virtualbox set up. The VM is Ubuntu 16.04 with all necessary packages installed, and virtualenv for python2 and python3.

vagrant up    # spin the VM and let it setup
vagrant ssh
# for python2
$ source venv2/bin/activate
# for python3
$ source venv3/bin/activate

Local Testing

To run the test suite with the current python, use

make test

To run for specific version, setup a virtual environment

virtualenv -p python3 py3
source py3/bin/active
pip install -r requirements.txt
make test

About

☁️ Python package for interacting with Steam. Fork of ValvePython/steam

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • Makefile 0.5%