A python module for interacting with various parts of Steam.
Supports Python 2.7+ and 3.4+.
Documentation: http://steam.readthedocs.io
- SteamID - convert between the various ID representations with ease
- WebAPI - simple API for Steam's Web API with automatic population of interfaces
- WebAuth - authentication for access to
store.steampowered.comandsteamcommunity.com - SteamClient - communication with the steam network based on
gevent.
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/ValvePython/steam.
By default the steam package doesn't install all dependecies.
Add [client] extra if you are going to use SteamClient.
Install latest version from PYPI:
pip install -U steam pip install -U steam[client]
Install the current dev version from github:
pip install git+https://github.com/ValvePython/steam pip install git+https://github.com/ValvePython/steam#egg=steam[client]
For extras syntax in requirements.txt see pip docs
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
To run for python 2.7 and 3.4 assuming you have them installed:
tox