Skip to main content

Development tools loader

Project description

Development Tool Loader

A CLI tool for automated downloading of development tools:

  • Python installers and pip packages;
  • VS Code installers and extensions (.vsix files).

The tool ensures version compatibility, handles dependencies, and supports repeatable configurations via JSON.

Key Features

  • Version control: Ensures VS Code extension versions match the target VS Code engine version.

  • Package bundles: Supports downloading multiple packages/extensions in a single config.

  • Dependency handling: Automatically resolves and downloads dependencies for VS Code extensions.

  • Resilient downloads: Automatically retries on connection loss.

  • Repeatable setups: JSON-based configuration enables reproducible environment setups.

  • Flexible versioning: Supports "latest" for extensions and packages.

Installation

pip install dev-tools-loader

Command‑Line Options

Mandatory Option

  • -j, --json-path <json_config_path> Specifies the path to the JSON configuration file that defines download targets.

Optional Options

  • -o, --output-path <output_dir> Sets the output directory where downloaded files will be saved.

  • -c, --clean If specified, deletes files in the target output directory before starting the download process.

  • -h, --help Displays the help message with a summary of all available options and exits.

  • --version Prints the current version of the dev-tools-loader package and exits.

Example Config

{
    "version": "0.1.0",
    "targets": [
        {
            "type": "python",
            "platform": "win_amd64",
            "version": "3.12.0",
            "installer": "load",
            "packages": [
                {
                    "name": "compiledb",
                    "version": "0.10.6"
                },
                {
                    "name": "requests",
                    "version": "latest"
                }
            ]
        },
        {
            "type": "vscode",
            "platform": "win32-x64",
            "version": "1.96.0",
            "installer": "load",
            "extensions": [
                {
                    "uid": "ms-vscode.cpptools",
                    "version": "1.28.0"
                },
                {
                    "uid": "ms-python.python",
                    "version": "latest"
                }
            ]
        }
    ]
}

Configuration Fields

  • version (str): Schema version.
  • targets (list): List of download targets. Each target has:
    • type (str): "python" or "vscode".
    • platform (str): Target platform (see supported platforms below).
    • version (str): Version of the tool.
    • installer (str): "load" to download installer.
    • packages (list, Python-only): List of pip packages to download.
      • name (str): Package name.
      • version (str): Package version ("latest" supported).
    • extensions (list, VS Code-only): List of VS Code extensions to download.
      • uid (str): Extension ID (e.g., "ms-vscode.cpptools").
      • version (str): Extension version ("latest" supported).

Supported Platforms Python

  • win32
  • win_amd64
  • win_arm64
  • manylinux1_x86_64
  • manylinux2010_x86_64
  • manylinux2014_x86_64
  • manylinux1_i686
  • manylinux2010_i686
  • manylinux2014_i686
  • manylinux2014_aarch64
  • manylinux2014_armv7l
  • macosx_10_9_x86_64
  • macosx_11_0_arm64

Supported Platforms VS Code

  • win32-x64
  • win32-arm64
  • linux-x64
  • linux-arm64
  • linux-armhf
  • alpine-x64
  • alpine-arm64
  • darwin-x64
  • darwin-arm64

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

dev_tools_loader-0.1.0a2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

dev_tools_loader-0.1.0a2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file dev_tools_loader-0.1.0a2.tar.gz.

File metadata

  • Download URL: dev_tools_loader-0.1.0a2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for dev_tools_loader-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 ce4a48333aee58037ac91542c823057207a83ac3e0511952c2f262ea0e8255a5
MD5 b6dd3a77baaa6bf4afa39e1313c12896
BLAKE2b-256 e65e62e30fe86a986682d70602a2ab0f50c03433860e164abfb0cf0b834ac7f7

See more details on using hashes here.

File details

Details for the file dev_tools_loader-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for dev_tools_loader-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa05c5775544fee1e054060b783d16edc8c093cda2415069b68fdd375a7ac9e3
MD5 44496ef9fccaf7bcf882afdcf9a7d450
BLAKE2b-256 9914464de376463b19f6876eff89eb0724d00efb7a8012f64952d5f2b8104559

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