Skip to main content

Core infrastructure for AIoIA projects

Project description

AIoIA Core (Python)

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

설치

pip install aioia-core

포함 기능

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

사용법

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

Project details


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-0.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioia_core-0.1.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file aioia_core-0.1.0.tar.gz.

File metadata

  • Download URL: aioia_core-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for aioia_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f4e4169073fb1643cc427771b068b5f0c7190cb3ea30d6483a62595b9fead5c
MD5 1a8be6250e0f8abee1fe58f95eb3e900
BLAKE2b-256 1eef278bb9923f09b6068f8c36536528ef162fa7649cbe4372c4639e87a8e019

See more details on using hashes here.

File details

Details for the file aioia_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aioia_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for aioia_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5337df8fecf20369c29278607807c99962fcb2080335dcba66acfe2c5f743f09
MD5 6fc21f21ae6406694c04aa6be5dacef3
BLAKE2b-256 a2920d1821f02e7ae42c5a4ff1934ff3c9dee0a18c8d8291ca9773d4173916ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page