Good Libraries for Python, Rust, Swift, and More
Python
Daily drivers
PyTorch[GitHub][pip install torch][Docs] Tensor go brrropenai[GitHub][PyPi]][Docs] OpenAI Python library for accessing various OpenAI models and tools.transformers[GitHub][PyPi][Docs] State-of-the-art natural language processing library for PyTorch and TensorFlow.asyncio[Docs] Concurrency using async/await. It's in the standard python lib, but you should use it more.aiohttp[GitHub][PyPi][Docs] Async HTTP client/server framework for use withasyncio.langchain[GitHub][PyPi][Docs] A Python library for language chain analysis and processing.
Rust-backed Python libraries to try
ruff[GitHub][PyPi][Docs] Keep your code clean smhpola.rs[GitHub][Website][PyPi] Rust-backed DataFrame library for Python. High performance, multi-threaded query engine written in Rust and designed for effective paralellism. Vectorized and columnar processing enable cache-coherent algorithms and high performance on modern processors. Pandas on another level.tokenizers[GitHub][PyPi] - Rust-backed python library for efficient tokenization for natural language processing.