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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pysteamupload-0.1.5.tar.gz
.
File metadata
- Download URL: pysteamupload-0.1.5.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b26945522193b06a10ab9cab256ec621f0ea92fbbcd930ec993b7fd638a672e2 |
|
MD5 | 309b9d57ab63d3ac98594751c5fad422 |
|
BLAKE2b-256 | 9200bfc68d18ed435af37f7e90524aa165c6cda6c45c89b31b391333466ba69b |
File details
Details for the file pysteamupload-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pysteamupload-0.1.5-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22d423f8096f5a9085f7158645927ab224a4db3e91919fe2e0dee8a923e5692 |
|
MD5 | 6cd669f62aca00ad28e5a9c0cacea923 |
|
BLAKE2b-256 | 02ad556cafd86534e1d328c35bffb31a7cc3a6d3797c0c12f51a7e17623b548e |