Skip to main content

No project description provided

Project description

uVSCEM

PyPI - Version PyPI - Python Version PyPI - Implementation PyPI - License

uVSCEM is a VS Code extension installer for restricted environments.

It helps when normal extension installation fails because of proxy issues, controlled outbound access, or air-gapped workflows. It can also export and import offline extension bundles.

What it does

  • Reads extension IDs from your devcontainer.json.
  • Downloads VSIX packages and marketplace signatures.
  • Verifies extension signatures using vsce-sign.
  • Installs extensions in a DevContainer-compatible way.
  • Supports offline bundles (export and import).

Requirements

  • Python 3.10+
  • VS Code CLI (code) available in your environment
  • Access to your devcontainer.json

Platform support

uVSCEM auto-detects common VS Code runtime environments and can fall back to local CLI discovery on macOS and Windows.

The primary tested target is still Linux, especially DevContainer and VS Code Remote (.vscode-server) environments.

Install

pip install uvscem

You can also use uv or pipx if you prefer.

Quick start (DevContainer)

Add uVSCEM to your container image, then call it from postAttachCommand:

{
  "postAttachCommand": "uvscem install --config-name /path/to/devcontainer.json"
}

This installs (and updates) extensions listed in your config each time the container is attached.

Commands

Install extensions directly:

uvscem install --config-name ./devcontainer.json

Pinning is supported in devcontainer.json using publisher.extension@version:

{
  "customizations": {
    "vscode": {
      "extensions": [
        "dbaeumer.vscode-eslint@3.0.10"
      ]
    }
  }
}

Export an offline bundle:

uvscem export --config-name ./devcontainer.json --bundle-path ./uvscem-offline-bundle

Import an offline bundle without network access:

uvscem import --bundle-path ./uvscem-offline-bundle --strict-offline

Optional manifest authenticity checks:

uvscem export --config-name ./devcontainer.json --manifest-signing-key YOUR_GPG_KEY_ID
uvscem import --bundle-path ./uvscem-offline-bundle --verify-manifest-signature

Proxy note

uVSCEM follows standard proxy environment variables such as HTTP_PROXY, HTTPS_PROXY, and NO_PROXY.

Why this exists

uVSCEM is a practical workaround for known VS Code proxy/devcontainer limitations, including:

Contributing

Development setup, testing, and release details are in CONTRIBUTING.md.

A big thank you to the following people

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

uvscem-1.0.2.tar.gz (93.1 kB view details)

Uploaded Source

Built Distribution

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

uvscem-1.0.2-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file uvscem-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for uvscem-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a81b14f2d892da78d3db8078fb0ce3eb8f547744806912b8d06f8205093bf695
MD5 ea2893ba029072c83f10872ad47fea9f
BLAKE2b-256 7ac9b3d56e5b168a25862d4e375fd98ce823daab3ed5d8c2bcad056c5a21bbfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvscem-1.0.2.tar.gz:

Publisher: publish.yml on macgeneral/uVSCEM

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

File details

Details for the file uvscem-1.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for uvscem-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c5584cd617b1462fdc961b6a225f8f81994d8f7984ea1fd45562a0a24c8d475
MD5 9271f4cba320c51af37ab6b1f265d8b5
BLAKE2b-256 b09917a7af80a24624471d1dbd1b147a350eea3ee7fe42eb7af202131fb717fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvscem-1.0.2-py3-none-any.whl:

Publisher: publish.yml on macgeneral/uVSCEM

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