Skip to main content

A command line uploader for Heroes of the Storm replays to heroesprofile.com

Project description

Heroes Profile Replay Uploader - Unofficial

pre-commit PyPi

A python script that allows a user to upload Heroes of the Storm .StormReplay files to the HeroesProfile.com website.

This tool is not developed or maintained by heroesprofile.com.

Installation

You can get this script from PyPi:

pip install heroes-profile-replay-uploader

Usage

Full --help message from the tool.

usage: heroes-profile-replay-uploader [-h] [-a ACCOUNTS_DIRECTORY] [-C CATALOGUE] [-c CONFIG] [-q] [-T THREADS] [-t TIMEOUT] [-v] [-V]

A command line uploader for Heroes of the Storm replays to heroesprofile.com

options:
  -h, --help            show this help message and exit
  -a ACCOUNTS_DIRECTORY, --accounts-directory ACCOUNTS_DIRECTORY
                        The 'Accounts' directory for Heroes of the Storm
  -C CATALOGUE, --catalogue CATALOGUE
                        The JSON file of already examined replays (default: $XDG_DATA_HOME/heroes-profile-replay-uploader/catalogue.json)
  -c CONFIG, --config CONFIG
                        The TOML file containing the application config (default: $XDG_CONFIG_HOME/heroes-profile-replay-uploader.toml)
  -q, --quiet           Run with no output (prioritised over --verbose)
  -T THREADS, --threads THREADS
                        The number of uploads to attempt concurrently (default: 1)
  -t TIMEOUT, --timeout TIMEOUT
                        The timeout in seconds (float) for API interactions (default: 10.0)
  -v, --verbose         Enable printing debug messages to stdout
  -V, --version         Print the version of the program and exit

Minimal command:

heroes-profile-replay-uploader --accounts-directory /path/to/the/HotS/Accounts/Dir

Note: --accounts-directory must point to the "Accounts" directory. Not the directory of a specific given account.

Configuration

A TOML configuration can load from $XDG_CONFIG_HOME/heroes-profile-replay-uploader.toml by default.

This file supports every command line argument, except --help and --version, under a top level table called heroes-profile-replay-uploader:

[heroes-profile-replay-uploader]
accounts-directory = "/path/to/accounts/directory"
catalogue = "$XDG_DATA_HOME/heroes-profile-replay-uploader/catalogue.json"
config = "$XDG_CONFIG_HOME/heroes-profile-replay-uploader.toml"
quiet = false
threads = 1
timeout = 10.0
verbose = false

The tool doesn't create this configuration file.

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

heroes_profile_replay_uploader-0.2.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file heroes_profile_replay_uploader-0.2.2.tar.gz.

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.2.tar.gz
Algorithm Hash digest
SHA256 72835cafe29a0fea8da8f75de0a699b46f9f3bfa28b6c3f385cc528eced89c27
MD5 80e6daccc5b3b40ebe49513ea9113224
BLAKE2b-256 1075a1ba73cd1d88dbd9258c9ae3299aaabfdfe5da0c4c3b19ff0d8e0459861c

See more details on using hashes here.

File details

Details for the file heroes_profile_replay_uploader-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65bd222a805dd84d3efeafa0ec31765910304c50cf11512b78d23ab094d50411
MD5 b039591a572695165b89caffe2feddea
BLAKE2b-256 35ae2905499adce9aae70b97522f8fc22767c079972ac315d311c92c451e4a5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page