Skip to main content

Module for interacting with various Steam features

Project description

Latest version released on PyPi MIT License Test coverage Scrutinizer score Build status of master branch Documentation status

A python module for interacting with various parts of Steam.

Supports Python 2.7+ and 3.3+.

Documentation: http://steam.readthedocs.io/en/stable/

Key features

  • SteamAuthenticator - enable/disable/manage 2FA on account and generate codes

  • SteamClient - communication with the steam network based on gevent.

  • 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.com and steamcommunity.com

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.

Quick install

For details on require system packages, see Full Installation.

Install latest version from PYPI

pip install -U steam

Install the current dev version from github

pip install git+https://github.com/ValvePython/steam

Vagrant

The repo includes a Vagrantfile to setup enviroment for expermentation 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

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

steam-0.8.22.tar.gz (251.9 kB view hashes)

Uploaded Source

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