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
Metadata
Release files for aioia-core 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioia_core-2.5.0.tar.gz | 18.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioia_core-2.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.3 kB
Release files / aioia_core-2.5.0.tar.gz
| Download URL | aioia_core-2.5.0.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3adff8a1808c54aea63cac3bc504618a71f0c7eda676c111f5f0a868879fe0e
|
|
BLAKE2b-256 checksum How to use checksums |
0e8c867a4a4a4f4c143a54cbd578828e0e34e37bf6f31fabfdaf8ad50cec2342
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / aioia_core-2.5.0-py3-none-any.whl
| Download URL | aioia_core-2.5.0-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f33f6460f4052540a3724de9e29c394b0788c4eb98cc60e3a82d1da7fb7b7ed
|
|
BLAKE2b-256 checksum How to use checksums |
7fbee827d45d492e0756e3784d2b4142cb8dcad4900772dfa8d1e1edf16a0f01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency log