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.
Release files for openpyxl-utilities 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openpyxl_utilities-0.5.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openpyxl_utilities-0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / openpyxl_utilities-0.5.tar.gz
| Download URL | openpyxl_utilities-0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bc9f55ff6e1295079c4c4dacbb0348ba3bf035c9ae79267f408974fe457165b
|
|
BLAKE2b-256 checksum How to use checksums |
17fe66d09a0059fd6d4f3aafe1205bd12224cea4d1491d6b6ea40c9b5fcc0776
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / openpyxl_utilities-0.5-py3-none-any.whl
| Download URL | openpyxl_utilities-0.5-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d23446e6773c132c245e6d35ce8a7b565287e24877305d93134a9c7f167ffaf
|
|
BLAKE2b-256 checksum How to use checksums |
afc8f4a1b3e93220d6413a880b98b18c6951fad374f52ac5204ca19e3e16d1a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|