Skip to main content

openpyxl wrapper for cli use

Project description

pyxl-cli

opeypyxl wrapper for cli use.

install

pip install pyxl-cli

usage

read

output stdout CSV format

pyxl read \
    --input_xlsx input.xlsx

output file TSV format

pyxl read \
    --input_xlsx input.xlsx \
    --output /tmp/output.tsv \
    --delimiter='\t'

write

for CSV file

pyxl write \
    --sheet_xy_csv 1 A1 input.csv \
    template.xlsx output.xlsx

for 2 TSV files

pyxl write \
    --sheet_xy_csv 1 A1 input_a.tsv \
    --sheet_xy_csv 1 F12 input_b.tsv \
    --delimiter="\t" \
    template.xlsx output.xlsx

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

pyxl-cli-0.2.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

pyxl_cli-0.2.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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