Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

☁️ Python package for interacting with Steam

License

NotificationsYou must be signed in to change notification settings

ValvePython/steam

Repository files navigation

Latest version released on PyPiLatest release on GithubPyPI - Python VersionMIT License
Test coverageBuild status of master branchDocumentation status
SonarCloud RatingSonarCloud RatingSonarCloud Rating

A python module for interacting with various parts ofSteam.

Supports Python2.7+ and3.4+.

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

Features

  • SteamClient - communication with the steam network based ongevent.
  • CDNClient - access to Steam content depots
  • WebAuth - authentication for access tostore.steampowered.com andsteamcommunity.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 viaSteamClient

Checkout theUser guide for examples,or theAPI Reference for details.

For questions, issues or general curiosity visit the repo athttps://github.com/ValvePython/steam.

Like using the command line? Trysteamctl tool

Install

For system specific details, seeInstallation Details.

Install latest release version from PYPI:

# with SteamClient dependeciespip install -U"steam[client]"# without (only when using parts that do no rely on gevent, and protobufs)pip install -U steam

Installing directly fromgithub repository:

# cutting edge from masterpip 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 extraspip 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 havevagrant andvirtualbox set up.The VM isUbuntu 16.04 with all necessary packages installed, and virtualenv forpython2 andpython3.

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

Local Testing

To run the test suite with the currentpython, use

maketest

To run for specific version, setup a virtual environment

virtualenv -p python3 py3source py3/bin/activepip install -r requirements.txtmaketest

Contact

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


[8]ページ先頭

©2009-2026 Movatter.jp