Libraries & Tools¶
The following is a curated list of python libraries that are recommended for general use in python projects
Open Source¶
Code¶
- black: Simple configuration-free code formatter.
- poetry: A package manager and dependency resolver.
- uv: An extremely fast Python package and project manager, written in Rust.
- cookiecutter: A tool to create projects like cookiecutters. (Project templates)
- sphinx: Python documentation generator.
- loguru: Simply logging.
- boltons: Pure python utilities that should be built-ins but bolt-ons instead.
Libraries¶
- hydra: Framework for elegantly configuring complex applications.
- pydantic: Data parsing, validation and settings management using python type annotations.
- typer: Build CLI appliactions using Python types.
- graphene: Building GraphQL schemas/types.
- httpx: A fully featured HTTP client for Python 3, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.
- pyvips: A fast image processing library with low memory needs based on vips.
- PyMuPDF: A high-performance Python library for data extraction, analysis, conversion & manipulation of PDF.
Functional¶
- toolz: A set of utility functions for iterators, functions, and dictionaries.
- coconut: Simple, elegant, Pythonic functional programming.
Profiling & Debugging¶
- py-spy: Sampling profiler, let you visualize your program without restarting the program.
- scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals.
- nvprof: Profiling for CUDA.
- nvidia-smi: Management and monitoring of NVIDIA GPU devices.
- strace: System call tracer for Linux .
- iotop: Top for IO.
- htop: Interactive system monitoring process viewer.
- nvtop: Task monitor for NVIDIA GPU.
ML¶
- LazyPredict: help build a lot of basic models without much code and helps understand which models works better without any parameter tuning.