Add your description here
Project description
minexcel
minexcel is a Python package designed for processing complex Excel tables and extracting structured data blocks from formatted layouts.
Reading Formatted Data Blocks in Excel
Formatted data blocks in Excel are often challenging to parse, especially when merged cells are involved. minexcel abstracts the cells in data block into distinct components and supports simplified markup for configuration.
To define a template, you can create a new .xlsx file and structure your data block as follows:
-
[tablemeta]: Table metadata. Each block can have multiple table metadata entries, but each entry must contain a single value. -
[rowmeta]: Row metadata. Represents row-wise extended information, including traditional rownames. -
[colmeta]: Column metadata. Represents column-wise extended information including traditional colnames. -
Leave empty: Core data area. This region should contain no rowname or colname.
-
[ignore]: Cells to skip during parsing. Note: The original cell containing the metadata name must be marked as[ignore].
Use minexcel to parse the data:
import minexcel as mxl
tmpl = mxl.parse_template("template.xlsx")
res = mxl.read_block_excel("data.xlsx", tmpl)
This returns structured data matching the template's design:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minexcel-0.2.1.tar.gz.
File metadata
- Download URL: minexcel-0.2.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a571b707c45329274579853b2335d514db6b463fa5fcdab221100726c2e8047
|
|
| MD5 |
7bccd133be0df621b8eae5caf4282531
|
|
| BLAKE2b-256 |
b2f57f854281d58ffa7677912433fbfb86de43fefda379b14580430463fbd689
|
Provenance
The following attestation bundles were made for minexcel-0.2.1.tar.gz:
Publisher:
release.yaml on william-swl/minexcel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minexcel-0.2.1.tar.gz -
Subject digest:
9a571b707c45329274579853b2335d514db6b463fa5fcdab221100726c2e8047 - Sigstore transparency entry: 384468118
- Sigstore integration time:
-
Permalink:
william-swl/minexcel@f571db4ee5befb9accaa06af70b8513a58f01bc6 -
Branch / Tag:
refs/tags/0.2.1 - Owner: https://github.com/william-swl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f571db4ee5befb9accaa06af70b8513a58f01bc6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file minexcel-0.2.1-py3-none-any.whl.
File metadata
- Download URL: minexcel-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed2f040fcd04ce5729f69a2c0261b8d08dc759874217f0eb039c6474748a2d46
|
|
| MD5 |
48b2457e93e4c8dc843f347cade5c683
|
|
| BLAKE2b-256 |
ff2582d0b76ef36c67e53fb44d9d2fb9eac70e2cc3a90f424b8d801185a57c18
|
Provenance
The following attestation bundles were made for minexcel-0.2.1-py3-none-any.whl:
Publisher:
release.yaml on william-swl/minexcel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minexcel-0.2.1-py3-none-any.whl -
Subject digest:
ed2f040fcd04ce5729f69a2c0261b8d08dc759874217f0eb039c6474748a2d46 - Sigstore transparency entry: 384468124
- Sigstore integration time:
-
Permalink:
william-swl/minexcel@f571db4ee5befb9accaa06af70b8513a58f01bc6 -
Branch / Tag:
refs/tags/0.2.1 - Owner: https://github.com/william-swl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f571db4ee5befb9accaa06af70b8513a58f01bc6 -
Trigger Event:
push
-
Statement type: