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.1.0.tar.gz (17.4 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.1.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioia_core-2.1.0.tar.gz
  • Upload date:
  • Size: 17.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 05b45af2e6f71a166c438daf252f7e92bd8081d636cf7ce46b59de42eb65abff
MD5 8f8e28a22faa4308a203eef29cefdb2f
BLAKE2b-256 47e1b7c545395213c12568d471ba815bf1a6182ce7b48a082578bcf610c55152

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioia_core-2.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: aioia_core-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccbbffc3cc0cffc08b226cf58d4b0c5f26b7d26c799a2219d4d2eac0e3c39415
MD5 ea3af0b80fed5a06541773ffef970262
BLAKE2b-256 3ee02d927812028258da926e19dd31d3e6ad498d0bba0f95906ebbda399cbb78

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioia_core-2.1.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