Skip to main content

No project description provided

Project description

📊 merge-xlsx

merge-xlsx is a simple yet powerful CLI tool to merge multiple single-sheet .xlsx files into one workbook.
Built for anyone tired of manually copying and pasting Excel data!

🚀 Why did I build this?

I often found myself with dozens (sometimes hundreds!) of Excel files, each with a single sheet, that needed to be combined into one file for analysis or reporting.
Doing this by hand was tedious, error-prone, and just not fun.
Existing tools were either too complex, required Excel itself, or didn’t handle my use case well.

merge-xlsx solves this with a single command!

⚡️ Features

  • 🟢 Merge any number of .xlsx files (single-sheet) into one
  • 🎨 Beautiful progress bar and colored output (thanks to rich)
  • 🏃 Fast and memory-efficient (uses pandas)
  • 🐍 Python 3.13+ support

📦 Installation

The recommended way is with pipx:

pipx install merge-xlsx

🛠 Usage

merge-xlsx file1.xlsx file2.xlsx ... -o merged.xlsx

You can use wildcards to select files:

merge-xlsx /path/to/files/*.xlsx -o merged.xlsx

🧩 Edge Cases & Notes

  • All input files must have a single sheet.
  • All files should have the same columns (otherwise, pandas will fill missing columns with NaN).
  • Output file will overwrite if it already exists.
  • Large files are supported, but memory usage depends on total data size.
  • Files with different encodings or corrupt files may cause errors.

🚧 Possible Improvements

  • Option for plain/clear stdout (no rich output)
  • Support for multi-sheet files (merge specific sheets)
  • Column mapping or reordering
  • Output to CSV or other formats
  • GUI version

🤝 Contributing

PRs and suggestions are welcome! Please open an issue if you find a bug or have a feature request.

📄 License

MIT © Vinícius Costa

🌟 Star this project if you find it useful

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

merge_xlsx-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

merge_xlsx-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file merge_xlsx-0.1.2.tar.gz.

File metadata

  • Download URL: merge_xlsx-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.5.0

File hashes

Hashes for merge_xlsx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 396f4b17285fd410c61410562c5d6eed12e3124a75e84596918ae7d067258d19
MD5 88727030b98860e1b34be5c94e64f807
BLAKE2b-256 3404adea56c17fe808cef440a6506791c7790326ae5dd96870ed6778185b04e0

See more details on using hashes here.

File details

Details for the file merge_xlsx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: merge_xlsx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.5.0

File hashes

Hashes for merge_xlsx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a90ae60f5b486cb3df63ac941b03bb40250b1536a9e02a115757ade376acf80
MD5 9369b4914a393938b6a79c1a663020e2
BLAKE2b-256 1c23e6459779add5a59ab7e53bd655c792c233db0a11dcf479ff37f8408ac3f1

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