You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Rossen Georgiev 99d74c82f2 implemented SteamAuthenticator; fix #32 9 years ago
docs implemented SteamAuthenticator; fix #32 9 years ago
protobufs add descriptor.proto to repo 10 years ago
steam implemented SteamAuthenticator; fix #32 9 years ago
tests fix webauth test VCRs 10 years ago
vcr fix webauth test VCRs 10 years ago
.coveragerc added .coveragerc 10 years ago
.gitignore added steam client protobufs 10 years ago
.scrutinizer.yml fix scrutinizer + add py3.3 as supported 10 years ago
.travis.yml protobuf 3.0.0b2 compiled protos 10 years ago
LICENSE textwrap LICENSE; tweaks to README 10 years ago
Makefile add descriptor.proto to repo 10 years ago
README.rst implemented SteamAuthenticator; fix #32 9 years ago
protobuf_list.txt added unified messaging support #26 10 years ago
requirements.txt protobuf 3.0.0b2 compiled protos 10 years ago
setup.py fix scrutinizer + add py3.3 as supported 10 years ago
tox.ini fix tox deps; correct test instructin in README 10 years ago

README.rst

|pypi| |license| |coverage| |scru| |master_build| |docs|

A python module for interacting with various parts of Steam_.

Supports Python ``2.7+`` and ``3.3+``.

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

Key features
------------

* `SteamAuthenticator <http://valvepython.github.io/steam/api/steam.guard.html>`_ - enable/disable/manage 2FA on account and generate codes
* `SteamClient <http://valvepython.github.io/steam/api/steam.client.html>`_ - communication with the steam network based on ``gevent``.
* `SteamID <http://valvepython.github.io/steam/api/steam.client.html>`_ - convert between the various ID representations with ease
* `WebAPI <http://valvepython.github.io/steam/api/steam.webapi.html>`_ - simple API for Steam's Web API with automatic population of interfaces
* `WebAuth <http://valvepython.github.io/steam/api/steam.webauth.html>`_ - authentication for access to ``store.steampowered.com`` and ``steamcommunity.com``

Checkout the `User guide <http://valvepython.github.io/steam/user_guide.html>`_ for examples,
or the `API Reference <http://valvepython.github.io/steam/api/index.html>`_ for details.

For questions, issues or general curiosity visit the repo at `https://github.com/ValvePython/steam <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 <https://pip.pypa.io/en/stable/reference/pip_install/#requirement-specifiers>`_

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

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

tox


.. _Steam: https://store.steampowered.com/

.. |pypi| image:: https://img.shields.io/pypi/v/steam.svg?style=flat&label=stable
:target: https://pypi.python.org/pypi/steam
:alt: Latest version released on PyPi

.. |license| image:: https://img.shields.io/pypi/l/steam.svg?style=flat&label=license
:target: https://pypi.python.org/pypi/steam
:alt: MIT License

.. |coverage| image:: https://img.shields.io/coveralls/ValvePython/steam/master.svg?style=flat
:target: https://coveralls.io/r/ValvePython/steam?branch=master
:alt: Test coverage

.. |scru| image:: https://scrutinizer-ci.com/g/ValvePython/steam/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/ValvePython/steam/?branch=master
:alt: Scrutinizer score

.. |master_build| image:: https://img.shields.io/travis/ValvePython/steam/master.svg?style=flat&label=master
:target: http://travis-ci.org/ValvePython/steam/branches
:alt: Build status of master branch

.. |docs| image:: https://readthedocs.org/projects/steam/badge/?version=latest
:target: http://steam.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status