Python: Setting Up Project Environment

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
  • GitHub repo pyright

    Static type checker for Python

    This is a sample configuration. Pyright provides a variety of options. For more information, please check the official documentation.

  • GitHub repo pyenv

    Simple Python version management

    Good! Now we can manage python binaries through pyenv. But if you try to install python using pyenv, because of dependency it may fail. In this case, refer to the official documentation.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo isort

    A Python utility / library to sort imports.

    isort is also a similar tool to flake8, this tool sorts imports alphabetically, and automatically separated into sections and by type.

  • GitHub repo pyre-check

    Performant type-checking for python.

    pyre-check

  • GitHub repo yapf

    A formatter for Python files

    Black is the uncompromising Python code formatter provided by the Python Software Foundation. An alternative to black is yapf, distributed by Google. Both tools have their own strengths and weaknesses, but in my personal opinion, black is a bit easier to use.

  • GitHub repo python-boilerplate

    If you want to see all the code needed for setup, check the repository I uploaded!

  • GitHub repo pyenv-installer

    This tool is used to install `pyenv` and friends.

    The pyenv provides a variety of installation methods. Here, we will install it using an automatic installer (pyenv-installer)

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo Poetry

    Python dependency management and packaging made easy.

    poetry is dependency management for Python. Most programming languages have something called a dependency or package manager. For example, Javascript's npm, Rust's cargo, etc.

  • GitHub repo mypy

    Optional static typing for Python

    mypy

  • GitHub repo flake8

    flake8 is Python style checker based on PEP8(Python Enhance Proposal 8). black is a good code formatter. But some items such as Documentation String, black is not provided the check option. flake8 not only helps for lack of black but also can be easily applied with black.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts