{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"Expands bash-style brace patterns into sequences of strings, supporting integer ranges, character ranges, nested patterns, and custom increments.","skillfed_tags":["pattern-expansion","bash-compatibility"],"use_cases":["Generate file paths or glob-like patterns programmatically without shell invocation.","Create test parameter sets from compact brace notation in test frameworks.","Expand configuration keys or template variables that follow bash syntax conventions.","Build command-line argument lists from shorthand patterns in Python scripts."],"what_it_does":"braceexpand is a small, zero-dependency library that translates bash-style brace expansion syntax into Python iterables. It handles integer ranges (e.g., `{1..3}`), character ranges (e.g., `{a..c}`), comma-separated sequences, nested patterns, zero-padding, custom increments, and bidirectional ranges. The function returns an iterator, making it memory-efficient for large expansions.\n\nThe package is useful when you need to programmatically generate file paths, configuration keys, or test parameters that follow bash expansion rules. It raises `UnbalancedBracesError` on malformed input rather than silently ignoring it as bash does, and mixed-case character ranges exclude certain ASCII characters between uppercase and lowercase letters.","worth_installing":"Yes, if you need bash brace expansion in Python and can tolerate an abandoned codebase. The library is simple, has no dependencies, and carries no known vulnerabilities. Install it for one-off pattern generation or legacy tool compatibility, but do not rely on it for new projects requiring active maintenance or future Python version support."},"id":"braceexpand","links":{"html":"https://skillfed.io/packages/braceexpand","md":"https://skillfed.io/packages/braceexpand.md","pypi":"https://pypi.org/project/braceexpand/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-05-07","license_spdx":null,"license_treatment":"permissive","name":"braceexpand","python_support":"unspecified","summary":"Bash-style brace expansion for Python"},"popularity":{"monthly_downloads":3639827,"position":2546,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.7"}
