Skip to main content

Library of functions with utilities for the popular xlsx Python module openpyxl

Project description

Openpyxl_utilities

This project consists of a library with functionalities to work with the popular module openpyxl (mainly used to read and write xlsx and xls files from Python) more efficiently. It was kickstarted when I found out openpyxl package does not includes sorting fucntionalities to create xlsx files already sorted (the only option available was to set a sorting button to sort the rows inside Microsoft Excel, not creating the file already sorted).

Prerequisites

This script is written in Python 3.6 using the following non-standard modules:

Installing

First, make sure you have the prerequisites installed using the following command:

$pip freeze

If the list of installed modules does not includes openpyxl==2.5 or higher, run the following command:

$pip install openpyxl

Once the prerequisites are fullfiled, install the module with the following command:

$pip install openpyxl_utilities

If no errors are given, you can already import the module as any other module. To test if everything was correctly installed, run test.py, no error should rise.

$python test.py

If you are sure everything was installed correctly but there were errors, feel free to open an issue and let me help you get it working. n.n

List of functions (up to dated with version 1.0)

  • list_values
  • adjust_col_width
  • print_sheet
  • empty_row
  • max_length_of_column
  • transpose
  • sort_sheet_by
  • apply_format
  • col_to_num
  • num_to_col

Authors

  • Sebastián Matías Carreira

Acknowledgments

  • Felipe Prenholato - @chronossc : For his work on openpyxl, core module of these functions
  • Nicolás Fusaro - @mnfusaro : For his help in QA and debugging.

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

openpyxl_utilities-0.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

openpyxl_utilities-0.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file openpyxl_utilities-0.5.tar.gz.

File metadata

  • Download URL: openpyxl_utilities-0.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for openpyxl_utilities-0.5.tar.gz
Algorithm Hash digest
SHA256 9bc9f55ff6e1295079c4c4dacbb0348ba3bf035c9ae79267f408974fe457165b
MD5 c72e96188026ac34695b34e9fa4f1c99
BLAKE2b-256 17fe66d09a0059fd6d4f3aafe1205bd12224cea4d1491d6b6ea40c9b5fcc0776

See more details on using hashes here.

File details

Details for the file openpyxl_utilities-0.5-py3-none-any.whl.

File metadata

  • Download URL: openpyxl_utilities-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for openpyxl_utilities-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4d23446e6773c132c245e6d35ce8a7b565287e24877305d93134a9c7f167ffaf
MD5 5c53d283e4b4bfc9fb3749585ed5220c
BLAKE2b-256 afc8f4a1b3e93220d6413a880b98b18c6951fad374f52ac5204ca19e3e16d1a4

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