Utility Bill Processor
Project description
utility_bill_processor
This project uses the Landing.AI Python library to parse and extract data from Greek utility bills. This may be part of a larger workflow, that stores the extracted data in a database, in order to perform data analysis. Although the package was tested using greek utility bills, it should also work with foreign utility bills.
The package uses GitHub Actions for automated regression testing upon every push/pull event, as well as an automated CI/CD pipeline to build and publish the package to TestPyPi. If the publication is successful, then the package is also uploaded to PyPi.
Please note that the VISION_AGENT_API_KEY environment variable must be set to the API key value in order for the Landing.AI python library to work.
A caching mechanism has been added (use_cache option), which instructs the processor to look for a corresponding parse/extract results file in the 'output' directory. These files are the JSON dumps of the Landing.AI client's responses during normal operation. If use_cache is True and such a file is found, then the file contents are used by the processor, instead of calling the Landing.AI client. This is particularly useful during development, testing and demonstrations, since the flow is faster and no credits are consumed. The processor keeps an MD5 sum and the schema of all invoices processed, so it can automatically determine whether the cache is dirty and if so, try to use the Landing.AI client to fetch fresh results.
Installation
You can install the package via pip: pip install iraklis7_ubp
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 iraklis7_ubp-1.2.1.tar.gz.
File metadata
- Download URL: iraklis7_ubp-1.2.1.tar.gz
- Upload date:
- Size: 17.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c5b407717c14cac685891d3f2b7ae164b6fc850c4ef8cb8bd36218871c00457
|
|
| MD5 |
da839882faccc5c3e931155ea423edb6
|
|
| BLAKE2b-256 |
40dca166f7ea5e631090a3e7fafddeeaf6d53a704674d62dca3a68d3858e25f5
|
Provenance
The following attestation bundles were made for iraklis7_ubp-1.2.1.tar.gz:
Publisher:
publish-app.yml on iraklis7/iraklis7_ubp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iraklis7_ubp-1.2.1.tar.gz -
Subject digest:
4c5b407717c14cac685891d3f2b7ae164b6fc850c4ef8cb8bd36218871c00457 - Sigstore transparency entry: 779004018
- Sigstore integration time:
-
Permalink:
iraklis7/iraklis7_ubp@3513558077138361664dd3414995058c55b9265c -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/iraklis7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-app.yml@3513558077138361664dd3414995058c55b9265c -
Trigger Event:
push
-
Statement type:
File details
Details for the file iraklis7_ubp-1.2.1-py3-none-any.whl.
File metadata
- Download URL: iraklis7_ubp-1.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.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d2d6ee9d7d225aaad24ffe1a2b624039b270a8f547a1ad02374d9fc69d93514
|
|
| MD5 |
13ee26e67cb5412ee7c377bc004a3298
|
|
| BLAKE2b-256 |
799d236a4571fda469ee4c2b8a8c0a4ee9aeeb247ead501bbf31662139ecffb5
|
Provenance
The following attestation bundles were made for iraklis7_ubp-1.2.1-py3-none-any.whl:
Publisher:
publish-app.yml on iraklis7/iraklis7_ubp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iraklis7_ubp-1.2.1-py3-none-any.whl -
Subject digest:
2d2d6ee9d7d225aaad24ffe1a2b624039b270a8f547a1ad02374d9fc69d93514 - Sigstore transparency entry: 779004019
- Sigstore integration time:
-
Permalink:
iraklis7/iraklis7_ubp@3513558077138361664dd3414995058c55b9265c -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/iraklis7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-app.yml@3513558077138361664dd3414995058c55b9265c -
Trigger Event:
push
-
Statement type: