A collection of over 230 pure-Python utilities that extend the standard library with missing functionality.
Boltons is a collection of over 230 pure-Python utilities that extend Python's standard library with missing functionality. It provides constructs like atomic file saving, optimized data structures, and iteration tools that address common gaps in built-in modules. The project is dependency-free and designed to be easily integrated or vendored into applications.
Python developers who need reliable, lightweight utilities for common tasks not covered by the standard library, and application developers looking for dependency-free modules to vendor into their projects.
Developers choose Boltons because it offers a curated set of well-tested, BSD-licensed utilities that feel like natural extensions to Python's builtins, without introducing external dependencies. Its modular design allows selective integration, and it serves as a 'good enough' solution for many basic use cases.
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Pure-Python with no external dependencies, making it easy to install via pip or vendor directly into projects without conflicts, as highlighted in the installation and integration sections.
Over 230 modules address common gaps in Python's standard library, such as atomic file saving and OrderedMultiDict, providing a curated set of well-tested constructs.
Allows unrestricted use in both commercial and open-source projects, ensuring legal flexibility for developers.
Each utility module is independent, enabling selective copying into projects without importing the entire library, as described in the integration docs.
Tested against Python 3.7-3.13 and PyPy3, ensuring reliable performance across multiple Python implementations and versions.
Designed as 'good enough' for common cases, it lacks advanced features and optimizations found in specialized third-party libraries, which the README acknowledges by pointing users to alternatives for outgrowing boltons.
May be slower than C-extension alternatives for performance-critical tasks, such as data structure operations or numerical computations, due to its pure-Python nature.
While popular, it doesn't have the same level of community support or frequent updates as more mainstream libraries, which could impact long-term maintenance and feature development.