cs-guide/docs/python-tutor/python-config/python-libs.md
2022-04-05 23:17:32 +08:00

2.7 KiB
Raw Blame History

python好用的包

查看awesome-python

airtest 自动化测试的库 https://airtest.doc.io.netease.com/ rich 包 requests或者httpx(更快) beautifulsoup scrapy selenium webdriver you-get (用来下哔哩哔哩视频) Tenacity docopt-ng

httpie

后端

  • fastapi
  • flask
  • django
  • torado

界面编写

pyside(推荐) pyqt tkinter

python常用包管理工具

pip 见本文档目录 anaconda 见本文档

virtual env https://virtualenv.pypa.io/en/latest/ pipenv 不推荐使用

poetry https://github.com/python-poetry/poetry 还行,跟npm差不多 打包工具 pyinstaller auto-py-to-exe

cli工具

  • Productivity Tools
    • cookiecutter - A command-line utility that creates projects from cookiecutters (project templates).
    • copier - A library and command-line utility for rendering projects templates.
    • doitlive - A tool for live presentations in the terminal.
    • howdoi - Instant coding answers via the command line.
    • Invoke - A tool for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks.
    • PathPicker - Select files out of bash output.
    • percol - Adds flavor of interactive selection to the traditional pipe concept on UNIX.
    • thefuck - Correcting your previous console command.
    • tmuxp - A tmux session manager.
    • try - A dead simple CLI to try out python packages - it's never been easier.
  • CLI Enhancements
    • httpie - A command line HTTP client, a user-friendly cURL replacement.
    • iredis - Redis CLI with autocompletion and syntax highlighting.
    • kube-shell - An integrated shell for working with the Kubernetes CLI.
    • litecli - SQLite CLI with autocompletion and syntax highlighting.
    • mycli - MySQL CLI with autocompletion and syntax highlighting.
    • pgcli - PostgreSQL CLI with autocompletion and syntax highlighting.
    • saws - A Supercharged aws-cli.