Skip to main content

An upgrade assistant to audit Python projects and estimate cloud cost savings.

Project description

pyboost-auditor

An upgrade assistant for Python projects that audits code and estimates cloud cost savings.

🚀 About the Project

pyboost-auditor is a powerful command-line tool designed to help developers and organizations transition to modern Python versions with confidence. It goes beyond simple dependency checks by providing a clear, financial case for upgrading, helping you identify and quantify potential cloud cost savings.

✨ Key Features

  • Automated Scanning: Automatically detects the Python version in your project by scanning for Dockerfile and environment.yaml files.
  • Cost Analysis: Provides a clear estimate of your annual cloud savings based on your monthly bill and a hard-coded knowledge base of performance improvements in recent Python releases. This turns a technical decision into a business-friendly one.
  • Dependency Checks: Runs pip check to find potential dependency conflicts before you upgrade, serving as a proactive guardrail to prevent issues.
  • CI/CD Ready: Designed to be easily integrated into your CI/CD pipeline as a quality check.
  • Visual Reports: Provides a clear, color-coded report in the terminal for easy reading and quick decision-making, thanks to the rich library.

🛠️ How to Use

1. Installation

You can install pyboost-auditor directly from PyPI:

pip install pyboost-auditor

2. Basic Usage

Navigate to your project directory and run the command with your estimated monthly cloud bill. The tool will then scan your project and provide a report.

pyboost --monthly-bill [YOUR_BILL_AMOUNT] --compute-percentage [PERCENTAGE]
  • --monthly-bill: Your average monthly cloud bill.
  • --compute-percentage: The percentage of your bill that is allocated to computing resources.

3. Example

pyboost --monthly-bill 2300000 --compute-percentage 0.6

This command would analyze your project and provide a report that estimates the annual savings based on a monthly cloud bill of $2,300,000 with 60% allocated to compute.

🤝 Contributing

We welcome contributions from the community! Feel free to report a bug, suggest a new feature, or submit a pull request on GitHub.

📄 License

This project is licensed under the MIT License.

Project details


Download files

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

Source Distribution

pyboost_auditor-0.2.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyboost_auditor-0.2.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pyboost_auditor-0.2.2.tar.gz.

File metadata

  • Download URL: pyboost_auditor-0.2.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pyboost_auditor-0.2.2.tar.gz
Algorithm Hash digest
SHA256 458c841beb8da718b6ebd84641948980c3b16a836dda440907a1de0ee4f0e6da
MD5 79963fd176da45a95722bc2b4d4ab82a
BLAKE2b-256 489e75fc900f9ae8a7f9958e90341062ef3fecb30eaba172732a985da0b809dc

See more details on using hashes here.

File details

Details for the file pyboost_auditor-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyboost_auditor-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b929c9b80380dd2484813a67d34ebfe5270cd010648ec24e5749782de03d2e2a
MD5 eb7deebd1447399b0284e86649edfefa
BLAKE2b-256 6dd96649f34eb004188cfcbbf8713cc3a86895a7e20899f668467e1140511839

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page