awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mahmoud avatar

mahmoud/boltons

0
View on GitHub↗
6,897 stars·395 forks·Python·17 viewsboltons.readthedocs.org↗

Boltons

Boltons is a comprehensive utility toolkit and extension of the Python standard library. It provides a collection of reusable recipes and specialized data structures, system utilities, and helper libraries designed to support common programming tasks across various domains.

The project is distinguished by a standard-library-only dependency model, ensuring maximum portability with zero external dependencies. It provides advanced implementations for data structures, such as immutable mappings and priority queues, alongside recursive data transformation tools for reshaping complex nested dictionaries and lists.

Its broader capability surface includes system and file management through atomic writes and path expansion, network reliability tools like exponential backoff, and command line interface development helpers. It also covers performance optimization via property memoization and cache invalidation, as well as observability tools for structured traceback parsing and callable object tracing.

Features

  • Specialized Data Structures - Ships advanced implementations of priority queues, immutable mappings, and recursive data transformers.
  • Immutable Maps - Implements frozen dictionaries that prevent the modification of keys and values after creation.
  • Recursive Data Explorers - Provides utilities to traverse nested data structures and apply transformation functions based on custom entry rules.
  • Recursive Data Transformers - Traverses and modifies nested dictionaries and lists to reshape complex data structures using custom mapping rules.
  • CLI Development Helpers - Provides a suite of helpers for rendering progress bars, escaping shell arguments, and prompting users in the terminal.
  • Network Reliability - Implements exponential backoff and socket buffering to ensure stable connections and complete message delivery.
  • File System Operations - Provides utilities for atomic file writes, recursive directory searches, and shell path expansions.
  • System Utility Helpers - Provides low-level system helpers for atomic file saving, path expansion, and network socket buffering.
  • Python Tooling - Acts as a comprehensive utility toolkit providing reusable recipes for common Python programming tasks.
  • Standard Library Extensions - Extends the Python standard library with reusable recipes and specialized utilities while maintaining zero external dependencies.
  • Lazy Dataset Iterators - Implements memory-efficient processing of large datasets using sliding windows, chunking, and flattening.
  • Nested Data Transformers - Provides recursive traversal tools to map and transform elements within nested data structures using custom rules.
  • Recursive Data Remapping - Traverses nested data structures to transform or merge values recursively based on defined rules.
  • Zero-Dependency Libraries - Ensures maximum portability by implementing all features using only the Python standard library with zero external dependencies.
  • Command-Line Interface Development - Provides a toolkit for building terminal applications with progress bars, user prompts, and safe shell argument formatting.
  • Dictionary Indexes - Provides a utility to create sub-dictionaries as indexes over a dataset to speed up lookups.
  • Multi-Value Dictionaries - Provides a data structure that allows multiple values for a single key while preserving insertion order.
  • Shell Argument Escapers - Provides a utility to escape and combine command line arguments into a single string safe for shell execution.
  • Traceback Filters - Implements traceback folding to collapse repeated frames and reduce noise in recursive call stacks.
  • Traceback Structurers - Transforms raw system stack traces into structured objects to facilitate error analysis and recursive call noise reduction.
  • Sliding Window Algorithms - Implements a sliding-window iterator to produce overlapping groups of elements from a sequence.
  • Iterable Flatteners - Provides a utility to collapse nested sequences or iterators into a single flat stream of elements.
  • Key Filtering - Provides a utility to extract a new dictionary containing only a specified subset of keys from an original mapping.
  • Non-Overwriting Updates - Ships a utility to merge key-value pairs into a dictionary only if the keys do not already exist.
  • Atomic File Writes - Provides atomic file write operations that use temporary files to prevent data corruption during crashes.
  • Traceback Parsing - Transforms raw traceback strings into structured objects for easier analysis and serialization.
  • Disk-Memory Thresholds - Implements a system to store data in memory and spill to disk automatically when a size threshold is exceeded.
  • LRU Cache Eviction - Implements a least-recently-used (LRU) eviction policy to maintain a fixed-size memory pool.
  • Priority Queues - Provides a priority queue implementation where the highest priority item is processed first.
  • Stack Trace Formatters - Represents traceback information as structured types to improve error reporting and debugging.
  • Terminal Progress Indicators - Implements a visual progress bar for the terminal to track the completion status of long-running tasks.
  • CLI Confirmation Prompts - Implements a terminal utility to ask yes/no questions and capture user responses to validate specific actions.
  • State-Based Invalidation - Uses a dirty-bit mechanism to automatically invalidate cached property values when an object's state changes.
  • General Utilities - Collection of over 250 useful constructs and utility snippets.

