/2025/02/27/python-packages

Mascot
Package NameNotes
beautifulsoup4A HTML parsing library. I use BeautifulSoup4 any time I need to parse a HTML page and retrieve the contents of elements on the page.
faiss-cpuA vector database. I use faiss when I am building applications where I need to efficiently search an index of vectors. Faiss is free and licensed under an MIT license.
fastapiA web framework for creating APIs. I am new to using FastAPI, but I love how it auto-generates documentation for APIs.
granaryA universal feed conversion tool. I use Granary to convert data between different feed formats (i.e. RSS, Atom, JSON Feed).
jinja2A templating library. I use jinja2 for writing logic to generate web pages. This website uses jinja2 logic to generate pages.
larkA parsing toolkit. I have used lark to parse text into a grammar when building two programming languages.
livereloadlivereload watches a directory for changes and, when a file is changed, lets you call a function and automatically refreshes any web pages changed when your callback has run. I use this in my static site generator to automatically refresh pages when I make a change to the source code.
orjsonA JSON parser. orjson benchmarks as faster than the out-of-the-box json package.
pydanticData validation with Python type hints. I have used pydantic to build grammars that serialize from JSON into native Python objects, that can then be parsed by an evaluation engine. For example, I used pydantic to create a form builder where I could specify a JSON specification and use it to generate forms.
pygtrieAn implementation of the trie data structure.
pyromarkpyromark is a markdown parser written in Rust, with Python bindings. I use pyromark to render markdown in my static site generator.
python-frontmatterA front matter parser.
requestsMake web requests in Python.
scikit-learnA package with utilities for data science and machine learning.
toposortAn implementation of topological sorts. Useful for building dependency graphs.
tqdmA progress bar.
urllibA suite of functions for processing URLs (i.e. finding the domain name in a URL).
uvuv is a Rust-based version of pip. uv is designed to be a drop-in replacement for pip. Note: As far as I can tell, you need to use `uv` in virtual environments by default. This is a good requirement because one should use virtual environments, but it may take some getting used to.

Made by capjamesg.