Core infrastructure for AIoIA projects
Project description
AIoIA Core (Python)
AIoIA 프로젝트 공통 Python 인프라 라이브러리
설치
pip install aioia-core
포함 기능
- Database: SQLAlchemy Base, BaseModel, BaseRepository (CRUD)
- Errors: 표준화된 에러 코드 및 응답
- Settings: DatabaseSettings, OpenAIAPISettings, JWTSettings
- Testing: 테스트 인프라 (fixtures, managers)
사용법
from aioia_core import BaseModel, BaseRepository
from aioia_core.errors import ErrorResponse, RESOURCE_NOT_FOUND
# SQLAlchemy 모델
class MyModel(BaseModel):
__tablename__ = "my_table"
name: Mapped[str] = mapped_column(String)
# Repository 사용
repository = BaseRepository(session, MyModel)
요구사항
- Python 3.10-3.12
라이선스
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioia_core-1.1.0.tar.gz
(17.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioia_core-1.1.0.tar.gz.
File metadata
- Download URL: aioia_core-1.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a87e1821a63b180b801968be172277446f9c1eeab4b5b3466aff3f32a5ef3cb
|
|
| MD5 |
5ffb2a31bd23f7f0be3360d346bac677
|
|
| BLAKE2b-256 |
12cefad8e33c82b83584832c6d81ead85ef6e846b3f6dec2ef8ec8d4a20acb5d
|
File details
Details for the file aioia_core-1.1.0-py3-none-any.whl.
File metadata
- Download URL: aioia_core-1.1.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e49baa194989dd98377f2a59a1b1c3db2cf84a3ee9613725247d627b1b9d791
|
|
| MD5 |
6f5fb62eb662b6e68cb60c31224373ce
|
|
| BLAKE2b-256 |
5925510cfbbc2b7f47b350bc58bd045df40eccbdbd8d83dd91cc40a09049a7be
|