Skip to main content

Cross-platform installer and management CLI for Throne

Project description

ThroneTools

Cross-platform CLI to install, reinstall, uninstall, and manage configuration for Throne and NekoRay on Linux, macOS, and Windows.

Requirements

  • Python 3.10+
  • uv

Quick Start (uv)

# from repo root
uv sync
uv run thronetools --help

Interactive mode

Run without subcommands to open the interactive menu:

uv run python thronetools.py

Commands

thronetools install
thronetools backup --app {throne|nekoray} [--output <path-or-dir>]
thronetools restore --app {throne|nekoray} --zip <backup.zip>
thronetools remove --app {throne|nekoray}
thronetools reinstall --app {throne|nekoray} [--backup] [--output <path-or-dir>] [--force]
thronetools info --app {throne|nekoray}
thronetools hotspot enable [--iface <iface>] [--ssid <name>] [--password <pass>] [--dry-run]
thronetools hotspot disable [--dry-run]

Common Examples

# Install Throne
uv run thronetools install

# Backup Throne config to current directory
uv run thronetools backup --app throne

# Backup NekoRay config to a specific folder
uv run thronetools backup --app nekoray --output ~/Backups

# Restore Throne config
uv run thronetools restore --app throne --zip ~/Backups/throne-backup-2026-02-17.zip

# Reinstall with backup + restore flow
uv run thronetools reinstall --app throne --backup

# Show installed app details
uv run thronetools info --app throne

# Preview hotspot commands without applying changes
uv run thronetools hotspot enable --iface wlp2s0 --dry-run

Notes

  • hotspot commands are supported on Linux and macOS. On Windows, hotspot subcommands are not available.
  • Some operations require elevated privileges depending on platform/package manager.

Development

# Lint/format (Ruff is configured in pyproject.toml)
uv run ruff check .
uv run ruff format .

# Build package
uv build

Install as a tool (optional)

If you want a globally available command via uv:

uv tool install .
thronetools --help

To update later:

uv tool upgrade thronetools

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

thronetools-1.0.4.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

thronetools-1.0.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file thronetools-1.0.4.tar.gz.

File metadata

  • Download URL: thronetools-1.0.4.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for thronetools-1.0.4.tar.gz
Algorithm Hash digest
SHA256 fbe8a7f5d36c7439a8130a1d4ddab2e93f4d1410b4367b79cd7de0ed554a02d8
MD5 f36e255242d3420660023169589979d6
BLAKE2b-256 7d25b508f31bb1c28cbcbb00f1c81eb2aa67a02a4b0738662a530ca7dc45fb06

See more details on using hashes here.

Provenance

The following attestation bundles were made for thronetools-1.0.4.tar.gz:

Publisher: build-release.yml on arian24b/thronetools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file thronetools-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: thronetools-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for thronetools-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b12baa039d011886c0f98533b3316169229515c9a872a52c97528f9a6cabc6ae
MD5 9eaddb013da5e138d2b4d553f288d628
BLAKE2b-256 fb9979f0cf40c66cb5926a9bb01eba8cb851725cff7473d9c6d55dd7c3cec2db

See more details on using hashes here.

Provenance

The following attestation bundles were made for thronetools-1.0.4-py3-none-any.whl:

Publisher: build-release.yml on arian24b/thronetools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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