dev:python

This is an old revision of the document!


Python

Recommended packages:

pipenv installs packages in a virtual python environment and maintains a Pipfile with all requirements

Has to be on the first line of every executable script so the interpreter can be found. Correct Shebang for Python 3 is:

#!/usr/bin/env python3

Line endings are in Windows format (CRLF / \r\n) and not Linux/Unix format (LF / \n). Fix this with dos2unix or your text editor's save options.

  • requests – "HTTP for humans" – HTTP connections and data retrieval
  • PyMoo – single- and multi-objective algorithms and features related to multi-objective optimization such as visualization and decision making.
  • Scrapy – fast high-level web crawling & scraping framework
  • Last modified: 2020-09-27 09:26