Aqua-parser
Description
Aqua-parser is a package for extracting data from structured reports in pdf format.
How to use
First of all, you need to install the package:
pip install aqua-parser
Next, the package must be imported into your project:
import aquaparser
To extract the data, you just need to pass the file to the function:
measurement = aquaparser.parse('document.pdf')
The function will return you the dataclass "Measurement" object:
@dataclass
class Measurement:
title: MeasurementTitle
toc: list[MeasurementTOC]
@dataclass
class MeasurementTitle:
measurement_object: str
project: str
report_date: datetime
responsible_person: str
@dataclass
class MeasurementTOC:
smd: str
status: Optional[str]
value_description: Optional[str]
single_value: Optional[str]
trial_object: Optional[str]
Metadata
Release files for aqua-parser 0.2.1
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 |
|---|---|---|---|---|
| aqua-parser-0.2.1.tar.gz | 5.7 kB | Without provenance | Details for aqua-parser-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aqua_parser-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for aqua_parser-0.2.1-py3-none-any.whl |
Total release size: 11.3 kB
Release files / aqua-parser-0.2.1.tar.gz
| Download URL | aqua-parser-0.2.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08d20fb97d1e2634802efa5f7e40fc3ad73fbeab50cc23830eb7ce2b31b9380a
|
|
BLAKE2b-256 checksum How to use checksums |
2212d53c3940b5fd8e78b1639ae74dc7ebb93bc7d02ad610e12e9214cde7f7af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / aqua_parser-0.2.1-py3-none-any.whl
| Download URL | aqua_parser-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc6ef2c738d105dcfbae6ef21c694f516fb883aad0a427594be1ff2772fd7c79
|
|
BLAKE2b-256 checksum How to use checksums |
b45b704eda078c4bf1226f56c31efe1c61ab70b6e2e1e9efbd81339b3976292d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for aqua-parser 0.2.1
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.