Wanted Snippets¶
This file tracks high-priority snippets we'd like to add. Feel free to contribute!
🔥 High Priority¶
-
bisect.bisect_left
- Find insertion point in sorted list -
difflib.sequence_matcher
- Compare sequences
📈 Medium Priority¶
-
fnmatch.filename_matching
- Match filenames with patterns -
multiprocessing.process_pool
- Use process pool for CPU-bound tasks -
asyncio.async_function
- Define and run async function -
concurrent.futures.thread_pool
- Use thread pool for I/O-bound tasks -
enum.enumeration
- Create enumeration class -
dataclasses.dataclass
- Create data class
💡 Nice to Have¶
-
operator.itemgetter
- Get item from sequence -
weakref.weak_reference
- Create weak reference -
unittest.basic_test
- Write basic unit test -
doctest.docstring_test
- Write test in docstring -
warnings.suppress_warnings
- Suppress specific warnings
🤝 Contributing¶
To contribute a snippet: 1. Check if it's already in the list above 2. Follow the snippet template in CONTRIBUTING.md 3. Submit a pull request 4. Ensure it uses only the standard library 5. Include clear tags and notes
📊 Progress¶
- Total wanted: 13