{"id":17102134,"url":"https://github.com/djrobstep/autovenv","last_synced_at":"2025-04-09T17:23:58.717Z","repository":{"id":72411285,"uuid":"48790562","full_name":"djrobstep/autovenv","owner":"djrobstep","description":"virtualenv with less hassle","archived":false,"fork":false,"pushed_at":"2024-04-01T12:01:17.000Z","size":656,"stargazers_count":31,"open_issues_count":3,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T19:23:35.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djrobstep.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2015-12-30T08:25:24.000Z","updated_at":"2025-02-09T14:17:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ab9a23d-fd3f-4d98-9b54-5ee721a6e4eb","html_url":"https://github.com/djrobstep/autovenv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djrobstep%2Fautovenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djrobstep%2Fautovenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djrobstep%2Fautovenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djrobstep%2Fautovenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djrobstep","download_url":"https://codeload.github.com/djrobstep/autovenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075499,"owners_count":21043599,"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":"2024-10-14T15:28:18.557Z","updated_at":"2025-04-09T17:23:58.697Z","avatar_url":"https://github.com/djrobstep.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"autovenv: virtualenv with less hassle\n=====================================\n\n    *I don't want to be a product of my environment, I want my environment to be a product of me.*\n\n    -- Frank Costello in **The Departed**\n\nVirtual environments are great, but they can be a bit annoying to create, manage, and switch between. autovenv takes the annoyance away.\n\n\nDocumentation\n-------------\n\nFull documentation is at `https://autovenv.readthedocs.org \u003chttps://autovenv.readthedocs.org\u003e`_.\n\n\nHow It Works\n------------\n\nBasically, as long as there's a requirements.txt file in your python project, autovenv will figure out that the folder you're in is a python project, create a virtualenv for that project automatically, and activate/deactivate that virtualenv when you cd in/out of the project folder.\n\nHere's how it works:\n\nJust cd to anywhere within a python project, and autovenv will create a virtual environment for you if you don't have one already:\n\n.. code-block:: shell\n   :emphasize-lines: 1,6\n\n    alex@xyz:~$ cd pyprojects/skynet\n    AUTOVENV: creating virtual environment: skynet\n    New python executable in /home/alex/.local/share/autovenv/venvs/skynet/bin/python\n    Installing setuptools, pip, wheel...done.\n    Requirement already up-to-date: pip in ...\n    (skynet)alex@xyz:~/pyprojects/skynet$\n\n(as you can see, it also checks that the pip within the virtualenv is up to date)\n\ncd to a different project, it'll switch virtual environments automatically. cd out of a project and it'll deactivate the virtual environment.\n\nautovenv tries to keep things tidy by storing config file, built python versions, and virtual environments in one app directory.\n\nThe location of this directory is platform-dependent (only linux it's at ~/.local/share/autovenv).\n\nLocations:\n\n  - \u003cappdir\u003e/config - the config file\n  - \u003cappdir\u003e/pyversions - built python versions\n  - \u003cappdir\u003e/venvs - virtual environments\n\n\nInstallation\n------------\n\nSimply install with `pip \u003chttps://pip.pypa.io\u003e`_ globally, ie *not* within a virtual environment::\n\n    $ pip install autovenv\n\nand then add the following line to the end of your .bashrc file::\n\n    source `which autovenv.sh`\n\nor if you're using fish:\n\n    source `which autovenv.fish`\n\nThat's it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjrobstep%2Fautovenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjrobstep%2Fautovenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjrobstep%2Fautovenv/lists"}