{"id":28867096,"url":"https://github.com/snowmerak/prew","last_synced_at":"2026-04-29T14:03:56.139Z","repository":{"id":57625765,"uuid":"399142671","full_name":"snowmerak/prew","owner":"snowmerak","description":"A tool managing pip dependencies","archived":false,"fork":false,"pushed_at":"2022-04-19T13:15:01.000Z","size":99,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T03:54:10.873Z","etag":null,"topics":["pip","python3","virtualenvwrapper"],"latest_commit_sha":null,"homepage":"","language":"Go","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/snowmerak.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}},"created_at":"2021-08-23T14:51:11.000Z","updated_at":"2022-06-10T01:20:57.000Z","dependencies_parsed_at":"2022-08-30T14:31:43.838Z","dependency_job_id":null,"html_url":"https://github.com/snowmerak/prew","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/snowmerak/prew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowmerak%2Fprew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowmerak%2Fprew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowmerak%2Fprew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowmerak%2Fprew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snowmerak","download_url":"https://codeload.github.com/snowmerak/prew/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowmerak%2Fprew/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260939918,"owners_count":23086210,"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":["pip","python3","virtualenvwrapper"],"created_at":"2025-06-20T11:41:08.224Z","updated_at":"2026-04-29T14:03:56.134Z","avatar_url":"https://github.com/snowmerak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prew\n\nprew는 파이썬 프로젝트를 관리하기 위해 만든 툴입니다.\n\n## 프로젝트 관리\n\nprew는 프로젝트 관리를 위한 몇가지 유용한 명령어를 제공합니다.\n\n### init\n\n`prew init \u003cdirectory\u003e`\n\n해당 경로에 새로운 프로젝트를 생성합니다.  \n생성 시 prew는 유저에게 프로젝트 이름과 파이썬 버전을 입력하도록 요청합니다.  \n가상 환경의 경우엔 virtualenv(https://github.com/pypa/virtualenv)를 사용합니다.\n\n### run\n\n`prew run`\n\n현재 경로에 prew 프로젝트가 있다면 해당 프로젝트를 실행합니다.\n\n### restore\n\n`prew restore`\n\n현재 경로에 prew 프로젝트 파일(spec.yaml)이 있다면 해당 프로젝트의 가상 환경을 만들고 필요한 패키지를 설치합니다.\n\n### make\n\n`prew make [\u003cflags\u003e ...]`\n\n현재 경로에 prew 프로젝트가 있다면 입력된 flag에 따른 결과물을 만듭니다.  \n1. -d, --dockerfile: 해당 프로젝트의 dockerfile을 생성합니다.\n\n## 패키지 관리\n\nprew는 pip를 그대로 사용하지만, 패키지를 설치하거나 삭제할 때 사용할 수 있는 편리한 명령어를 제공합니다.\n\n### search\n\n`prew search \u003cpackage\u003e`\n\n해당 패키지를 pypi에서 검색합니다.  \n직후 버전 목록을 출력하며 사용자가 선택한 버전을 설치할 지 물어봅니다.  \n설치한다고 응답할 경우 해당 패키지의 해당 버전을 설치합니다.\n\n### install\n\n`prew install \u003cpackage\u003e [\u003cversion\u003e]`\n\n현재 경로의 prew 프로젝트에 해당 패키지를 설치합니다.  \n입력받은 패키지의 버전을 설치하고 spec.yaml에 패키지 정보를 저장합니다.  \n버전을 입력하지 않으면 최신 버전을 설치합니다.\n\n### list\n\n`prew list`\n\n현재 경로의 prew 프로젝트에 설치되어 있는 패키지를 출력합니다.  \n출력된 패키지 중 하나를 선택하면 해당 패키지를 삭제할 지 물어봅니다.  \n삭제한다고 응답할 경우 해당 패키지를 삭제합니다.\n\n### remove\n\n`prew remove \u003cpackage\u003e [\u003cflag\u003e...]`\n\n현재 경로의 prew 프로젝트에 설치된 해당 패키지를 제거합니다.  \n만약 존재하지 않을 경우엔 그냥 넘어갑니다.  \n\n`-y` 플래그를 입력 받으면 사용자에게 묻지 않고 제거합니다.  \n`-d` 플래그를 입력 받으면 의존성도 삭제합니다.\n\n### tidy\n\n`prew tidy [\u003cflag\u003e]`\n\n현재 경로의 prew 프로젝트의 파이썬 파일과 spec.yaml을 비교하여 사용하지 않는 패키지를 제거합니다.  \n이 때 다른 패키지의 의존성으로 설치된 패키지는 제외됩니다.  \n\n`-y` 플래그를 입력 받으면 사용자에게 묻지 않고 제거합니다.\n\n### check\n\n`prew check [\u003cfilename\u003e] [\u003cflag\u003e]`\n\n현재 경로의 prew 프로젝트의 특정 파이썬 파일의 타입을 체크합니다.  \nfilename을 입력하면 해당 파일만 체크하지만 -a 플래그를 입력하면 모든 파이썬 파일을 체크합니다.  \n이 기능은 mypy(https://github.com/python/mypy)를 사용합니다.\n\n## third party\n\nusing virtualenv(https://github.com/pypa/virtualenv) for virtual environment  \nusing mypy(https://github.com/python/mypy) to check python file type\n\n## Special thanks\n\n@lemon-mint: github.com/lemon-mint","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowmerak%2Fprew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowmerak%2Fprew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowmerak%2Fprew/lists"}