Metadata-Version: 2.4
Name: masoumi
Version: 0.1.0
Summary: Python developer toolkit — performance analyzer and more
License: MIT
Project-URL: Homepage, https://github.com/YOUR_USERNAME/masoumi
Keywords: performance,profiling,static-analysis,developer-tools
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# masoumi

**Python developer toolkit** — performance analyzer and more.

## Install

```bash
pip install masoumi
```

## Usage

```python
import masoumi

code = open("my_script.py").read()

# Analyze full file
masoumi.analyze(code)

# Analyze specific line range
masoumi.analyze(code, start=10, end=50)

# Analyze a file directly
masoumi.analyze_file("my_script.py", start=1, end=100)
```

## What it detects

| Severity | Issue |
|----------|-------|
| 🔴 HIGH   | String concatenation `+=` inside loops |
| 🟡 MEDIUM | `in` lookup on list/tuple instead of set |
| 🟡 MEDIUM | Bare `except:` clause |
| 🔵 LOW    | Unnecessary `pass` statements |
| 🔵 LOW    | Imports inside functions |
| 🟣 PROFILE | Slow functions (runtime profiling) |

## License
MIT
