Skip to main content

A Python CLI tool for exporting AWS cost reports using the eraXplor.

Project description

https://github.com/Mohamed-Eleraki/eraXplor/blob/master/docs/assets/images/eraXplor.jpeg

AWS Cost Export Tool for automated cost reporting and analysis.

eraXplor is an automated AWS cost reporting tool designed for assest DevOps and FinOps teams fetching and sorting AWS Cost Explorer. it extracts detailed cost data by calling AWS Cost Explorer API directly and Transform result as a CSV. eraXplor gives you the ability to sort the cost by Account or even By Service, as well as format and separate the result Monthly.

eraXplor is still under enhancement and this is an 'Initial Model'

Key Features

  • Account-Level Cost Breakdown: Monthly unblended costs per linked account.
  • Service-Level Cost Breakdown: Monthly unblended costs per Services.
  • Flexible Date Ranges: Custom start/end dates with validation.
  • Multi-Profile Support: Works with all configured AWS profiles.
  • CSV Export: Ready-to-analyze reports in CSV format.
  • Cross-platform CLI Interface: Simple terminal-based workflow, and Cross OS platform.
  • Documentation Ready: Well explained documentations assest you to kick start rapidly.
  • Open-Source: the tool is open-source under Apache02 and GNU licenses, which enables your to enhance it for your purpose.

Why eraXplor?

https://github.com/Mohamed-Eleraki/eraXplor/blob/master/docs/assets/images/why_eraXplor.jpeg

Prerequisites

python3 --version

Steps

  1. Install eraXplor:
pip install eraXplor
  1. Run eraXplor:
eraXplor

For Windows/PowerShell users restart your terminal, and you may need to use the following command:

python3 -m eraXplor
# to avoid using this command, apend the eraXplor to your paths.
# Normaly its under: C:\Users\<YourUser>\AppData\Local\Programs\Python\Python<version>\Scripts\
ℹ️ Notes
Ensure you run the command in a place you have sufficient permission to replace file.
*The eraXport tool sorting cost reult into a CSV file, by default The CSV will replace for next run.*

This will prompet you with an Interactive session. Please, Follow the guide below and enter a valied inputs as follows example:

Enter a start date value with YYYY-MM-DD format: 2025-1-1
Enter an end date value with YYYY-MM-DD format: 2025-3-30
Enter your AWS Profile name: profile_name
Enter the cost group by key:
    Enter [1] to list by 'LINKED_ACCOUNT' -> Default
    Enter [2] to list by 'SERVICE'
    Enter [3] to list by 'PURCHASE_TYPE'
    Enter [4] to list by 'USAGE_TYPE'
    Press Enter for 'LINKED_ACCOUNT' -> Default:

    # Press Enter for list cost per account, Or Enter a number for attending result.

Table Of Contents

Quickly find what you're looking for depending on your use case by looking at the different pages.

  1. Welcome to eraXplor
  2. Tutorials
  3. How-To Guides
  4. Explanation
  5. Reference

👋Show/Hide Author Details👋

Mohamed eraki
Cloud & DevOps Engineer

Email
LinkedIn
Twitter
Blog

Project Philosophy

"I built eraXplor to solve real-world cloud cost visibility challenges — the same pain points I encounter daily in enterprise environments. This tool embodies my belief that financial accountability should be accessible to every technical team."

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

eraxplor-1.0.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

eraxplor-1.0.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file eraxplor-1.0.2.tar.gz.

File metadata

  • Download URL: eraxplor-1.0.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for eraxplor-1.0.2.tar.gz
Algorithm Hash digest
SHA256 697c3cb9bfe5a20c5238de026db5b19a3b79004ba4158db6463bc4c139dc1e3f
MD5 4553f17cc0b76cf15da8341ff7114820
BLAKE2b-256 4dbb2bc7fc1707b6bbc9aee0e7ecd3a558796f7abcd6ccf78cfa96e4be84d26b

See more details on using hashes here.

File details

Details for the file eraxplor-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: eraxplor-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for eraxplor-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d414c5df6699db8d0423d8b22f861ec8dfb2d18f1afd1f6da6db0a5d80f0bda5
MD5 dd97e21df55674398b6cc109e1ccebbc
BLAKE2b-256 a26894a106ceb9040ec92b0afa4a1e07aac96dc16516c89cab8a19f13596661e

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