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: 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.2.1.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.1.tar.gz.

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c2e3e56025bcb38f8c31d5a9dcd29b04be2cc69432c871a297ecba4cde6b7df6
MD5 7a22ea512bbf597a9b0e4e1655b32920
BLAKE2b-256 ad0673710967ab10579a8e2bbf928dec440432557b863393aabd9de48875b71d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88c5a51e9ad8c401d5134f8100f00e80d79e1b4b75a864306e466718b2ca9332
MD5 8ce2cdac27bf67ee98d51afb4e2d49c6
BLAKE2b-256 80f4ae0311a9dd54537487c2fe5148c5bacd1275cc49848dbe5f54c3985844b6

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