
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, Service, Usage Type or even By Purchase Type.
as well as format and separate the result by Monthly or Daily cost.
## Key Features
- ✅ **Account-Level Cost Breakdown**: Monthly or daily unblended costs per linked account.
- ✅ **Service-Level Cost Breakdown**: Monthly or daily unblended costs per Services.
- ✅ **Purchase Type-Level Cost Breakdown**: Monthly or daily unblended costs per Purchase Type.
- ✅ **Usage Type-Level Cost Breakdown**: Monthly or daily unblended costs per Usage Type.
- ✅ **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 kick start rapidly.
- ✅ **Open-Source**: the tool is open-source under Apache 2.0 license, which enables your to enhance it for your purpose.
---
## Table Of Contents
Quickly find what you're looking for:
1. [Welcome to eraXplor](https://mohamed-eleraki.github.io/eraXplor/)
2. [Tutorials](https://mohamed-eleraki.github.io/eraXplor/tutorials/)
3. [How-To Guides](https://mohamed-eleraki.github.io/eraXplor/how-to-guides/)
4. [Explanation](https://mohamed-eleraki.github.io/eraXplor/explanation/)
5. [Reference](https://mohamed-eleraki.github.io/eraXplor/reference/)
---
## Why eraXplor?

# How-To Guides
## AWS Profile Configuration
- Install [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) - Command line tool.
- Create an AWS AMI user then extract Access ID & key.
- Configure AWS CLI profile by:
```bash
aws configure <--profile [PROFILE_NAME]>
# ensure you set a defalut region.
```
## Check installed Python version
- Ensure you Python version is >= 3.12.3 by:
```bash
python --version
# Consider update Python version if less than 3
```
## Install eraXplor
- Install eraxplor too by:
```bash
pip install eraXplor
```
## How-To use
`eraXplor` have multiple arguments set with a default values _-explained below-_, Adjsut these arguments as required.
```bash
eraXplor <--start-date [yyyy-MM-DD]> <--end-date [yyyy-MM-DD]> \
<--profile [PROFILE-NAME]> \
<--groupby [LINKED_ACCOUNT | SERVICE | PURCHASE_TYPE | USAGE_TYPE]> \
<--out [file.csv]>
<--granularity [DAILY | MONTHLY]>
```
For Windows/PowerShell users restart your terminal, and you may need to use the following command:
```bash
python3 -m eraXplor
# Or
python -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\
```
<details open>
<summary><strong> ℹ️ Notes </strong></summary>
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.*
</details>
### Argument Reference
- `--start-date`, `-s`: **_(Not_Required)_** Default value set as six months before.
- `--end-date`, `-e`: **_(Not_Required)_** Default value set as Today date.
- `--profile`, `-p`: **_(Not_Required)_** Default value set as default.
- `--groupby`, `-g`: **_(Not_Required)_** Default value set as LINKED_ACCOUNT.
The available options are (`LINKED_ACCOUNT`, `SERVICE`, `PURCHASE_TYPE`, `USAGE_TYPE`)
- `--out`, `-o`: **_(Not_Required)_** Default value set as `cost_repot.csv`.
- `--granularity`, `-G`: **_(Not_Required)_** Default value set as `MONTHLY`.
The available options are (`MONTHLY`, `DAILY`)
<!-- ```mermaid
graph LR
A[AWS Console] ->|Complex UI| B[Manual Export]
B -> C[Spreadsheet Manipulation]
D[eraXplor] ->|Automated| E[Standardized Reports]
style D fill:#4CAF50,stroke:#388E3C
Replace -> with double --
``` -->
<br><br>
<details open>
<summary><strong>👋Show/Hide Author Details👋</strong></summary>
**Mohamed eraki**
_Cloud & DevOps Engineer_
[](mailto:mohamed-ibrahim2021@outlook.com)
[](https://www.linkedin.com/in/mohamed-el-eraki-8bb5111aa/)
[](https://x.com/__eraki__)
[](https://eraki.hashnode.dev/)
### 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."
</details>
Raw data
{
"_id": null,
"home_page": "https://mohamed-eleraki.github.io/eraXplor/",
"name": "eraXplor",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "CLI, ASCII Art",
"author": "Mohamed eraki",
"author_email": "Mohamed eraki <mohamed-ibrahim2021@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/79/16/ac3130b961349b103fb78cca418961200aa43705279be084509328f55e79/eraxplor-2.0.4.tar.gz",
"platform": null,
"description": "\n\nAWS Cost Export Tool for automated cost reporting and analysis.\n\n**eraXplor** is an automated AWS cost reporting tool designed for assest DevOps and FinOps teams fetching and sorting AWS Cost Explorer.\nit extracts detailed cost data by calling AWS Cost Explorer API directly and Transform result as a CSV.\n`eraXplor` gives you the ability to sort the cost by Account, Service, Usage Type or even By Purchase Type.\nas well as format and separate the result by Monthly or Daily cost.\n\n## Key Features\n\n- \u2705 **Account-Level Cost Breakdown**: Monthly or daily unblended costs per linked account.\n- \u2705 **Service-Level Cost Breakdown**: Monthly or daily unblended costs per Services.\n- \u2705 **Purchase Type-Level Cost Breakdown**: Monthly or daily unblended costs per Purchase Type.\n- \u2705 **Usage Type-Level Cost Breakdown**: Monthly or daily unblended costs per Usage Type.\n- \u2705 **Flexible Date Ranges**: Custom start/end dates with validation.\n- \u2705 **Multi-Profile Support**: Works with all configured AWS profiles.\n- \u2705 **CSV Export**: Ready-to-analyze reports in CSV format.\n- \u2705 **Cross-platform CLI Interface**: Simple terminal-based workflow, and **Cross OS** platform.\n- \u2705 **Documentation Ready**: Well explained documentations assest you kick start rapidly.\n- \u2705 **Open-Source**: the tool is open-source under Apache 2.0 license, which enables your to enhance it for your purpose.\n\n---\n\n## Table Of Contents\n\nQuickly find what you're looking for:\n\n1. [Welcome to eraXplor](https://mohamed-eleraki.github.io/eraXplor/)\n2. [Tutorials](https://mohamed-eleraki.github.io/eraXplor/tutorials/)\n3. [How-To Guides](https://mohamed-eleraki.github.io/eraXplor/how-to-guides/)\n4. [Explanation](https://mohamed-eleraki.github.io/eraXplor/explanation/)\n5. [Reference](https://mohamed-eleraki.github.io/eraXplor/reference/)\n\n---\n\n## Why eraXplor?\n\n\n\n# How-To Guides\n\n## AWS Profile Configuration\n\n- Install [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) - Command line tool.\n- Create an AWS AMI user then extract Access ID & key.\n- Configure AWS CLI profile by:\n\n```bash\naws configure <--profile [PROFILE_NAME]>\n# ensure you set a defalut region.\n```\n\n## Check installed Python version\n\n- Ensure you Python version is >= 3.12.3 by:\n\n```bash\npython --version\n\n# Consider update Python version if less than 3\n```\n\n## Install eraXplor\n\n- Install eraxplor too by:\n\n```bash\npip install eraXplor\n```\n\n## How-To use\n\n`eraXplor` have multiple arguments set with a default values _-explained below-_, Adjsut these arguments as required.\n\n```bash\neraXplor <--start-date [yyyy-MM-DD]> <--end-date [yyyy-MM-DD]> \\\n<--profile [PROFILE-NAME]> \\\n<--groupby [LINKED_ACCOUNT | SERVICE | PURCHASE_TYPE | USAGE_TYPE]> \\\n<--out [file.csv]>\n<--granularity [DAILY | MONTHLY]>\n```\n\nFor Windows/PowerShell users restart your terminal, and you may need to use the following command:\n\n```bash\npython3 -m eraXplor\n\n# Or\npython -m eraXplor\n\n# to avoid using this command, apend the eraXplor to your paths.\n# Normaly its under: C:\\Users\\<YourUser>\\AppData\\Local\\Programs\\Python\\Python<version>\\Scripts\\\n```\n\n<details open>\n<summary><strong> \u2139\ufe0f Notes </strong></summary>\n\n Ensure you run the command in a place you have sufficient permission to replace file.\n *The eraXport tool sorting cost reult into a CSV file, by default The CSV will replace for next run.*\n</details>\n\n### Argument Reference\n\n- `--start-date`, `-s`: **_(Not_Required)_** Default value set as six months before.\n- `--end-date`, `-e`: **_(Not_Required)_** Default value set as Today date.\n- `--profile`, `-p`: **_(Not_Required)_** Default value set as default.\n- `--groupby`, `-g`: **_(Not_Required)_** Default value set as LINKED_ACCOUNT.\n The available options are (`LINKED_ACCOUNT`, `SERVICE`, `PURCHASE_TYPE`, `USAGE_TYPE`)\n- `--out`, `-o`: **_(Not_Required)_** Default value set as `cost_repot.csv`.\n- `--granularity`, `-G`: **_(Not_Required)_** Default value set as `MONTHLY`.\n The available options are (`MONTHLY`, `DAILY`)\n\n<!-- ```mermaid\ngraph LR\n A[AWS Console] ->|Complex UI| B[Manual Export]\n B -> C[Spreadsheet Manipulation]\n D[eraXplor] ->|Automated| E[Standardized Reports]\n style D fill:#4CAF50,stroke:#388E3C\n Replace -> with double --\n``` -->\n<br><br>\n<details open>\n<summary><strong>\ud83d\udc4bShow/Hide Author Details\ud83d\udc4b</strong></summary>\n\n**Mohamed eraki** \n_Cloud & DevOps Engineer_\n\n[](mailto:mohamed-ibrahim2021@outlook.com) \n[](https://www.linkedin.com/in/mohamed-el-eraki-8bb5111aa/) \n[](https://x.com/__eraki__) \n[](https://eraki.hashnode.dev/)\n\n### Project Philosophy\n\n> \"I built eraXplor to solve real-world cloud cost visibility challenges \u2014 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.\"\n\n</details>\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A Python CLI tool for exporting AWS cost reports using the eraXplor.",
"version": "2.0.4",
"project_urls": {
"Homepage": "https://mohamed-eleraki.github.io/eraXplor/",
"Issues": "https://github.com/Mohamed-Eleraki/eraXplor/issues",
"Repository": "https://github.com/Mohamed-Eleraki/eraXplor.git"
},
"split_keywords": [
"cli",
" ascii art"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "419fa33862c511122a6d5384b51e1cfe79cabb57e55f1c167c6f4f4b8f85efb2",
"md5": "13de4985dafccb261bb4e83655e01aa2",
"sha256": "adfc5f823bb1c8e67909097a9b69c167722fb62a3ccbb4eeab5e0fe9c19d65df"
},
"downloads": -1,
"filename": "eraxplor-2.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "13de4985dafccb261bb4e83655e01aa2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 11215,
"upload_time": "2025-07-09T11:44:26",
"upload_time_iso_8601": "2025-07-09T11:44:26.135240Z",
"url": "https://files.pythonhosted.org/packages/41/9f/a33862c511122a6d5384b51e1cfe79cabb57e55f1c167c6f4f4b8f85efb2/eraxplor-2.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7916ac3130b961349b103fb78cca418961200aa43705279be084509328f55e79",
"md5": "4093ccacb6160f51ca062ae8536c7e50",
"sha256": "9567509a9cbf73b5110f4713678578cd8944a350b3090738a562e30bcf9f5782"
},
"downloads": -1,
"filename": "eraxplor-2.0.4.tar.gz",
"has_sig": false,
"md5_digest": "4093ccacb6160f51ca062ae8536c7e50",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 15132,
"upload_time": "2025-07-09T11:44:27",
"upload_time_iso_8601": "2025-07-09T11:44:27.584152Z",
"url": "https://files.pythonhosted.org/packages/79/16/ac3130b961349b103fb78cca418961200aa43705279be084509328f55e79/eraxplor-2.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-09 11:44:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mohamed-Eleraki",
"github_project": "eraXplor",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "boto3",
"specs": [
[
">=",
"1.37.0"
]
]
},
{
"name": "pyfiglet",
"specs": [
[
">=",
"1.0.2"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
">=",
"2.9.0"
]
]
},
{
"name": "termcolor",
"specs": [
[
">=",
"3.0.1"
]
]
},
{
"name": "rich",
"specs": [
[
">=",
"13.7.1"
]
]
}
],
"lcname": "eraxplor"
}