Skip to main content

A colorful CLI tool to generate sales reports using Pandas

Project description

📈 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.

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

laypatel13_sales_report-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

laypatel13_sales_report-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file laypatel13_sales_report-0.1.0.tar.gz.

File metadata

  • Download URL: laypatel13_sales_report-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for laypatel13_sales_report-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73b56adc14c4f9f746e475d1e7c72a144a3071d76e490b746882a47dd7315f63
MD5 19d0fe5923caa28c8b31168a0331150c
BLAKE2b-256 ac70a8557e2a0c25eddb8680130ba484d472a2c698fa55ca32dcaf731e17959c

See more details on using hashes here.

File details

Details for the file laypatel13_sales_report-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for laypatel13_sales_report-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ed94d8b64518e77283580761ab2d1fa194e5421217e2bcf35ddfb6734b49155
MD5 0012338eed84c79c23b90b60f90816ab
BLAKE2b-256 0f609ad7b002bfb4988624786251d8e9312caa3b6102a72fe2e11c470535f457

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