Last active
December 10, 2024 13:24
-
-
Save nilreml/e00e589d3aee60e922f9d0db4f3b57b8 to your computer and use it in GitHub Desktop.
Revisions
-
nilreml revised this gist
Dec 10, 2024 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Add bash completions: mkdir -p ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry @@ -8,15 +8,17 @@ Enter virtual environment: Exit virtual environment: exit Add external source and packages using it: poetry source add --priority=explicit [source-name] [url] poetry add --source [source-name] [packages] Install dependencies inside virtual environment, in sync with poetry.lock: poetry install --sync Sync poetry.lock with pyproject.toml: poetry lock --no-update Recreate virtual environment: poetry env remove $(which python) poetry install -
nilreml revised this gist
Jul 30, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,6 @@ Rename main module: poetry shell poetry update poetry install --sync Install local dependency in editable-mode: poetry add --editable ../my-package/ -
nilreml revised this gist
Jun 11, 2024 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,9 @@ Recreate dependency graph (poetry.lock): rm poetry.lock poetry lock Show dependency graph: poetry show --tree Rename main module: pyproject.toml -> tool.poetry -> name poetry shell -
nilreml revised this gist
Mar 25, 2024 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,3 +23,10 @@ Recreate virtual environment: Recreate dependency graph (poetry.lock): rm poetry.lock poetry lock Rename main module: pyproject.toml -> tool.poetry -> name poetry shell poetry update poetry install --sync
-
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,6 @@ Recreate virtual environment: poetry env remove $(which python) poetry install Recreate dependency graph (poetry.lock): rm poetry.lock poetry lock -
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 12 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,25 +1,25 @@ Bash completions: mkdir -p ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry Enter virtual environment: poetry shell Exit virtual environment: exit Sync poetry.lock with pyproject.toml: poetry lock --no-update Install dependencies inside virtual environment, in sync with poetry.lock: poetry shell poetry install --sync Recreate virtual environment: poetry shell poetry env remove $(which python) poetry install Recreate dependency graph: rm poetry.lock poetry lock -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Bash completions: Enter virtual environment: - poetry shell Exit virtual environment: - exit Sync poetry.lock with pyproject.toml: - poetry lock --no-update -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Sync poetry.lock with pyproject.toml: - poetry lock --no-update Install dependencies inside virtual environment, in sync with poetry.lock: - poetry shell - poetry install --sync Recreate virtual environment: -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,15 @@ Bash completions: - mkdir -p ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions - poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry Enter virtual environment: - poetry shell Sync poetry.lock with pyproject.toml: - poetry lock --no-update Install dependencies inside virtual environment, in sync with poetry.lock: - poetry install --sync Recreate virtual environment: - poetry shell - poetry env remove $(which python) -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,6 @@ Recreate virtual environment: - poetry env remove $(which python) - poetry install Recreate dependency graph: - rm poetry.lock - poetry lock -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Bash completions: - mkdir -p ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions - poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry Recreate virtual environment: - poetry shell - poetry env remove $(which python) - poetry install -
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ Bash completions: - mkdir -p ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions - poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry Recreate poetry virtual environment: -
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ Bash completions: - poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry Recreate poetry virtual environment: - poetry shell - poetry env remove $(which python) -
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ Recreate poetry virtual environment: - poetry shell - poetry env remove $(which python) - poetry install Resolve dependencies: - rm poetry.lock - poetry lock -
nilreml revised this gist
Mar 20, 2024 . No changes.There are no files selected for viewing
-
nilreml revised this gist
Mar 20, 2024 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,5 @@ Recreate poetry virtual environment: - poetry shell - poetry env remove $(which python) - poetry install -
nilreml created this gist
Mar 20, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@