polyspace-report2excel
polyspace-report2excel is a python module which adds the possibility to read a polyspace report and export misra or run-time results in an excel file for easier analyse.
Package installation
pip install polyspace-report2excel
Usage
Export polyspace data in an HTML report or RTF report then run export-all.py, you can use --help.
Script was made for polyspace 2018 but you can run it with polyspace 2014
by adding --poly14 argument.
By default it export all tables to excel and generate one file per Polyspace chapter. Use arguments to filter what you need.
⚠️ by converting RTF file you must precise --runtime or --misra
Usage example with the pip package
p2e input.html output-folder/
p2e input.rtf ouput-folder/ --runtime
Usage example by cloning the repository
If you don't want to install the package polyspace-report2excel, first install the dependencies.
pip install .
Then, you can run:
python src/p2e/main.py input.html ouput-folder/
python src/p2e/main.py input.rtf ouput-folder/ --runtime
Arguments
--misrawill export misra report only.--runtimewill export run-time report only (ignored if--misra).-ywill force overwrite if output files already exist.--poly14will read report from polyspace 2014--csvwill export data in CSV instead of xlsx
Create you own export script
You can also create you own script if needed. With HTMLReader you can
extract all tables from report to python variables, do some operations
and finally write to excel with exportxlsx. You can use export-all.py
as example or see docstrings inside HTMLReader or exportxlsx.
Metadata
Release files for polyspace-report2excel 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polyspace-report2excel-1.0.2.tar.gz | 47.1 kB | Without provenance | Details for polyspace-report2excel-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyspace_report2excel-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for polyspace_report2excel-1.0.2-py3-none-any.whl |
Total release size: 83.9 kB
Release files / polyspace-report2excel-1.0.2.tar.gz
| Download URL | polyspace-report2excel-1.0.2.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f3ae9a4b24927da460396ac0a335a91878c5d370ad027d554584bb0cc77bffe
|
|
BLAKE2b-256 checksum How to use checksums |
fa9172c45e62e3faa8a5f9e19fabc1d66e9b6a48751814967088078221fcfab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / polyspace_report2excel-1.0.2-py3-none-any.whl
| Download URL | polyspace_report2excel-1.0.2-py3-none-any.whl |
|---|---|
| Size | 36.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f44dd1e8b31aac03e162fa107c17099feb4ffb4218960b33c369ed611909557
|
|
BLAKE2b-256 checksum How to use checksums |
1d419522ddad9504b4e32d7e8e3ce143c9a3c63b89688d92e40ea16b5db7f78a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for polyspace-report2excel 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.