{"id":24800,"library":"uv-iso-env","title":"uv-iso-env","description":"A tool for creating isolated Python environments using uv. It provides a wrapper around uv to manage ephemeral environments for testing or running scripts with specific dependencies. Current version 1.0.43, actively maintained on PyPI.","status":"active","version":"1.0.43","language":"python","source_language":"en","source_url":"https://github.com/zackees/iso-env","tags":["isolated environment","uv","virtualenv","tool"],"install":[{"cmd":"pip install uv-iso-env","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"The function is named 'iso_env', not 'iso_env2' (historical artifact).","wrong":"from uv_iso_env import iso_env2","symbol":"iso_env","correct":"from uv_iso_env import iso_env"}],"quickstart":{"code":"from uv_iso_env import iso_env\n\n# Create an isolated environment and run a command\nresult = iso_env([\"python\", \"-c\", \"print('hello')\"], requirements=[\"requests>=2.28\"])\nprint(result.stdout.decode() if result.stdout else result.stderr.decode())","lang":"python","description":"Creates an isolated uv-managed environment, installs specified requirements, and executes a command within it."},"warnings":[{"fix":"Install with 'pip install uv-iso-env' and import as 'from uv_iso_env import iso_env'.","message":"On PyPI, the package is 'uv-iso-env' but the import module uses underscores: 'uv_iso_env'.","severity":"breaking","affected_versions":"all"},{"fix":"Use 'from uv_iso_env import iso_env'.","message":"The function name 'iso_env' differs from the package name. Do not look for a function named 'uv_iso_env'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: pip install uv-iso-env","cause":"Wrong package name in pip install (e.g., installed 'iso-env' instead of 'uv-iso-env').","error":"ModuleNotFoundError: No module named 'uv_iso_env'"},{"fix":"Use: from uv_iso_env import iso_env","cause":"Using an outdated import path 'iso_env2' from a previous version.","error":"AttributeError: module 'uv_iso_env' has no attribute 'iso_env2'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}