glom
« Back to VersTracker
Description:
Declarative object transformer and formatter, for conglomerating nested data
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: data-transformation python json etl formatting
Install: brew install glom
About:
Glom is a declarative data transformation tool that simplifies accessing and restructuring deeply nested data structures. It uses a path-based syntax to safely access attributes, dictionaries, and list indices, automatically handling missing data and type conversions. The tool excels at formatting complex data into clean, usable structures without verbose imperative code.
Key Features:
  • Declarative path-based data access syntax
  • Automatic handling of missing keys and None values
  • Built-in data formatting and type conversion capabilities
  • Pythonic and readable alternative to nested try/except blocks
Use Cases:
  • Extracting and reformatting data from complex JSON APIs
  • Transforming nested configuration files into flat structures
  • Data cleaning and preparation for analytics pipelines
Alternatives:
  • JMESPath – JSON-specific query language, more limited to JSON data structures
  • jq – Command-line JSON processor, requires shell context rather than Python library
  • jsonpath-ng – JSONPath implementation, more focused on querying rather than transformation
Version History
Detected Version Rev Change Commit