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

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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