A toolbox to check whether files follow a predefined schema.
Project description
igs-toolbox
Description
This Python package contains tools to check whether files follow predefined schemas of the IGS project. Currently, only a JSON validator is implemented, but the idea is that it will be extended to more applications related to the IGS project in the future.
Installation
igs-toolbox is installable using pip.
pip install igs-toolbox
Usage
All tools can be used directly through the commandline.
jsonChecker
usage: jsonChecker [-h] -i INPUT
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Filepath to json file.
readQR
The method readQR reads the Meldungsquittung and extracts the MeldungsID.
Poppler is required to read the pdfs
conda install poppler
or
mamba install poppler
or
apt install poppler-utils
usage: readQR [-h] [--version] [file ...]
positional arguments:
file
options:
-h, --help show this help message and exit
--version show program's version number and exit
Example:
readQR *.pdf
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
igs_toolbox-1.4.8-py3-none-any.whl
(403.6 kB
view details)
File details
Details for the file igs_toolbox-1.4.8-py3-none-any.whl
.
File metadata
- Download URL: igs_toolbox-1.4.8-py3-none-any.whl
- Upload date:
- Size: 403.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d48c1c07516205fb0e5a389a181a8d6304251bbaaecd1f5e0f5433ec01c4cea |
|
MD5 | e2a7ff16f53648aaf220eb4b76f5791a |
|
BLAKE2b-256 | 675c25f01bfd7966e6de4efec6d18cc010d5e8e7b469610de85818020bc8e66e |