A simple parser for files in the BAI lockbox format in order to extract checks
from them.
## Installation
To install `bai-lockbox`:
```
$ pip install bai-lockbox
```
## Warning
Please be aware that this code was written to the spec that our bank uses, and
has been tested with data that has come from them. This means that there may be
subtle (and maybe some not-so-subtle) differences between the the data we expect
and the data you get. If our parser doesn't read your files, open an issue or
submit a PR. We'd really appreciate it!
## Usage
```python
from lockbox.parser import LockboxFile
with open('/path/to/file', 'r') as inf:
lockbox_file = LockboxFile.from_file(inf)
for check in lockbox_file.checks:
print('Received ${} from {} on {}'.format(
check.amount, check.sender, check.date
))
```
More information can be found in the docs which can be build from source:
```
$ cd path/to/bai-lockbox/docs
$ make html
```
Maintained by [Jonathan Friedman @moofive](https://www.github.com/moofive/)
Metadata
Release files for bai-lockbox 0.0.7
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 |
|---|---|---|---|---|
| bai-lockbox-0.0.7.tar.gz | 7.6 kB | Without provenance | Details for bai-lockbox-0.0.7.tar.gz |
Release files / bai-lockbox-0.0.7.tar.gz
| Download URL | bai-lockbox-0.0.7.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27a56002b1aec4fb83d4bbfcce2ae7d565244d888a8c2f3d025ebeaa03b3f026
|
|
BLAKE2b-256 checksum How to use checksums |
4fc35639b1ba5f5b79128f7a8d01c0b9248de569ff49460dcc218cf0d119877b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bai-lockbox 0.0.7
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.