glom
A declarative object transformer and formatter, for conglomerating nested data.
Install
glom on PyPI
pip
pip install glomuv
uv add glompoetry
poetry add glomPackage facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — boltons, attrs, face |
| Maintenance | actively maintained — 227 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: glom-25.12.0-py3-none-any.whl
About glom
from the package's own PyPI description — quoted content, verbatim
glom
Restructuring data, the Python way
<a href="https://pypi.org/project/glom/"><img src="https://img.shields.io/pypi/v/glom.svg"></a> <a href="https://calver.org/"><img src="https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg"></a>
<img width="30%" align="right" src="https://raw.githubusercontent.com/mahmoud/glom/master/docs/_static/comet.png">
Real applications have real data, and real data nests. Objects inside of objects inside of lists of objects.
glom is a new and powerful way to handle real-world data, featuring:
- Path-based access for nested data structures
- Readable, meaningful error messages
- Declarative data transformation, using lightweight, Pythonic specifications
- Built-in data exploration and debugging features
All of that and more, available as a [fully-documented][rtd], pure-Python package, tested on Python 3.7-3.14, as well as PyPy3. Installation is as easy as:
pip install glom
And when you install glom, you also get [the glom command-line
interface][cli_rtd], letting you experiment at the console, but never limiting
you to shell scripts:
``` Usage: glom [FLAGS] [spec [target]]
Command-line interface to the glom library,...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
glom provides declarative, path-based access and transformation of nested data structures with readable error messages and built-in debugging features.
Low friction: pure-Python wheel with three lightweight runtime dependencies (boltons, attrs, face). Active maintenance with recent release (227 days ago) and 2162 GitHub stars signal ongoing support.
Permissive license (BSD) allows commercial and private use with minimal restrictions; no licensing friction for most adoption scenarios.
Usage
pip install glom
from glom import glom
data = {'a': {'b': {'c': 'd'}}}
result = glom(data, 'a.b.c')
print(result) # 'd'
Verdict: glom is a mature, actively maintained data-access library with permissive licensing, low install friction, and no known vulnerabilities. It is well-suited for projects needing declarative nested-data navigation with strong error reporting.
Needs verification
- Whether boltons, attrs, and face dependencies introduce any transitive security or maintenance concerns beyond what the fact sheet captures
- Performance characteristics for very large or deeply nested data structures relative to manual access patterns
Similar packages
permissive · top 1,000 on PyPI
envierpermissive · top 1,000 on PyPI
faceunclear · top 1,000 on PyPI
python-json-loggerpermissive · top 1,000 on PyPI
xmltodictpermissive · top 1,000 on PyPI
boltonspermissive · top 1,000 on PyPI
tomli-wpermissive · top 1,000 on PyPI
jmespathpermissive · top 100 on PyPI
dacitepermissive · top 1,000 on PyPI
pathablepermissive · top 1,000 on PyPI