{"id":15051080,"url":"https://github.com/skyborn888/pybox","last_synced_at":"2026-02-23T15:02:42.254Z","repository":{"id":39191705,"uuid":"495408528","full_name":"SkyBorn888/PyBox","owner":"SkyBorn888","description":"仮想環境を構築し、権限関係なく実行できるBash command","archived":false,"fork":false,"pushed_at":"2022-11-24T16:22:10.000Z","size":27,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T03:43:32.709Z","etag":null,"topics":["bash","bash-script","command-line-tool","debian-linux","macos-commands","python","python3","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SkyBorn888.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":"2022-05-23T12:49:33.000Z","updated_at":"2023-10-12T07:59:45.000Z","dependencies_parsed_at":"2022-09-04T18:52:36.159Z","dependency_job_id":null,"html_url":"https://github.com/SkyBorn888/PyBox","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/SkyBorn888%2FPyBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyBorn888%2FPyBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyBorn888%2FPyBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyBorn888%2FPyBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyBorn888","download_url":"https://codeload.github.com/SkyBorn888/PyBox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284918,"owners_count":20913691,"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":["bash","bash-script","command-line-tool","debian-linux","macos-commands","python","python3","shell"],"created_at":"2024-09-24T21:30:48.054Z","updated_at":"2025-10-24T22:34:08.180Z","avatar_url":"https://github.com/SkyBorn888.png","language":"Shell","readme":"# PyBox\n\n現状ホームディレクトリにしか作動しないので以下の通りに配置してください\n\nCurrently it only works in the home directory, so please place it as follows\n\n### /home/username/PyBox/README.md\n\n\n## Description\nシステム上にPythonが動作する仮想的な環境を作るvenvをsudo[superuser do / substitute user do]　の権限を持った状態かつ、active状態にせず実行することができるツール\n\n現時点では、独自に仮想環境を作成する。また、一つの仮想環境しか扱えない\n\nA tool that allows you to run venv, which creates a virtual environment for Python to run on your system, with sudo[superuser do / substitute user do] privileges and without being in the active state.\n\nAt present, it creates its own virtual environment. Also, it can only handle one virtual environment.\n\n## Dependencies\nDebianベースのLinuxディストリビューション(macOS含め)活、Bashが入ってる環境でしか動かない。\nまた、以下にあるPythonの機能、ライブラリに依存してある。\n\nIt only runs on Debian-based Linux distributions and macOS too, Include Those needs Bash.\nIt also depends on the Python features and libraries listed below.\n\n- Python \u003e\u003e [venv](https://docs.python.org/ja/3/library/venv.html)\n  \n- Python \u003e\u003e [pip](https://pip.pypa.io/en/stable/)\n\n## Contributing\nPyBoxをより使いやすくするために共に開発してくれる人を大歓迎しています。\n\nWe welcome anyone who is willing to develop with us to make PyBox easier to use.\n\n## Building\n\nインストールを始める前にファイルの権限を与えてください\n\nGive a permission\n\n```\nchmod +x ~/PyBox/setup.py ~/PyBox/pybox ~/PyBox/setup/install ~/PyBox/setup/uninstall\n```\n\n### Set Environment variable\n\n.bash_profile or .bashrc に下記を書き加えてください\n\nApped to .bash_profile or .bashrc\n```\nexport PATH=$HOME/PyBox/pyboxenv/bin:$PATH\nexport PATH=$HOME/PyBox:$PATH\n```\n\n\n## setup.py options\n\nInstall\n```command\npython3 ~/PyBox/setup.py install version-3\nor\npython ~/PyBox/setup.py install version-default\n```\nuninstall \n```command\npython3 ~/PyBox/setup.py uninstall\nor\npython ~/PyBox/setup.py uninstall\n```\nCheck version of pyboxenv\n```command\npython3 ~/PyBox/setup.py status\nor\npython ~/PyBox/setup.py status\n```\n\nSee manuals\n```command\npython3 ~/PyBox/setup.py manual\nor\npython ~/PyBox/setup.py manual\n```\n\n## Examples\n\nSetup.py arguments\n\nRUN\n```command\npybox run file.py        #run python file\n```\n\nUsing pip\n```command\npybox run -m pip freeze          #use pip\n```\n\nInteractive mode\n```command\npybox interactive\n```\n\n## Argument\n\n***Python has already finished support for pip. So you can't use python2***\n\npython3 setup.py :\n\ncommands\n[ install ] \u003c- Start install\n\n    [install options]\n    [ version-3 ] \u003c- python version 3.~\n    [ version-default ] \u003c- python \u003c- using default python version\n    * Python has already finished support for pip. So you can't use python2\n\n[ uninstall] \u003c- Start uninstall\n\n[ status] \u003c- Check version of pyboxenv\n\n[ manual ]  \u003c- Open a manual\n\n\n\n##############################################################################\n\npybox commands[interactive, run]  options[]:\n\n\ncommands\n\n[ run ] \u003c- run a file\n\n    Second argument\n    [ file ] \u003c- python file\n    \n    example\n    \n    pybox run file.py\n\n    Second argument\n    - same pip arguments\n\n    example \n    \n    pybox run -m pip freeze\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyborn888%2Fpybox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyborn888%2Fpybox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyborn888%2Fpybox/lists"}