nacha
NACHA is a fixed sized record format used to represent financial transactions composed like this:
FileHeader
CompanyBatchHeader
EntryDetail
EntryDetailAddendum
...
...
CompanyBatchControl
...
FileControl
which we express using bryl. Writing is done like this:
with open('sample.nacha', 'w') as fo:
writer = nacha.Writer(fo)
with writer.begin_file(
...
):
with writer.begin_company_batch(
...
):
writer.entry(...):
...
...
Reading is done by iterating records like this:
with open('sample.nacha', 'r') as fo:
reader = Reader(fo, include_terminal=True)
for record, terminal in reader:
...
Or structured like this:
with open('sample.nacha', 'r') as fo:
reader = Reader(fo)
reader.file_header()
for company_batch_header in reader.company_batches():
for entry_detail, entry_addenda in reader.entries():
...
reader.company_batch_control()
reader.file_control()
use
$ pip install nacha3
dev
$ git clone https://github.com/rockxraj68/nacha3.git
$ cd nacha
$ mkvirtualenv nacha
(nacha)$ pip install -e .[tests]
(nacha)$ py.test tests.py --cov=nacha --cov-report term-missing
Metadata
Release files for nacha3 0.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 |
|---|---|---|---|---|
| nacha3-0.0.2.tar.gz | 14.5 kB | Without provenance | Details for nacha3-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nacha3-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for nacha3-0.0.2-py3-none-any.whl |
Total release size: 39.6 kB
Release files / nacha3-0.0.2.tar.gz
| Download URL | nacha3-0.0.2.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71892ddf54149152dd3d5471322c8b4e0b9419a1666ee45363193009ef38a991
|
|
BLAKE2b-256 checksum How to use checksums |
385eec77ea43686c51452fa079a075e4829790e0c5ee4316a63fdaae44748052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / nacha3-0.0.2-py3-none-any.whl
| Download URL | nacha3-0.0.2-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1219434b0ac124cfb6755d8ed03034e3e43ad16f0761901e037a3a159155b930
|
|
BLAKE2b-256 checksum How to use checksums |
c8c18fb016620d29325cf77111e5431bd3c80d62140d9e8f48ce7f3c190489ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Security for nacha3 0.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.