localstack
The LocalStack Command Line Interface
What it is and what it does
LocalStack is a command-line interface for running a local AWS cloud service emulator. It lets you spin up mock versions of AWS services in Docker containers on your machine, so you can develop and test cloud applications without deploying to real AWS or incurring costs.
The tool manages the lifecycle of these emulated services through simple commands: start the stack, check service status, and stop when done. It's commonly used in local development workflows and CI/CD pipelines to validate cloud application behavior in isolation. The package depends on Docker for containerization and includes utilities for configuration, authentication simulation, and service management.
Use it for:
- Develop AWS Lambda functions locally without deploying to real AWS
- Test S3 bucket operations and DynamoDB queries in isolation during development
- Run integration tests in CI pipelines that exercise cloud service interactions
- Prototype multi-service cloud architectures on a single machine before deployment
- Avoid AWS charges during development and testing cycles
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
LocalStack is a command-line tool that emulates AWS cloud services locally, allowing you to develop and test cloud applications on your laptop or in CI without hitting real AWS.
Yes, if you actively develop AWS-based applications and need local testing—the low install friction and permissive license make it accessible. However, the abandoned maintenance status (archived repo, last commit 2026-03-23) is a significant concern: verify that the version you need is stable and that PYSEC-2023-243 does not affect your use case.
Install
localstack on PyPI
pip
pip install localstackuv
uv add localstackpoetry
poetry add localstackInstalling localstack
Before you install
Low friction install with a pure-Python wheel, but the repository is marked archived and maintenance status is abandoned as of the latest release 17 days ago. The last commit was 2026-03-23.
License in practice
Licensed under Apache-2.0 (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.
Quickstart
pip install localstack
localstack start
localstack status services
localstack stop
Requires Docker to be installed and running; Python >= 3.10
Verify before relying
- Whether the archived repository status means active maintenance has ceased or if development continues elsewhere
- Current status of PYSEC-2023-243 vulnerability and whether it affects this version
- Whether high download volume reflects active ongoing use or legacy adoption
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 20 — asn1crypto, cachetools, click, cryptography, dnslib, dnspython, docker, packaging, plux, psutil, pyjwt, pyotp, python-dateutil, python-dotenv, pyyaml, requests, rich, semver, tabulate, windows-curses |
| Maintenance | abandoned — 17 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 787,734/month — #5,061 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | 1 — PYSEC-2023-243 |
Evidence: localstack-2026.7.1-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
localstack-extProvides extensions and additional…
unclear · top 15,000 on PyPI
localstack-clientA Python client that wraps boto3 to redirect…
permissive · top 5,000 on PyPI
gcp-storage-emulatorProvides a local emulator for Google Cloud…
permissive · top 15,000 on PyPI
awscli-localProvides the `awslocal` command, a thin wrapper…
permissive · top 5,000 on PyPI
terraform-localA wrapper script that runs Terraform against…
permissive · top 15,000 on PyPI
moto-extMocks AWS services for testing by intercepting…
permissive · top 15,000 on PyPI
pulumi-localA command-line wrapper that adapts Pulumi…
permissive · top 15,000 on PyPI
localstack-twistedA LocalStack-optimized distribution of Twisted…
permissive · top 15,000 on PyPI
testcontainers-postgresProvides a PostgreSQL Docker container wrapper…
unclear · top 15,000 on PyPI
pip-upgraderAn interactive CLI tool that upgrades Python…
permissive · top 15,000 on PyPI