Skip to main content

Excelsior

Excelsior is a tool to convert Excel spreadsheets into TSV, CSV, Json or Yaml. Reads all sheets of the spreasheets.

Uses xlrd for reading the Excel files, and thus supports the new Open Office XML file format (.xlsx extension).

Supported output formats are tab separated values (.tsv), comma separated values (.csv), Yaml and JSON.

For TSV and CSV output, uses the Python csv module from the standard library.

Installation

$ pip install excelsior

Usage

By default outputs into standard output, and separate sheets are separated by a form feed and new line characters (\x0c\n), followed by a header line of the form # Sheet name #\n.

When writing onto files with the -w option, no such characters or headers are written.

Output TSV:

$ excelsior -f tsv excel.xlsx

Convert into TSV and write to files:

$ excelsior -w -f tsv excel.xlsx another-excel.xls

This will save the output into <filename>.tsv, if the spreasheet has only one sheet, or <filename>-<sheet>.tsv if it has multiple sheets.

You can also pipe in the filenames (separated by newlines):

$ echo "ds140-bauxi.xlsx\nds140-alumi.xlsx" | excelsior -w -f tsv
ds140-bauxi-Bauxite.tsv: written
ds140-bauxi-Alumina.tsv: written
ds140-alumi.tsv: written

Show help:

$ excelsior -h

Metadata

Release files for excelsior 0.0.5

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

Source distribution (sdist)

Source distribution for excelsior 0.0.5
File Size Uploaded Provenance Actions
excelsior-0.0.5.tar.gz 5.1 kB Without provenance Details for excelsior-0.0.5.tar.gz

Release files / excelsior-0.0.5.tar.gz

Download URL excelsior-0.0.5.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ba4463aed574eaad577a750aede8be39474ceaacf60cdc3c7a574ca74109dd3d
BLAKE2b-256 checksum
How to use checksums
1210b25ff3de1355d4ee81f4fd25339cddd85c59abc12d36135b47cd27cd226e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for excelsior 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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