This repository contains examples and implementations of various concurrent processing patterns and techniques in Python.
The project is organized into three main components:
Located in async_and_threads/
, this section demonstrates:
- Asynchronous programming patterns using Python's
asyncio
- Threading implementations and best practices
- Comparison between async and threaded approaches
Located in openai_batches/
, this section covers:
- Batch processing techniques for OpenAI API calls
- Efficient handling of multiple API requests
- Rate limiting and concurrency management
Located in streaming/
, this section includes:
- Stream processing implementations
- Real-time data handling
- Efficient streaming patterns and practices
Each directory contains specific examples and implementations. Navigate to the respective directories to find detailed documentation and usage instructions for each component.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.