Start a new virtual env
poetry shellInstall all dependencies (declared on pyproject.toml) from all groups
poetry install
# only main group
poetry install --only main
# without test group
poetry install --without testAdd new dependency
# add dep to main group
poetry add requests
# add dep to dev group
poetry add black --group dev
# add dep to test group
poetry add pytest --group testPublish package
> poetry publish --build -r testpypi
> poetry publish --buildAuthenticate to PyPI
> poetry config pypi-token.testpypi $PYPI_TOKEN_TEST
> poetry config pypi-token.pypi $PYPI_TOKEN