Convert the excel list from sap to a pdf
Project description
saplist2pdf
Convert the SAP Excel list into a formatted PDF.
Requirements
- Python 3.11 or newer
- A SAP export in Excel format with the expected columns
Install
With pip
Create a virtual environment first, then install the project:
python -m venv .venv
source .venv/bin/activate
pip install saplist2pdf-sebastian-stigler
Usage
After installation, the command line tool is available as saplist2pdf.
saplist2pdf input.xlsx
By default, the PDF is written to teilnehmerliste_XX.pdf where XX is a two-digit number.
The command now supports different entries in the Studienfach column and creates a new PDF file for each distinct Studienfach entry.
Options
-o,--output: set a custom output filename--check: validate the Excel file without creating a PDF--version: print the installed version
Examples
-
Create a PDF with a custom name:
saplist2pdf input.xlsx -o output.pdf
This creates
output_XX.pdf(see Usage above). -
Validate the spreadsheet before generating the PDF:
saplist2pdf input.xlsx --check
Expected input
The Excel file must contain at least one row and these columns:
ModultitelLeistungsnummerName der PrüfungBezugsobjektPrüfenderSemesterStudienfachMatrikelnummerNameVersuch
Furthermore, it is expected, that the all rows for the columns mentioned above, except the last three, are the same.
Project details
Release history Release notifications | RSS feed
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 saplist2pdf_sebastian_stigler-0.2.0.tar.gz.
File metadata
- Download URL: saplist2pdf_sebastian_stigler-0.2.0.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f09a0cc346f413aa24f949ed39d261faf51949013b8fb6db88ddfafacbd545
|
|
| MD5 |
d3e173a68f1ce8208148c8708e39dcdb
|
|
| BLAKE2b-256 |
4994d7021ba949370d15dad6c74e745a7ff1bf5a8b78a05830a11085d544a37e
|
File details
Details for the file saplist2pdf_sebastian_stigler-0.2.0-py3-none-any.whl.
File metadata
- Download URL: saplist2pdf_sebastian_stigler-0.2.0-py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dc5bf24c854cbe6e171e60a00f3bf17f2526d59064ba2b27e326842154d3412
|
|
| MD5 |
601ba704436045547fd680a11d1c3838
|
|
| BLAKE2b-256 |
73fc91ae089824879ce729e363da73bfa3cfd0c4c11693145a48c839ded6cec6
|