boltons
When they're not builtins, they're boltons.
Install
boltons on PyPI
pip
pip install boltonsuv
uv add boltonspoetry
poetry add boltonsPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 27 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: boltons-26.1.0-py3-none-any.whl
About boltons
from the package's own PyPI description — quoted content, verbatim
Boltons
boltons should be builtins.
<a href="https://boltons.readthedocs.io/en/latest/"><img src="https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat"></a> <a href="https://pypi.python.org/pypi/boltons"><img src="https://img.shields.io/pypi/v/boltons.svg"></a> <a href="https://anaconda.org/conda-forge/boltons"><img src="https://img.shields.io/conda/vn/conda-forge/boltons.svg"></a> <a href="https://ports.macports.org/port/py-boltons/summary"><img src="https://repology.org/badge/version-for-repo/macports/python:boltons.svg?header=MacPorts"></a> <a href="https://pypi.python.org/pypi/boltons"><img src="https://img.shields.io/pypi/pyversions/boltons.svg"></a> <a href="http://calver.org"><img src="https://img.shields.io/badge/calver-YY.MINOR.MICRO-22bfda.svg"></a>
Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously missing from — [the standard library][stdlib], including:
- [Atomic file saving][atomic], bolted on with [fileutils][fileutils]
- A highly-optimized [OrderedMultiDict][omd], in [dictutils][dictutils]
- Two types of [PriorityQueue][pq], in [queueutils][queueutils] *...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Boltons is a collection of over 230 pure-Python utility functions covering file operations, data structures, iteration patterns, and stack trace handling—functionality designed to complement the standard library.
Low friction: pure Python with zero runtime dependencies and a wheel distribution. Actively maintained with a recent release (27 days ago) and strong repository signals (6914 stars, last commit 2026-08-07).
BSD-licensed under permissive terms, allowing broad use in commercial and open-source projects with minimal restrictions.
Usage
pip install boltons
from boltons.cacheutils import LRU
my_cache = LRU()
my_cache['key'] = 'value'
Verdict: Boltons is a mature, well-maintained utility library with no security vulnerabilities, zero dependencies, and permissive licensing. Its broad Python version support (3.7–3.14, PyPy3) and top-1000 popularity make it a low-risk addition for projects needing standard-library-adjacent functionality.
Needs verification
- Whether individual modules can be safely vendored without maintenance overhead
- Performance characteristics of OrderedMultiDict and PriorityQueue relative to alternatives
Similar packages
permissive · top 1,000 on PyPI
sixpermissive · top 100 on PyPI
faceunclear · top 1,000 on PyPI
glompermissive · top 1,000 on PyPI
backoffpermissive · top 1,000 on PyPI
retrypermissive · top 1,000 on PyPI
retryingpermissive · top 1,000 on PyPI
async-lrupermissive · top 1,000 on PyPI
pip-auditpermissive · top 1,000 on PyPI
aiohttp-retrypermissive · top 1,000 on PyPI