Skip to main content

Work on .xlsx files.

Project description

xlsxopera

Working on xlsx (Microsoft Excel) files. Convert to list, dict, get headers, cell values, positions and more.

Developed by voidayan (c) 2022

Install

Install package from pip:

pip3 install xlsxopera

Note: Required packages is openpyxl

How to work

Create an object

from xlsxopera import Notebook

# Load file to operate and sheet name
notebook = Notebook("file-to-path.xlsx", "sheet_name")
# Or load file to operate without sheet name. Default will be active spreadsheet.
notebook = Notebook("file-to-path.xlsx")

Get rows in list of lists:

# Get all rows (from 1 to last)
rows_in_spreadsheet = notebook.list_rows()
# Get rows (for e.g, from 9 to 13)
rows_in_spreadsheet = notebook.list_rows(start=9, end=13)

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

xlsxopera-1.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

xlsxopera-1.1-py3-none-any.whl (5.8 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