Metadata-Version: 2.4
Name: godlights
Version: 0.1.0
Summary: GL: All In One (aio) - 여러 변수에 같은 attribute/함수를 한 번에 적용하는 유틸
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# godlights

GL: All In One (`aio`) — 여러 변수에 같은 attribute / 같은 함수를 한 번에 적용.

## 설치

```bash
pip install .          # 프로젝트 폴더에서
pip install -e .       # 개발용(편집 즉시 반영)
```

## 사용

```python
from godlights import allinone as aio   # 또는: from godlights import aio

class P:
    def __init__(self, hp): self.hp = hp

a, b, c = P(10), P(20), P(30)

aio.call_all(a, b, c, argument="hp")    # [10, 20, 30]
aio.call_all(a, b, c, "hp")             # [10, 20, 30]

x1, x2, x3 = aio.run_func(str.upper, "a", "b", "c")   # 'A', 'B', 'C'
d1, d2 = aio.run_func(lambda x, n: x**n, 2, 3, n=2)   # 4, 9
```

## 함수

- `call_all(*args, argument)` — 각 변수의 `argument` attribute를 리스트로 반환.
- `run_func(function, *args, **kwargs)` — `function(arg)`를 각 arg마다 실행해 리스트로 반환. `kwargs`는 공통 전달.

## 빌드 / 배포

```bash
pip install build twine
python -m build            # dist/ 에 sdist, wheel 생성
twine upload dist/*        # PyPI 업로드
```

## 테스트

```bash
pip install pytest
pytest
```
