Skip to main content

SteamCMD leveraged by CPython to upload binaries

Project description

PySteamUpload

A convenient tool to upload easily your binaries to Steam.

How does it work ?

PySteamUpload requires several environment variables:

  • STEAM_USERNAME
  • STEAM_PASSWORD
  • STEAM_CONFIG_VDF_FILE_CONTENT
  • STEAM_SSFN_FILE_CONTENT
  • STEAM_SSFN_FILE_NAME

STEAM_USERNAME and STEAM_PASSWORD are pretty obvious.
The three following exist to deal with SteamGuard (if not setup on your account, do it now !). This is helping to integrate PySteamUpload into your Continous Deployment framework.

STEAM_CONFIG_VDF_FILE_CONTENT and STEAM_SSFN_FILE_CONTENT should be encoded in base64 and double-quoted in .env file.

Using PySteamUpload in local

Create a .env file and fill the 5 variables (see example below).
Or you can set the variables directly in your environment.

Example of .env

STEAM_USERNAME=PySteamUpload
STEAM_PASSWORD=PySteamUpload

STEAM_CONFIG_VDF_FILE_CONTENT="ABCDEFD
ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF
ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF"

STEAM_SSFN_FILENAME=ABCDEFDABCDEFD

STEAM_SSFN_FILE_CONTENT="ABCDEFDABCDEFD
ABCDEFDABCDEFDABCDEFDABCDEFDABCDEFDABCDEFD
ABCDEFDABCDEFDABCDEFDABCDEFDABCDEFDABCDEFD"

Call PySteamUpload by command line

python -m pysteamupload --app_id="123456" --depot_id="1234567" --build_description="My first upload" --content_path="C:\Temp\MyBinariesAreLocatedHere"

Packaging

  • python -m install twine setuptools wheel
  • python setup.py sdist bdist_wheel
  • python -m twine upload dist/*

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

pysteamupload-0.1.9.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

pysteamupload-0.1.9-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file pysteamupload-0.1.9.tar.gz.

File metadata

  • Download URL: pysteamupload-0.1.9.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for pysteamupload-0.1.9.tar.gz
Algorithm Hash digest
SHA256 dc76f935fd2614e53a0e52a2c0aa76c9ab6487b001108d2108638a375b9f6da6
MD5 e14a1b1ede49af2218ac4376fcf9e4b5
BLAKE2b-256 3362fe53aafb584d0491f56067d5721fcdea558fa6d2bddf2dfb66b7fb39efd2

See more details on using hashes here.

File details

Details for the file pysteamupload-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for pysteamupload-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc9249391e9d9116f97374068abaef3adaefe961c74eb4f0b3e8bfb1fa781a8
MD5 a0d9ca1be14e11bba0bf66218bb2f792
BLAKE2b-256 51d7b3a0f8a7e5d2b35163dfe5b1e562edca2985c2c553bc8e67051a4bbd2b8d

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