Skip to content
ํ”„๋กœ์ ํŠธ

mahmoud/boltons has 6,948 GitHub stars and 532 forks. GitHot measured -1 stars in 24 hours, +2 in 7 days, and +6 in 15 days. Last checked 2026-11-20 13:53 UTC. Last push 2026-10-25.

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
-1
in 7 days
+2
in 15 days
+6
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์†Œ๊ฐœ

๐Ÿ”ฉ Python ๋‚ด์žฅ ๊ธฐ๋Šฅ์ฒ˜๋Ÿผ ์“ธ ์ˆ˜ ์žˆ์ง€๋งŒ ๋” ๋งŽ์€ ๊ฒƒ์„ ์ œ๊ณตํ•˜๋Š” boltons. Python ํ‘œ์ค€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋งŒ ์‚ฌ์šฉํ•˜๋ฉด์„œ ์ด๋ฅผ ํ™•์žฅํ•˜๋Š” ๊ตฌ์„ฑ ์š”์†Œ, ๋ ˆ์‹œํ”ผ, ์ฝ”๋“œ ์กฐ๊ฐ 250์—ฌ ๊ฐ€์ง€๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๋งˆ์ดํด ๋ณผํ„ด๊ณผ๋Š” ์ „ํ˜€ ๊ด€๊ณ„์—†์Šต๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ

README.md

Original

Boltons

boltons should be builtins.

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, including:

Full and extensive docs are available on Read The Docs. See what's new by checking the CHANGELOG.

Boltons is tested against Python 3.7-3.14, as well as PyPy3.

Installation

Boltons can be added to a project in a few ways. There's the obvious one:

pip install boltons

On macOS, it can also be installed via MacPorts:

sudo port install py-boltons

Then, thanks to PyPI, dozens of boltons are just an import away:

from boltons.cacheutils import LRU
my_cache = LRU()

However, due to the nature of utilities, application developers might want to consider other options, including vendorization of individual modules into a project. Boltons is pure-Python and has no dependencies. If the whole project is too big, each module is independent, and can be copied directly into a project. See the Integration section of the docs for more details.

Third-party packages

The majority of boltons strive to be "good enough" for a wide range of basic uses, leaving advanced use cases to Python's myriad specialized 3rd-party libraries. In many cases the respective boltons module will describe 3rd-party alternatives worth investigating when use cases outgrow boltons. If you've found a natural "next-step" library worth mentioning, see the next section!

Gaps

Found something missing in the standard library that should be in boltons? Found something missing in boltons? First, take a moment to read the very brief architecture statement to make sure the functionality would be a good fit. It covers the design philosophy, what belongs in boltons, and how modules are organized.

Then, if you are very motivated, submit a Pull Request. Otherwise, submit a short feature request on the Issues page, and we will figure something out.

Development

Install uv, then set up a dev environment:

uv venv && uv pip install -e .

Run the test suite (includes doctests):

uvx --with tox-uv tox -e py314

Run all environments in parallel:

uvx --with tox-uv tox -p auto