{"id":22846296,"url":"https://github.com/borntyping/v","last_synced_at":"2025-10-26T10:14:32.997Z","repository":{"id":13214649,"uuid":"15898796","full_name":"borntyping/v","owner":"borntyping","description":"A tiny virtualenv manager","archived":false,"fork":false,"pushed_at":"2019-01-13T15:03:34.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T11:41:34.610Z","etag":null,"topics":["cli","python","shell","virtualenv"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borntyping.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-14T10:26:31.000Z","updated_at":"2019-01-13T15:06:56.000Z","dependencies_parsed_at":"2022-07-17T04:46:05.322Z","dependency_job_id":null,"html_url":"https://github.com/borntyping/v","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borntyping%2Fv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borntyping%2Fv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borntyping%2Fv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borntyping%2Fv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borntyping","download_url":"https://codeload.github.com/borntyping/v/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251357430,"owners_count":21576703,"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":["cli","python","shell","virtualenv"],"created_at":"2024-12-13T03:27:08.162Z","updated_at":"2025-10-26T10:14:32.916Z","avatar_url":"https://github.com/borntyping.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"v\n=\n\n``v`` is a tiny utility for managing python virtual environments. It's not currently maintained.\n\nCalling ``v`` will open a new shell that will use a virtualenv_, skipping the `activate` or `workon` scripts. It will call the ``mkvirtualenv`` and ``activate`` scripts that virtualenvwrapper_ uses if they exist.\n\nUsage\n-----\n\n::\n\n\tv [name] [python]\n\nBy default, ``v`` will create a new virtualenv in ``~/.virtualenvs/default`` and then\nstart a new shell inside it. The `name` argument is the name of the virtualenv to use, and will default to ``default``. The ``python`` argument is a python version to use, and will use the system's python by default. It is not needed when activating a virtualenv.\n\nThe default name, python and home directory can be overridden with ``$V_DEFAULT_NAME``, ``$V_DEFAULT_PYTHON`` and ``$V_HOME``. The home directory will fall back to the value of ``$WORKON_HOME`` (used by virtualenvwrapper_) and then ``$HOME/.virtualenvs``.\n\n'Deactivating' the virtualenv is as simple as exiting the shell (`exit` or `ctrl-d`), returning you to the shell you we using before.\n\nInstallation\n------------\n\nInstall ``v`` to ``~/.local/bin/v`` with:\n\n.. code:: bash\n\n    pip install --user v\n\n\nYou may need to add ``~/.local/bin`` to your ``$PATH``.\n\nHooks\n-----\n\n``v`` supports a limited set of the hooks provided by virtualenvwrapper_. Hooks are looked for in the current ``$V_HOME`` directory when ``v`` is run. ``premkvirtualenv`` and ``premkvirtualenv`` are sourced immediately after a virtualenv is created (nothing is run between them). ``preactivate`` is run before exporting the virtualenv environment variables, and ``postactivate`` is sourced just before the new shell is started.\n\nTesting\n-------\n\nRunning the tests requires tox_ (which installs the package) and bats_ (which checks the script can be run):\n\n.. code:: bash\n\n    tox\n\nLicence\n-------\n\nThe MIT License\n\nCopyright (c) 2018 Sam Clements\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nAuthors\n-------\n\n* `Sam Clements \u003chttps://github.com/borntyping\u003e`_\n\n.. _virtualenv: http://www.virtualenv.org/\n.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.org/en/latest/\n.. _tox: http://tox.readthedocs.org/\n.. _bats: https://github.com/sstephenson/bats\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborntyping%2Fv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborntyping%2Fv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborntyping%2Fv/lists"}