Metadata-Version: 2.4
Name: aioia-core
Version: 0.1.0
Summary: Core infrastructure for AIoIA projects
License: Apache-2.0
Keywords: aioia,infrastructure,database,fastapi
Author: AIoIA, Inc.
Author-email: devops@aioia.ai
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: fastapi (>=0.115.0,<0.116.0)
Requires-Dist: pydantic (>=2.5.0,<3.0.0)
Requires-Dist: pydantic-settings (>=2.0.0,<3.0.0)
Requires-Dist: pyhumps (>=3.8.0,<4.0.0)
Requires-Dist: python-jose (>=3.3.0,<4.0.0)
Requires-Dist: sentry-sdk (>=2.0.0,<3.0.0)
Requires-Dist: sqlalchemy (>=2.0.0,<3.0.0)
Description-Content-Type: text/markdown

# AIoIA Core (Python)

AIoIA 프로젝트 공통 Python 인프라 라이브러리

## 설치

```bash
pip install aioia-core
```

## 포함 기능

- **Database**: SQLAlchemy Base, BaseModel, BaseManager (CRUD)
- **Errors**: 표준화된 에러 코드 및 응답
- **Settings**: DatabaseSettings, OpenAIAPISettings, JWTSettings
- **Testing**: 테스트 인프라 (fixtures, managers)

## 사용법

```python
from aioia_core import BaseModel, BaseManager
from aioia_core.errors import ErrorResponse, RESOURCE_NOT_FOUND

# SQLAlchemy 모델
class MyModel(BaseModel):
    __tablename__ = "my_table"
    name: Mapped[str] = mapped_column(String)

# Manager 사용
manager = BaseManager(session, MyModel)
```

## 요구사항

- Python 3.10-3.12

## 라이선스

Apache 2.0

