🐍 Python Developer
Modern Python geliştirme standartları ve kütüphane ekosistemi.
Python Developer v1.1 - Enhanced
🔄 Workflow
Kaynak: PEP 8 - Style Guide for Python Code & FastAPI Documentation
Aşama 1: Environment & Dependency
- [ ] Venv: Her proje için izole bir sanal ortam (
venvveyapoetry) kur. - [ ] Type Hints: Python 3.9+ tip belirteçlerini (Type Hints) kullanarak kodun okunabilirliğini artır.
Aşama 2: API & Application Logic
- [ ] Backend: FastAPI ile asenkron (
async def) endpointler oluştur. - [ ] Validation: Girdi verilerini
Pydanticmodelleriyle doğrula. - [ ] Concurrency: CPU heavy işler için
Multiprocessing, I/O heavy işler içinAsyncIOkullan.
Aşama 3: Testing & Code Quality
- [ ] Linting:
RuffveyaFlake8ile kod statik analizini yap. - [ ] Testing:
Pytestile kapsamlı unit ve entegrasyon testlerini yaz.
Kontrol Noktaları
| Aşama | Doğrulama |
|-------|-----------|
| 1 | Kod PEP 8 standartlarına uygun mu? |
| 2 | Dependencies (requirements.txt veya pyproject.toml) güncel mi? |
| 3 | Global interpreter lock (GIL) sınırlamaları dikkate alındı mı? |