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 383383569e update docs strings in steam.core.crypto 10 years ago
docs update docs strings in steam.core.crypto 10 years ago
protobufs add descriptor.proto to repo 10 years ago
steam update docs strings in steam.core.crypto 10 years ago
tests webapi: reworked & added tests #3 10 years ago
vcr webapi: reworked & added tests #3 10 years ago
.coveragerc added .coveragerc 10 years ago
.gitignore added steam client protobufs 10 years ago
.scrutinizer.yml set scrutinizer to expect 1 run 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 fix badge links not pointing to master branch 10 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 add py3 classifiers [ci skip] 10 years ago
tox.ini remove pypy test; reconf build env 10 years ago

README.rst

|license| |coverage| |scru| |master_build|

A python module for interacting with various parts of Steam_.

Supports Python ``2.7+`` and ``3.4+``.

Main features:

* `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``
* `SteamClient <http://valvepython.github.io/steam/api/steam.client.html>`_ - communication with the steam network based on ``gevent``.

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
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=latest%20version
: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