Metadata-Version: 2.4
Name: sigmerge
Version: 0.1.0
Summary: A decorator that dynamically merges multiple function signatures for better IDE completion.
Author-email: Matsushita Fumiya <philosopy238@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/mtst238/sigmerge
Project-URL: Repository, https://github.com/mtst238/sigmerge
Keywords: signature,decorator,merge,introspection,python
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file


# sigmerge 🧠

A lightweight Python decorator that **merges multiple function signatures** dynamically.
Perfect for wrapper functions that call other functions internally and need **intelligent IDE completion**.

## Installation
```bash
pip install sigmerge
```


## Usage
```python
from sigmerge import merge_signatures

def a1(i, j=0): ...
def a2(x, y=0): ...

@merge_signatures(a1, a2)
def b(l, *args, **kwargs):
    return a1(*args, **kwargs) + a2(*args, **kwargs) + l

print(b.__signature__)
# (l, i, x, j=0, y=0)
```
✅ Works beautifully in VS Code and Pyright for autocompletion.




