Skip to main content

simple steamcmd app installer

Project description

py_steamcmd_installer

Simple tool to install steam apps via python using the steamcmd

Prerequisites

Make sure steamcmd and python is installed

Installing

pip install py_steamcmd_installer

How to use:

# import the package
from py_steamcmd_installer import py_steamcmd_installer

# create a steamcmd object and give the steamcmd path as an argument
steamcmd = py_steamcmd_installer.Steamcmd("/usr/bin/steamcmd")

# create a function that handels the process output
def output_parser(output):
  print("output: " + output)

# set the output parser
steamcmd.handleOutput = output_parser

# install a server
steamcmd.installServer(4020, "../server_path")

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

py_steamcmd_installer-0.6.1.tar.gz (3.6 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