Metadata-Version: 2.3
Name: uv2conda
Version: 0.1.1
Summary: Create a Conda environment file from a Python project using uv.
Project-URL: Homepage, https://github.com/fepegar/uv2conda
Project-URL: Source, https://github.com/fepegar/uv2conda
Author-email: Fernando Pérez-García <fepegar@gmail.com>
Requires-Python: >=3.9
Requires-Dist: loguru
Requires-Dist: packaging
Requires-Dist: pyyaml
Requires-Dist: typer
Description-Content-Type: text/markdown

# uv2conda

Tiny Python package to create a [`conda`](https://docs.anaconda.com/miniconda/) environment file from a Python project using [`uv`](https://docs.astral.sh/uv/).

```shell
pip install uv2conda
uv2conda \
    --project-dir "/path/to/my/project/" \
    --name "my_conda_env_name" \
    --python "3.12.7" \
    --conda-env-path "my_conda_env.yaml" \
    --uv-args "--prerelease=allow"
```

Or, in Python:

```python
import uv2conda

uv2conda.make_conda_env_from_project_dir(
    "/path/to/my/project/",
    name="my_conda_env_name",
    python_version="3.12.7",
    out_path="environment.yaml",
    uv_args=["--prerelease=allow"],
)
```
