Skip to main content

Module for interacting with various Steam features

Project description

Latest version released on PyPi Latest release on Github PyPI - Python Version MIT License
Test coverage Build status of master branch Documentation status
SonarCloud Rating SonarCloud Rating SonarCloud Rating

A python module for interacting with various parts of Steam.

Supports Python 2.7+ and 3.4+.

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

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/ValvePython/steam.

Like using the command line? Try steamctl tool

Install

For system specific details, see Installation Details.

Install latest release version from PYPI:

# with SteamClient dependecies
pip install -U "steam[client]"

# without (only when using parts that do no rely on gevent, and protobufs)
pip install -U steam

Installing directly from github repository:

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

# specific version tag (e.g. v1.0.0)
pip install "git+https://github.com/ValvePython/steam@v1.0.0#egg=steam[client]"
# without SteamClient extras
pip install "git+https://github.com/ValvePython/steam@v1.0.0#egg=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

Contact

IRC: irc.libera.chat / #steamre (join via webchat)

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-1.4.0.tar.gz (644.0 kB view details)

Uploaded Source

File details

Details for the file steam-1.4.0.tar.gz.

File metadata

  • Download URL: steam-1.4.0.tar.gz
  • Upload date:
  • Size: 644.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for steam-1.4.0.tar.gz
Algorithm Hash digest
SHA256 2c07187351623fdb4129bb65191e31ae206f8df33c45cfcf8e1964e55365dcd6
MD5 72847315cf53dc38d84474141a655e0e
BLAKE2b-256 8e4b93ebc9a63562c5cde5d456bb3e153f17ae9287905fad84f7e50624dbdffb

See more details on using hashes here.

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