python-patterns
Pythonic idiomlar, PEP 8 standartları, type hint'ler ve sağlam, verimli ve bakımı kolay Python uygulamaları oluşturmak için en iyi uygulamalar.
Original · translation is not supported for this source languageTarget: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original text
Topics in the source
- Python Geliştirme Desenleri
- Ne Zaman Etkinleştirmeli
- Temel Prensipler
- 1. Okunabilirlik Önemlidir
- 2. Açık, Örtük Olandan Daha İyidir
- 3. EAFP - Affederek Sormaktansa İzin İstemek Daha Kolaydır
- Type Hint'ler
- Temel Type Annotation'lar
Sağlam, verimli ve bakımı kolay uygulamalar oluşturmak için idiomatic Python desenleri ve en iyi uygulamalar. Yeni Python kodu yazarken Python kodunu gözden geçirirken Mevcut Python kodunu refactor ederken Python paketleri/modülleri tasarlarken Python okunabilirliği önceliklendirir. Kod açık ve anlaşılması kolay olmalıdır. Sihirden kaçının; kodunuzun ne yaptığı konusunda açık olun. Python, koşulları kontrol etmek yerine exception handling'i tercih eder. | İfade | Açıklama | |-------|----------| | EAFP | Affederek Sormaktansa İzin İstemek Daha Kolay | | Context manager'lar | Kaynak yönetimi için with kullan | | List comprehension'lar | Basit dönüşümler için | | Generator'lar | Lazy evaluation ve büyük dataset'ler için | | Type hint'ler | Fonksiyon signature'larını annotate et | | Dataclass'lar | Auto-generated metodlarla veri container'ları için | | slots | Bellek optimizasyonu için | | f-string'ler | String formatlama için (Python 3.6+) | | pathlib.Path | Path operasyonları için (Python 3.4+) | | enumerate | Döngülerde index-element çiftleri için | Unutmayın: Python kodu okunabilir, açık ve en az sürpriz ilkesine uygun olmalıdır. Şüphe duyduğunuzda, açıklığı zekiceden öncelikli kıl
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- docs/tr/skills/python-patterns/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:50.029Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.