Skip to main content

fyle-bank-feed-parser-sdk-py

test pythonpublish

Bank feeds parsers collection.

Usage

To use the VCF parser, use the VCFParser class:

from card_data_parsers import VCFParser, ParserError

try:
  with open(dir + '/input.vcf') as input_file:
    result = VCFParser.parse(
      file_obj=input_file,
      account_number_mask_begin=4,
      account_number_mask_end=4
    )
  print(result)
except ParserError as e:
  print(f'Omg! error {e}')

Similarly, you can use AmexParser, CDFParser, S3DFParser and HappayParser for the right file types.

Development

pip install -r requirements.txt

Check implemented parsers for examples.

Run tests

chmod +x test.sh

./test.sh

Releasing a new version

To release new version to Pypi:

  • Create a new release here. OR
  • Create a git tag and push that tag(after merge) with version number like:
    git tag v0.1.0
    git push origin v0.1.0
    

Versioning semantics

The parse method is supposed to return a list of transactions. This is a list of python dict objects that looks like this:

[{"bank_name": "Test BANK", "vendor": "Test", "sync_type": "BANK FEED - VCF", "transaction_type": "debit", "currency": "EUR", "amount": "124.74", "transaction_date": "2018-11-30T10:00:00.000000Z", "account_number": "4142********6333", "transaction_dt": "2018-11-30T10:00:00.000000Z", "external_id": "b2a242d1d9814394b594044b77f36f2f"}]

If there is any non-backward compatible change to this structure e.g. a key is deleted, then bump up major number. Otherwise, bump up minor number.

Metadata

Release files for card-data-parsers 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for card-data-parsers 0.17.0
File Size Uploaded
card_data_parsers-0.17.0.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for card-data-parsers 0.17.0
File Interpreter ABI Platform
card_data_parsers-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.1 kB

Release files / card_data_parsers-0.17.0.tar.gz

Download URL card_data_parsers-0.17.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a6ee5066f93ffafcf2e66466efead2eb87e2251ecf16fff04e599afe87fbad2
BLAKE2b-256 checksum
How to use checksums
4d1c13886f9a1e923a65050b6bce550f1d96ce2f95650ce90887b888b573a37b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / card_data_parsers-0.17.0-py3-none-any.whl

Download URL card_data_parsers-0.17.0-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4eea08a0fc47d2efc29e95fe529ae1944046e9e5751cc7470dc64820cc8bdbaa
BLAKE2b-256 checksum
How to use checksums
b5d270ae719cde5fda93ab996c88d8e26a3411005fec7be4a3a0b8495e76a017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.17.0 This release

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page