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.0.tar.gz (6.0 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.0.tar.gz.

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6c7fa7b3fc2819ab1f2c242c787834b1a3a608ec1db153f6ef6f49aef2ac88a0
MD5 8e254035282a05cd94ee9fa805377b79
BLAKE2b-256 327c40e4f4e0c63fb279a2ab4a8ad5b2e471c2e2b608aebf9e0c9a352ec40e11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heroes_profile_replay_uploader-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63123ae9c8f96338733a40c1635b23b0c5854a2d2b291be44cab9e62e755d804
MD5 c76e9d0235b4314ad628b117e22cde60
BLAKE2b-256 a434f48ea8a1632c8964fa82483ff4e58d12f66e820ef87165e3eea15a3f2f1e

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