Python: Setting Up Project Environment

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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.

  • pyre-check

    Performant type-checking for python.

  • pyre-check

  • 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.

  • python-boilerplate

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

  • 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)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Poetry

    Python packaging and dependency management 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.

  • mypy

    Optional static typing for Python

  • mypy

  • 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