Skip to main content

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


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-2.2.0.tar.gz (17.6 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-2.2.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioia_core-2.2.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aioia_core-2.2.0.tar.gz
Algorithm Hash digest
SHA256 61dfd84d781b13acdbc22c015b435658eff5af2a13e2a5c772f5975d9df0c8a9
MD5 08ecbf025ef1df7ae95165dbe26faaf2
BLAKE2b-256 aab0d5636da8ad55daca4921db067b0c181ae13a9d5a759c91383751b9ebc14e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioia_core-2.2.0.tar.gz:

Publisher: publish-python.yml on algorima/aioia-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: aioia_core-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aioia_core-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d3a7054172bcb57902117bcb7d59ea02185e7e4d22e91e727986a22b83851be
MD5 b3df7e64e79141bffaf6f704fef34c37
BLAKE2b-256 292fcedce4ef40d035af0e3d7e3beb35e577a7055fe8d06d1126c5fa8956ae02

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioia_core-2.2.0-py3-none-any.whl:

Publisher: publish-python.yml on algorima/aioia-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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