Skip to main content

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

Project description

Heroes Profile Replay Uploader - Unofficial

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: 24)
  -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 = 24  # default will be specific to your computer
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.1.0.tar.gz (5.9 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.1.0.tar.gz.

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 edfd4be1c0e36e6242dcac0c09ee864148662592d096ae73fa4c94383b7a9dda
MD5 ef133756d60d0b9a33f1cc9d82952561
BLAKE2b-256 8902cf118c8a5291a684cff97fc4726fe46af9dd70930f6779aee6bb4b530734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 664f502457b16df4a850dd22e442157913d88ae0125faed157fbe13326d2517e
MD5 bd8b06d3026d146b07c79e4f4e55128e
BLAKE2b-256 5357a2626bd183f1863aa92fbc808864f3eb36576ce7ecb877fae7671fd8ac30

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