Skip to main content

Python package for working with payment card systems

Project description

Cardutil is a python package for working with payment card systems.

  • Supports python 3.6 and later.

  • Pythonic interfaces

  • Core library has zero package dependencies.

  • Low memory usage

  • Download from pypi

  • Documentation available at readthedocs

  • Source hosted at Bitbucket

https://img.shields.io/pypi/l/cardutil.svg Pypi download https://img.shields.io/pypi/wheel/cardutil.svg https://img.shields.io/pypi/implementation/cardutil.svg https://img.shields.io/pypi/status/cardutil.svg https://img.shields.io/pypi/dm/cardutil.svg https://img.shields.io/pypi/pyversions/cardutil.svg Documentation Status

Features

  • ISO8583 message parsing

  • Mastercard IPM file reader/writer/encoder

  • Check digit calculator

  • Visa PVV calculator

Contributing

install

$ git clone https://bitbucket.org/hoganman/cardutil.git
$ pip install -e ".[test]"

unit test

$ pytest

coverage

$ coverage run -m pytest
$ coverage report -m
$ coverage html
$ open htmlcov/index.html

docs

$ pip install -e ".[docs]"
$ make html -C ./docs
$ open ./docs/build/html/index.html

release

$ bumpversion (patch|minor|major)
$ git push --follow-tags

acknowledgements

The python hexdump library is embedded in this package. Many thank to Anatoly Techtonik <techtonik@gmail.com> This library is a life saver for debugging issues with binary data. Available at Pypi:hexdump.

The iso8583 module in cardutil was inspired by the work of Igor V. Custodio from his original ISO8583 parser. Available at Pypi:ISO8583-Module.

Mastercard is a registered trademark of Mastercard International Incorporated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cardutil-0.1.8.tar.gz (28.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page