Skip to main content

whl-conf

whl-conf is a command-line tool for managing configuration sets (configs), particularly suited for autonomous driving applications. It provides a robust, manifest-driven workflow for activating, versioning, and modifying configurations safely.

Global Options

  • --conf-dir <path>: Specifies the root directory of the configuration repository. All operations, such as creating configs and managing links, are performed relative to this directory. The default is /apollo.

Command Descriptions

  • list: Displays all available configuration sets.

  • info <config_name>: Shows detailed information about the specified configuration set.

  • create <new_config_name>: Creates a new configuration set based on the specified template.

  • delete <config_name>: Deletes the specified configuration set.

  • activate <config_name> [--dry-run]: Activates the specified configuration set, creating symlinks for all managed files. Use --dry-run to preview the activation without making changes.

  • add <path(s)> [--dry-run]: Adds one or more files/directories to the active configuration. This copies the source files into the active config's directory (creating a snapshot) and then creates symlinks pointing to these new copies. This operation is transactional and forcefully overwrites any existing files at the destination. Use --dry-run to preview the actions.

  • remove <path(s)> [--dry-run]: Removes one or more files/directories from the active configuration. This is the mirror operation to add. It deletes both the system symlinks and the corresponding file snapshots from within the active config's directory. Use --dry-run to preview the actions.

  • diff <config1_name> <config2_name>: Compares the contents of two configuration sets and shows the differences.

  • rename <old_name> <new_name>: Renames the specified configuration set.

  • pull [--name <name>]: Pulls a configuration set from a remote source and saves it locally. Optionally, specify a local name using --name.


Quick Start

Install the tool

pip install whl-conf

Commands

  1. List all configuration sets

    whl-conf list
    
  2. Show details of a specific config

    whl-conf info <config_name>
    
  3. Create a new config set from a template

    whl-conf create <template_name> <new_config_name>
    
  4. Delete a specified config

    whl-conf delete <config_name>
    
  5. Activate a specified config set

    whl-conf activate <config_name>
    
  6. Add a new model file to the active config

    whl-conf add modules/perception/models/new_model.pb
    
  7. Add multiple files and directories to the active config

    whl-conf add modules/control/conf/new_params.pb.txt data/calibration/new_camera/
    
  8. Remove a file from the active config

    whl-conf remove modules/perception/models/new_model.pb
    
  9. Compare two config sets

    whl-conf diff <config1_name> <config2_name>
    
  10. Rename a config set

    whl-conf rename <old_name> <new_name>
    
  11. Pull a config set from a remote source

    whl-conf pull [--name <name>]
    

For more detailed information and additional options, you can run:

whl-conf --help
whl-conf <command> --help

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whl_conf-0.0.8.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

whl_conf-0.0.8-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file whl_conf-0.0.8.tar.gz.

File metadata

  • Download URL: whl_conf-0.0.8.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for whl_conf-0.0.8.tar.gz
Algorithm Hash digest
SHA256 d06a15bd07d21366ea39afd4d299042ebb8ab770e3bd4a84a8a34d290fedc6ca
MD5 e8b70cec56c58a90a44dff7276629b4a
BLAKE2b-256 8d1fb9997ec600c3e1e24e785864707664c459ff9d6a0772f2b17facf134f6aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for whl_conf-0.0.8.tar.gz:

Publisher: python-publish.yaml on wheelos-tools/whl-conf

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

File details

Details for the file whl_conf-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: whl_conf-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for whl_conf-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c37e42c5fc0d6f5316a59210fee2e7cb8061860a764aa9b6796c751a26cca2
MD5 73ab7410fc38d721de046fce12e6e75c
BLAKE2b-256 8dd4426ba42ff3f0f8986f9b48d07b6ed6ce046f5cf4f11560a97e617f43ba89

See more details on using hashes here.

Provenance

The following attestation bundles were made for whl_conf-0.0.8-py3-none-any.whl:

Publisher: python-publish.yaml on wheelos-tools/whl-conf

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

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page