मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)48k · #3830

async-python-patterns

यह क्या करती है

यह tool Python में तेज़ और ज़्यादा कुशल programs बनाने में मदद करता है, खासकर तब जब प्रोग्राम को एक साथ कई काम करने हों और बिना अटके चलना हो। यह सिखाता है कि आधुनिक तरीके कैसे इस्तेमाल करें, ताकि प्रोग्राम इंटरनेट या database जैसे धीमे कामों का इंतज़ार करते समय रुका न रहे।

कब इस्तेमाल करें

  • ✓ऐसी websites या apps बनाना जो जल्दी जवाब दें।
  • ✓प्रोग्राम से इंटरनेट पर एक साथ कई चीज़ें download करवाना।
  • ✓ऐसे systems बनाना जिन्हें एक साथ कई connections संभालने हों।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/async-python-patterns/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/async-python-patterns/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा Python program इंटरनेट से 100 images को जितनी जल्दी हो सके download कैसे करे?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह tool 'asynchronous programming' नाम के concept का इस्तेमाल करता है, जिससे प्रोग्राम एक task शुरू करता है (जैसे web से डेटा लाना) और उसके इंतज़ार के दौरान दूसरा task शुरू कर सकता है। यह 'async' और 'await' जैसे keywords से किया जाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Async Python Patterns

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

Use this skill when

  • Building async web APIs (FastAPI, aiohttp, Sanic)
  • Implementing concurrent I/O operations (database, file, network)
  • Creating web scrapers with concurrent requests
  • Developing real-time applications (WebSocket servers, chat systems)
  • Processing multiple independent tasks simultaneously
  • Building microservices with async communication
  • Optimizing I/O-bound workloads
  • Implementing async background tasks and queues

Do not use this skill when

  • The workload is CPU-bound with minimal I/O.
  • A simple synchronous script is sufficient.
  • The runtime environment cannot support asyncio/event loop usage.

Instructions

  • Clarify workload characteristics (I/O vs CPU), targets, and runtime constraints.
  • Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.
  • Add timeouts, backpressure, and structured error handling.
  • Include testing and debugging guidance for async code paths.
  • If detailed examples are required, open resources/implementation-playbook.md.

Refer to resources/implementation-playbook.md for detailed patterns and examples.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल

'Asynchronous' का क्या मतलब है?

यह multitasking जैसा है। एक task पूरा होने का इंतज़ार करने के बजाय प्रोग्राम कई tasks शुरू कर सकता है और जब एक इंतज़ार कर रहा हो तो उनके बीच switch कर सकता है।

इसे कब इस्तेमाल नहीं करना चाहिए?

अगर आपका प्रोग्राम ज़्यादातर भारी calculations करता है और बाहरी चीज़ों (इंटरनेट, disk) का इंतज़ार कम करता है, या आपको सिर्फ एक simple script चाहिए, तो यह tool शायद सबसे अच्छा विकल्प नहीं है।

व्यावहारिक उदाहरण कहाँ मिलेंगे?

file `resources/implementation-playbook.md` में इन patterns को लागू करने के विस्तृत उदाहरण हैं।

जानकारी

लेखक का मूल विवरण

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#3830
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills