Installation¶
This guide covers installing easy_sm from PyPI or from source.
Requirements¶
Before installing easy_sm, ensure you have:
- Python >=3.13
- Docker (for local development)
- AWS CLI configured with credentials
Install from PyPI¶
The simplest way to install easy_sm is via pip:
Verify the installation:
Install from Source¶
For development or to use the latest features:
1. Clone the Repository¶
2. Install in Development Mode¶
This allows code changes without reinstalling:
3. Install Development Dependencies¶
For testing and code quality tools:
This installs additional tools:
- pytest (testing framework)
- mypy (type checking)
- ruff (linting and formatting)
- requests (HTTP library)
- Development dependencies for sample apps
Verify Installation¶
Check that easy_sm is installed correctly:
Docker Setup¶
easy_sm requires Docker for local development:
macOS/Windows¶
Download and install Docker Desktop
Linux¶
Install Docker Engine:
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install docker.io
# Start Docker service
sudo systemctl start docker
sudo systemctl enable docker
Add your user to the docker group (optional, to avoid sudo):
Verify Docker is running:
AWS CLI Setup¶
easy_sm requires AWS CLI for cloud operations:
Install AWS CLI¶
Download and run the AWS CLI installer
Configure AWS Credentials¶
Configure your AWS profile:
Enter your credentials:
AWS Access Key ID: YOUR_ACCESS_KEY
AWS Secret Access Key: YOUR_SECRET_KEY
Default region name: eu-west-1
Default output format: json
Verify configuration:
Next Steps¶
Once installed, proceed to the Quick Start guide to create your first project.
Troubleshooting¶
Python Version Issues¶
easy_sm requires Python 3.13+. Check your version:
If you have an older version, install Python 3.13 using:
- pyenv (recommended)
- Official Python downloads
Docker Permission Denied¶
If you see "permission denied" errors with Docker:
# Add user to docker group
sudo usermod -aG docker $USER
# Log out and back in, then verify
docker ps
AWS Credentials Not Found¶
If AWS commands fail:
- Check credentials file exists:
cat ~/.aws/credentials - Verify profile configuration:
aws configure list --profile dev - Test credentials:
aws sts get-caller-identity --profile dev
For more help, see the AWS Setup guide.