Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pruning of Elastic Beanstalk versions.

Project Description

A CLI tool to prune old versions of Elastic Beanstalk.


pip install eb-prune


To keep the last 100 versions available, simply run eb-prune 100. The tool relies on the usual AWS CLI configuration as described here, specifically on access key id, secret access key and region.

$ eb-prune --help
usage: eb-prune [-h] [-d] versions_to_keep

positional arguments:
  versions_to_keep  The number of versions to keep.

  optional arguments:
    -h, --help        show this help message and exit
    -d, --dry-run     Dry run, do not delete versions.


This software is licnesed under the MIT licese (see the LICENSE.txt file).


Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at:

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.6 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Sep 3, 2016
(3.6 kB) Copy SHA256 Hash SHA256
Source None Sep 3, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting