Installation¶
Requirements¶
Concurry requires Python 3.10 or higher.
Basic Installation¶
Install Concurry using pip:
This installs the core library with support for: - Threading and multiprocessing futures - Asyncio futures - Progress bars
Optional Dependencies¶
Ray Support¶
To use Concurry with Ray for distributed computing:
This includes:
- ray>=2.0.0
- cloudpickle>=2.0.0
Development Dependencies¶
For development and testing:
This includes:
- pytest>=6.0
- pytest-cov>=2.0
- black>=21.0
- flake8>=3.8
- mypy>=0.900
All Dependencies¶
To install everything:
Verify Installation¶
Verify your installation by running:
import concurry
from concurry.core.future import BaseFuture, wrap_future
from concurry.utils.progress import ProgressBar
print("Concurry installed successfully!")
From Source¶
To install from source:
# Clone the repository
git clone https://github.com/amazon-science/concurry.git
cd concurry
# Install in development mode
pip install -e .
# Or with all dependencies
pip install -e .[all]
Next Steps¶
- Getting Started - Learn the basics of Concurry
- Workers Guide - Build stateful concurrent operations
- Worker Pools Guide - Scale with worker pools