Metadata-Version: 2.4
Name: flatten-utils
Version: 0.1.2
Summary: CLi + module to deeply flatten nested structures like a pro
Author: StarCoderSC
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary



# flatten-utils

🔧 A lightweight utility to deeply flatten nested Python structure like 'lists', 'tuples', 'sets','dicts' and more -- without breaking a sweat.

## 🚀 Features 

- 🌀 Deep flattening of arbitrarily nested structures
- 🔂 Control flatten depth with '--depth'
- ➖ Stop flattening at specific types like 'str', 'bytes', 'dict' with '--stop_at'
- 📦 Use as both an **Python module** and a *CLI tool*
- 📁 Read Input from files or strings
- 🎨 Pretty-printing support with '--pretty'


## 📦 Installation

### ✅ From PYPI (recommended)

```bash
pip install flatten-utils



