package_add()
Add a package to the project's dependencies, and install it.
Usage
package_add(requirement: str, *, install: bool = True, dev: bool = False) -> None
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| requirement required | str |
A package name, optionally with a version, such as |
|
| install | bool | True |
Install it now. With uv, False only updates |
| dev | bool | False |
Add it to the |