Star history

Star history chart for mahmoud/boltonsStar history chart for mahmoud/boltons

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Boltons

Similar open-source projects, ranked by how many features they share with Boltons.
  • more-itertools/more-itertoolsmore-itertools avatar

    more-itertools/more-itertools

    4,074View on GitHub↗

    more-itertools is an extension library for the Python itertools module. It serves as a toolkit for manipulating iterables, providing a wide range of routines for data transformation, combinatorial generation, and iterator state management. The library distinguishes itself through advanced state management and complex sequence generation. It provides capabilities for peeking at future elements, seeking within sequences, and producing unique permutations, combinations, and set partitions from collections that may contain duplicate elements. Its broader capability surface covers data processing

    Python
    View on GitHub↗4,074
  • awangdev/leet-codeawangdev avatar

    awangdev/leet-code

    4,344View on GitHub↗

    This project is a curated reference library of algorithmic patterns, data structure implementations, and system design notes. It serves as a Java algorithmic problem set and a competitive programming guide, providing a collection of solutions for coding challenges from platforms like LeetCode and LintCode. The library is distinguished by its comprehensive set of Java implementations for advanced data structures and algorithmic strategies. It includes detailed references for solving complex problems with accompanying time and space complexity analysis. The project covers a broad surface of co

    Javaalgorithmdynamicprogrammingjava
    View on GitHub↗4,344
  • symfony/filesystemsymfony avatar

    symfony/filesystem

    4,646View on GitHub↗

    This is a PHP filesystem utility library that provides tools for manipulating files, directories, and symbolic links. It serves as a specialized set of tools for atomic writing, path normalization, recursive directory management, and cross-platform file manipulation. The project features a dedicated atomic file writer that saves content to temporary locations before moving them to a final destination to prevent data corruption. It includes a recursive directory manager for creating, deleting, and modifying permissions for nested folder structures and their contents, as well as a path normaliz

    PHPcomponentphpsymfony
    View on GitHub↗4,646
  • boostorg/boostboostorg avatar

    boostorg/boost

    8,493View on GitHub↗

    Boost is a collection of portable, high-performance source libraries that extend the C++ standard library. It provides a wide range of reusable components, data structures, and algorithms designed to add capabilities to the base language across different platforms. The project is distinguished by its extensive focus on compile-time template metaprogramming and generic programming. It implements advanced architectural patterns such as policy-based design, concept-based type validation, and the use of SFINAE for conditional template resolution to minimize runtime overhead. The library covers a

    HTML
    View on GitHub↗8,493
See all 30 alternatives to Boltons→

Frequently asked questions

What does mahmoud/boltons do?

Boltons is a comprehensive utility toolkit and extension of the Python standard library. It provides a collection of reusable recipes and specialized data structures, system utilities, and helper libraries designed to support common programming tasks across various domains.

What are the main features of mahmoud/boltons?

The main features of mahmoud/boltons are: Specialized Data Structures, Immutable Maps, Recursive Data Explorers, Recursive Data Transformers, CLI Development Helpers, Network Reliability, File System Operations, System Utility Helpers.

What are some open-source alternatives to mahmoud/boltons?

Open-source alternatives to mahmoud/boltons include: more-itertools/more-itertools — more-itertools is an extension library for the Python itertools module. It serves as a toolkit for manipulating… awangdev/leet-code — This project is a curated reference library of algorithmic patterns, data structure implementations, and system design… symfony/filesystem — This is a PHP filesystem utility library that provides tools for manipulating files, directories, and symbolic links.… boostorg/boost — Boost is a collection of portable, high-performance source libraries that extend the C++ standard library. It provides… google/guava — Guava is a Java standard library extension and utility toolkit that provides optimized data structures, concurrency… xfennec/progress — Progress is a Linux system utility designed to monitor the real-time data transfer progress of active system commands.…