Boltons is a set of pure-Python utilities in the same spirit as, and yet conspicuously missing from, the standard library. Due to the nature of utilities, application developers might want to consider other integration options. Boltons is tested against Python 2.6-2.7, 3.4-3.7, and PyPy. 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, consider filing an issue! boltons has a minimalist architecture, remain as consistent, and self-contained as possible, with an eye toward maintaining its range of use cases and usage patterns as wide as possible. The boltons package depends on no packages, making it easy for inclusion into a project.

Features

  • Atomic file saving, bolted on with fileutils
  • A highly-optimized OrderedMultiDict, in dictutils
  • Two types of PriorityQueue, in queueutils
  • Chunked and windowed iteration, in iterutils
  • A full-featured TracebackInfo type, for representing stack traces, in tbutils
  • A lightweight UTC timezone available in timeutils
  • Recursive mapping for nested data transforms, with remap

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow Boltons

Boltons Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Boltons!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2021-09-24