Metadata-Version: 2.4
Name: vpm-vex
Version: 0.1.0
Summary: Package manager for VEXcode V5 C++ projects
License: MIT License
        
        Copyright (c) 2026 HCU Vex
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/HCU-Vex/vpm
Project-URL: Issues, https://github.com/HCU-Vex/vpm/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: requests>=2.28
Requires-Dist: packaging>=23.0
Dynamic: license-file

# vpm

Package manager for VEXcode V5 C++ projects.

## Installation

```bash
pip install vpm-vex
```

## Quick Start

```bash
# Initialize vpm in your VEXcode project
cd your-vexcode-project
vpm init

# Install a library
vpm install user/repo

# Install all dependencies from vpm.json
vpm install
```

## Commands

### `vpm init`
Initializes vpm in the current VEXcode project. Creates `vpm.json` and patches your makefile to include installed libraries.

```bash
vpm init
```

### `vpm install`
Install a package from GitHub or a direct zip URL. Run with no arguments to install all dependencies from `vpm.json`.

```bash
vpm install                                        # install all from vpm.json
vpm install user/repo                              # latest release
vpm install user/repo@v1.0.0                       # pinned version
vpm install https://github.com/user/repo           # full GitHub URL
vpm install https://example.com/mylib-1.0.0.zip    # direct zip URL
```

### `vpm remove`
Remove an installed package.

```bash
vpm remove my-library
```

### `vpm update`
Update installed packages to their latest releases.

```bash
vpm update                  # update all
vpm update my-library       # update one
```

### `vpm list`
List all installed packages in the current project.

```bash
vpm list
```

### `vpm search`
Search for packages across all configured depots.

```bash
vpm search pid
vpm search chassis
```

### `vpm depot`
Manage package depots.

```bash
vpm depot list                  # list configured depots
vpm depot add <url>             # add a depot
vpm depot remove <url>          # remove a depot
vpm depot fetch <url>           # preview a depot's packages
```

## Creating a Library

Use the [vpm-template](https://github.com/HCU-Vex/vpm-template) to create a vpm-compatible library.

## Part of HCU-Vex

VPM is part of the [HCU-Vex](https://github.com/HCU-Vex) open source VEX Robotics ecosystem.
