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

A python module for interacting with various parts of Steam.

Supports Python 2.7+ and 3.4+.

Python 3 support for the SteamClient is not available in the release, see issue#10.

Main features:

  • 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

  • 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.

Installation

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

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
make test

To run for python 2.7 and 3.4 assuming you have them installed:

tox

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.7.5.tar.gz (206.0 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