{"id":29092403,"url":"https://github.com/parisneo/pyro","last_synced_at":"2025-08-12T13:50:51.460Z","repository":{"id":280437260,"uuid":"941533116","full_name":"ParisNeo/PyRo","owner":"ParisNeo","description":"\"Pyro\" (short for Python Rust Orchestrator) A rust based python environment manager.","archived":false,"fork":false,"pushed_at":"2025-03-03T12:32:58.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T12:36:03.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParisNeo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-02T14:20:16.000Z","updated_at":"2025-03-03T12:33:01.000Z","dependencies_parsed_at":"2025-03-03T12:46:58.238Z","dependency_job_id":null,"html_url":"https://github.com/ParisNeo/PyRo","commit_stats":null,"previous_names":["parisneo/pyro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParisNeo/PyRo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParisNeo%2FPyRo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParisNeo%2FPyRo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParisNeo%2FPyRo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParisNeo%2FPyRo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParisNeo","download_url":"https://codeload.github.com/ParisNeo/PyRo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParisNeo%2FPyRo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262389494,"owners_count":23303343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-28T07:06:42.510Z","updated_at":"2025-06-28T07:06:46.418Z","avatar_url":"https://github.com/ParisNeo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyRo Documentation\n\n## Introduction\nPyRo is a blazing-fast Python version and environment manager written in Rust. It supports both system-wide and portable modes, making it easy to manage Python environments and distribute Python applications efficiently.\n\n## Features\n- **Python Version Management**: Install and switch between multiple Python versions.\n- **Virtual Environment Management**: Create, activate, and manage virtual environments.\n- **System-Wide Mode**: Manage Python installations globally for all users.\n- **Portable Mode**: Create self-contained Python environments for projects.\n- **Compression**: Compress and decompress Python projects for easy distribution.\n\n## Installation\n### \n\n### Installing PyRo\nTo install PyRo using Cargo, run the following command:\n```bash\ncargo install --git https://github.com/ParisNeo/PyRo\n```\n\n### Installing Dependencies\nEnsure you have Rust and Cargo installed on your system before installing PyRo. You may also need `zip`, `tar`, and `reqwest` dependencies for full functionality.\n\n## Usage\n### Listing Available Python Versions\nTo list available Python versions:\n```bash\npyro list\n```\n\n### Installing a Specific Python Version\nTo install a specific Python version:\n```bash\npyro install 3.9.7\n```\n\n### Creating a Virtual Environment\nTo create a virtual environment:\n```bash\npyro create-venv my_env 3.9.7\n```\n\n### Activating a Virtual Environment\nTo activate a virtual environment:\n```bash\npyro activate-venv my_env\n```\nRun the displayed command to activate the environment.\n\n### Installing Packages\nTo install a package:\n```bash\npyro install-package numpy\n```\n\nTo install packages from a requirements file:\n```bash\npyro install-requirements requirements.txt\n```\n\n### Compressing a Project\nTo compress a Python project into a portable archive:\n```bash\npyro compress my_project output.zip\n```\n\n### Decompressing a Project\nTo extract a compressed Python project:\n```bash\npyro decompress output.zip extracted_project\n```\n\n## Modes of Operation\n### System-Wide Mode\nSystem-wide mode installs Python globally on your machine. The configuration file (`config.json`) typically contains:\n```json\n{\n    \"default_python_version\": \"3.9\",\n    \"venv_path\": \"/usr/local/pyro/venvs\",\n    \"mode\": \"System\"\n}\n```\nPython installations and virtual environments are available system-wide.\n\n### Portable Mode\nPortable mode allows users to keep Python environments contained within project directories. Example configuration:\n```json\n{\n    \"default_python_version\": \"3.9\",\n    \"venv_path\": \"./venvs\",\n    \"mode\": \"Portable\"\n}\n```\nEach project will have its own independent Python environment, useful for distribution or working across different systems.\n\n## Error Handling\n### Common Errors\n- **Failed to Download Python Version**: Ensure your internet connection is stable and check the Python version URL.\n- **Virtual Environment Creation Fails**: Check if the specified Python version is installed.\n- **Package Installation Issues**: Ensure that the `pip` executable exists within the virtual environment.\n\n## Conclusion\nPyRo simplifies Python version and environment management. Whether used as a system-wide tool or a portable solution, it enhances flexibility and efficiency in Python project development and distribution.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisneo%2Fpyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparisneo%2Fpyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisneo%2Fpyro/lists"}