Create a Conda environment file from a Python project using uv.
Project description
uv2conda
Tiny Python package to create a conda environment file from a Python project using uv.
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:
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"],
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uv2conda-0.1.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uv2conda-0.1.1.tar.gz.
File metadata
- Download URL: uv2conda-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee9e0a627339f1144c069063dd15c2a7d442d9acada643b6d63e9ccea5fa9174
|
|
| MD5 |
24673aeea5df5a08c3ec3f48972dbcce
|
|
| BLAKE2b-256 |
0ca618b2e2870862d8de543cfef14eff83afb1db576402af38d06099ac7546ce
|
File details
Details for the file uv2conda-0.1.1-py3-none-any.whl.
File metadata
- Download URL: uv2conda-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dcc564a90bdc951ca3a1e759c6fa945502c161df817ee0430c6f2503f28b0b4
|
|
| MD5 |
f759eb7a3254c271e59bddd9480dd811
|
|
| BLAKE2b-256 |
9a265058a3fe74c09da3940a2bfde927cc458161f523d868b2f7609dc90160cb
|