- argparse - command line arguments
- pdm - package manager(国人项目,很棒,哎可惜老外们不支持)
- poetry - package manager
- attrs - class decorators
- black - code formatter
- ruff - code linter
- pytest - testing framework
- loguru - simple and structured logging
- requests - python client
- pipx - install and run python applications in isolated environments
- mypy - static type checker
- httpx - next generation http client
- loguru - simple and structured logging
- https://github.com/mamba-org/mamba - faster alternative to conda
- miniconda - not support macOS m1
- miniforge(conda-forge) - support macOS m1
- sage
mamba create -n sage sage python=X # either
conda create -n sage sage python=X
conda activate sage
sage
pip install pipx
pipx ensurepath
pipx install poetry
vscode configs
use in-project virtualenv
poetry config virtualenvs.in-project true
remove global virtualenvs
poetry env list
poetry env remove <current environment>
poetry config virtualenvs.in-project true
poetry install
vscode python extension select the in-project interpreter
cmd + shift + p
>Python: Select Interpreter