I hadn't realized how much Python 2 was holding us back until I started to dig into some of the newer packages only for Python 3. It was right around Python 3.5/3.6 when we got type hinting, dataclasses, and f-strings that there was an inflection in innovation. Maintaining code bases for both 2.7 & 3.7 basically prevented us from leveraging these features.
I call these packages Gen3. Here is my latest tool stack:
Current Package | Role | Replaced Package(s) | Rational / Best Features | |
---|---|---|---|---|
Poetry | Project package management and publishing |
|
|
|
Pydantic | Object <-> JSON parsing & validation |
|
|
|
FastAPI | Restful APIs |
|
|
|
Prefect | Workflow |
|
|