본문으로 건너뛰기

🐍 Python Service

Coming Soon - 준비 중입니다

ML/AI 및 데이터 처리를 위한 Python 플랫폼입니다.

예정 특징

  • Python 3.11+ 최신 버전
  • FastAPI 프레임워크
  • Pydantic 모델 검증
  • Async 지원
  • Laravel 연동 인증/데이터

예정 구조

python/
├── app/
│ ├── main.py
│ ├── api/ # 엔드포인트
│ ├── models/ # Pydantic 모델
│ └── services/ # 비즈니스 로직
├── requirements.txt
└── Dockerfile

사용 사례

사례설명
ML 추론모델 서빙 API
데이터 처리배치 작업, ETL
분석 API통계, 리포트 생성
NLP텍스트 분석, 임베딩

기술 스택

영역기술
언어Python 3.11+
프레임워크FastAPI
검증Pydantic
ORMSQLAlchemy (옵션)
MLPyTorch / TensorFlow
비동기asyncio, httpx

Laravel 연동

# Laravel API 호출
import httpx

async def get_user(user_id: int):
async with httpx.AsyncClient() as client:
resp = await client.get(f"http://laravel:8000/api/users/{user_id}")
return resp.json()
# FastAPI 엔드포인트
from fastapi import FastAPI

app = FastAPI()

@app.post("/predict")
async def predict(data: PredictRequest):
result = model.predict(data.features)
return {"prediction": result}
# Docker 네트워크 내부 통신
LARAVEL_API_URL=http://web:8000

현재 사용 가능: Laravel Platform

알림 받기: 문의하기