{"id":18789143,"url":"https://github.com/hmasdev/penv","last_synced_at":"2026-04-26T22:31:11.733Z","repository":{"id":231721530,"uuid":"780039709","full_name":"hmasdev/penv","owner":"hmasdev","description":"penv: venv-based python portable environment","archived":false,"fork":false,"pushed_at":"2024-05-23T15:24:37.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T14:34:53.064Z","etag":null,"topics":["embeddable-python","portable","python","venv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmasdev.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":"2024-03-31T14:29:07.000Z","updated_at":"2024-05-23T15:21:53.000Z","dependencies_parsed_at":"2024-04-05T15:28:29.815Z","dependency_job_id":"ee47aaf0-5ea0-4dd4-bd30-0a4aecaae2ba","html_url":"https://github.com/hmasdev/penv","commit_stats":null,"previous_names":["hmasdev/penv"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fpenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fpenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fpenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fpenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmasdev","download_url":"https://codeload.github.com/hmasdev/penv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239709198,"owners_count":19684212,"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":["embeddable-python","portable","python","venv"],"created_at":"2024-11-07T21:06:48.242Z","updated_at":"2025-12-25T23:30:12.583Z","avatar_url":"https://github.com/hmasdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `penv`: `venv`-based Python Portable Environment\n\n![GitHub top language](https://img.shields.io/github/languages/top/hmasdev/penv)\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/hmasdev/penv?sort=semver)\n![GitHub](https://img.shields.io/github/license/hmasdev/penv)\n![GitHub last commit](https://img.shields.io/github/last-commit/hmasdev/penv)\n\n![Scheduled Test](https://github.com/hmasdev/penv/actions/workflows/tests-on-schedule.yaml/badge.svg)\n\n`penv` is a Python package that provides a portable environment for Python projects.\nIt is based on the built-in `venv` module, which is available in Python 3.9 and later.\n`penv` is designed to be a lightweight alternative to more complex tools like `virtualenv` and `conda`.\n\n## Requirements\n\n- Windows\n- Python \u003e= 3.9\n\n## Installation\n\n```bash\npip install git+https://github.com/hmasdev/penv\n```\n\n## Usage\n\nAlmost same as `venv` module.\n\n```bash\npython -m penv .penv\n```\n\nHere is the help of `penv` command.\n\n```bash\n $ python -m penv --help\nusage: penv [-h] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT] [--python-version PYTHON_VERSION] [--platform-arch PLATFORM_ARCH] [--cache-dir CACHE_DIR] [--log-level LOG_LEVEL] ENV_DIR [ENV_DIR ...]\n\nCreates virtual Python environments in one or more target directories.\n\npositional arguments:\n  ENV_DIR               A directory to create the environment in.\n\noptions:\n  -h, --help            show this help message and exit\n  --clear               Delete the contents of the environment directory if it already exists, before environment creation.\n  --upgrade             Upgrade the environment directory to use this version of Python, assuming Python has been upgraded in-place.\n  --without-pip         Skips installing or upgrading pip in the virtual environment (pip is bootstrapped by default)\n  --prompt PROMPT       Provides an alternative prompt prefix for this environment.\n  --python-version PYTHON_VERSION\n                        The version of Python to use\n  --platform-arch PLATFORM_ARCH\n                        The platform architecture to use\n  --cache-dir CACHE_DIR\n                        The directory to cache the embeddable python\n  --log-level LOG_LEVEL\n                        The logging level\n\nOnce an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory.\n```\n\n## Contribution\n\n1. Fork this repository\n   - [https://github.com/hmasdev/penv/fork](https://github.com/hmasdev/penv/fork)\n\n2. Clone your forked repository\n\n   ```bash\n   git clone https://github.com/{YOUR_GITHUB_ID}/penv\n   cd penv\n   ```\n\n3. Setup the development environment\n\n   ```bash\n   python -m venv .venv\n   .venv\\\\Scripts\\\\activate.bat\n   pip install -e .[dev]\n   ```\n\n4. Create a new branch like `feature/add-something`\n\n   ```bash\n   git checkout -b {BRANCH_NAME}\n   ```\n\n5. Make your changes and add tests\n\n6. Commit your changes\n\n   ```bash\n   git add .\n   git commit -m \"Add something\"\n   ```\n\n7. Push your changes to your forked repository\n\n   ```bash\n   git push -u origin {BRANCH_NAME}\n   ```\n\n8. Create a pull request\n   - [https://github.com/hmasdev/penv/compare](https://github.com/hmasdev/penv/compare)\n\n## License\n\n[MIT](./LICENSE)\n\n## Author\n\n- [hmasdev](https://github.com/hmasdev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmasdev%2Fpenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmasdev%2Fpenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmasdev%2Fpenv/lists"}