Skip to main content

Parses an .xls excel file downloaded from ManageBac and converts to comma-deliminated csv. Particularly useful to convert to GSheets without having to use Excel.

Project description

mbExcelExport2csv

This simple command line tool can be used to take an .xls file (that is actually formatted in xml), and output it as a csv. The main use case in mind here is to convert excel files downloaded from ManageBac and upload them to Google Sheets, without having to open Excel.

This tool provides the exact same output if the xls file was opened in Excel, copied, and then pasted into Google Sheets, but without requiring Excel.

Getting Started

Requires Python 3.6.1 or above. Install Python 3 at python.org. Installing Python also installs a package manager (called pip) that can install the command mbExcelExport2csv into your command line environment.

pip3 install mbExcelExport2csv

Then, open the mini app using this command:

mbExcelExport2csv gui

For those who want the command line, use:

mbExcelExport2csv cmd

See "Command Line" below for more info

Upgrade

Should you need to update to the latest version, you can do:

pip install --upgrade mbExcelExport2csv

Command Line

After pip install worked, it is now installed on your path, and the command mbExcelExport2csv is now available:

mbExcelExport2csv cmd ~/path/to/xml.xls ~/path/to/output.csv

You can then import the csv file into Google Sheets. The delimiter used is a comma.

Alternatively, on Mac, you can skip the step of saving the csv file, and just run the following fancy command line, and it'll be on your clipboard.

mbExcelExport2csv cmd ~/path/to/xml.xls - | pbcopy

Just paste into "A1" cell of your Google Sheet, Data -> Split Text into Columns.

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

mbExcelExport2csv-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

mbExcelExport2csv-0.3.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file mbExcelExport2csv-0.3.0.tar.gz.

File metadata

  • Download URL: mbExcelExport2csv-0.3.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/21.1.0

File hashes

Hashes for mbExcelExport2csv-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d15a82317498f476a5fe21fb0145e13d131825849a460aa1eba8fea45517b502
MD5 ac08bc53b6c77719dd14437a90b0bed6
BLAKE2b-256 43297f33e6a1fc142ca0d59b8dff23deeec8fe967b6559d183172b66d3b2fe63

See more details on using hashes here.

File details

Details for the file mbExcelExport2csv-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mbExcelExport2csv-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62d72a64861d9bcc5ca5a9b085fc301d8751dfaedcb4238f59733e5100b0e574
MD5 8834b3697a19a116d01c7e563629174c
BLAKE2b-256 46744bb6fe31b0d28af0cfe60835e3bf63dd07b7260fcee6333626f25677655b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page