Skip to main content

📈 Sales Report Generator - CLI

A simple command-line Sales Report Generator built using Python. This project helps you load, clean, and analyze sales data from CSV files with a colorful and neatly formatted tabular interface.


✨ Features

  • Load and preview CSV sales data
  • Clean data by removing missing values and duplicates
  • Generate revenue reports by category and region
  • Identify top selling products
  • Export full sales report to a .txt file
  • Save cleaned data to a new CSV file
  • Colorful CLI output for better readability

📦 Install via pip

pip install laypatel13-sales-report

Then run it from anywhere in your terminal:

sales-report

🛠️ Install from source

git clone https://github.com/laypatel13/sales-report.git
cd sales-report
pip install -r requirements.txt
pip install -e .

Then run:

sales-report

📂 Project Structure

sales-report/
├── sales_report/
│   ├── __init__.py
│   └── main.py
├── sales-data.csv
├── pyproject.toml
├── requirements.txt
└── README.md

🧰 Built With

  • Used Pandas for data loading, cleaning, and analysis.
  • Used Colorama for colored terminal output.
  • Used Tabulate for formatted table display.

Metadata

Release files for laypatel13-sales-report 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laypatel13-sales-report 0.1.0
File Size Uploaded
laypatel13_sales_report-0.1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for laypatel13-sales-report 0.1.0
File Interpreter ABI Platform
laypatel13_sales_report-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / laypatel13_sales_report-0.1.0.tar.gz

Download URL laypatel13_sales_report-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
73b56adc14c4f9f746e475d1e7c72a144a3071d76e490b746882a47dd7315f63
BLAKE2b-256 checksum
How to use checksums
ac70a8557e2a0c25eddb8680130ba484d472a2c698fa55ca32dcaf731e17959c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / laypatel13_sales_report-0.1.0-py3-none-any.whl

Download URL laypatel13_sales_report-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ed94d8b64518e77283580761ab2d1fa194e5421217e2bcf35ddfb6734b49155
BLAKE2b-256 checksum
How to use checksums
0f609ad7b002bfb4988624786251d8e9312caa3b6102a72fe2e11c470535f457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page