Skip to main content

MasterCard file utilities

Project description

https://img.shields.io/travis/adelosa/mciutil.svg https://img.shields.io/pypi/v/mciutil.svg https://coveralls.io/repos/adelosa/mciutil/badge.svg?branch=develop&service=github

Set of command line utilities to work with various MasterCard files.

Warning

THIS PACKAGE HAS BEEN DEPRECATED AND WILL NOT BE UPDATED GOING FORWARD

This package was created when I first started learning python. I have learned a lot over the last 4 years and I now see the error in my ways.

Some of the issues with this module that prompted me to rewrite it:

  • memory efficiency - loads entire file into memory for processing. Very ineffient and not very scalable

  • programming interface - mciutil did not consider the developer experience. You have to hack to use the logic elsewhere

  • dependencies - Too many third party modules, with ones that required a compilation. New version is compile free

  • bloat - I used a cookie cutter template when I started and it has stuff I don’t like, value or use.

  • just mastercard - The old module was for mastercard only but I think it makes sense to have a library for all card utils

  • python 2 guff - mciutil works on py2 and 3. There is a lot of gunk in the code to make this work. We live in a py3 world now!

The replacement module is cardutil - see https://cardutil.readthedocs.io It addresses all of the above issues.

why not just update mciutil?

Thats a good question. I think because the new codebase as developed from scratch rather than via changes to the existing one (there is some borrowed code from mciutil). If I just released a new version, anyone leaning on the internal API’s would definetly be in trouble as they are not the same.

Features

Provides the following command line utilities:

  • paramconv: Utility for working with MasterCard MPE parameter extract files

  • mideu: Utility for working with MasterCard IPM files

History

0.6.0 (2018-10-01)

  • Removed dependency on bitarray (no binary wheels)

  • Added details on installation for non-python users

  • 2 years almost since last update!

0.5.0 (2016-10-03)

  • Fixed version display in release version.

  • Removed support for mongo extract

0.4.8 (2016-10-02)

  • added support for latin1 encoding of csv extract

  • fixes to setup process so that mideu.yml file is installed

  • fixed de43 split to allow more formats for different countries

0.4.6 (2016-08-09)

  • added --no1014blocking option to allow processing of VBS structure files.

0.4.5 (2016-08-06)

  • check that all of message consumed by fields otherwise raise exception

  • get rid of a heap of debugging prints that were clogging the output

  • allow freestyle de43 fields with the de43 processor enabled. Use regex rather than string splits

0.4.4-0.4.3 (2016-08-03)

  • Fix issue with mideu when no parameters passed (stack trace)

  • Some more debugging messages provided with -d switch

  • signed the release with key for 0.4.4. need to publish my pub key somewhere..

0.4.2 (2016-03-13)

  • Complete data elements added to default config.

  • Added versioneer support for easier package versions

0.4.1 (2015-12-16)

  • Additional data elements added to default config file.

0.4.0 (2015-10-05)

  • Now supporting python 2.6 (for all those still using RHEL 6)

  • Headers rows in mideu csv extracts don’t work in 2.6

0.3.0 (2015-10-03)

  • added sub commands for mideu

  • mideu now supports IPM encoding conversion between ascii and ebcdic

  • Now faster using list comps instead of slow loops

0.2.0 (2015-08-28)

  • Support for config override for mideu - see usage doco

  • Progress bar while using mideu.. it takes a while

  • Now supports python 3.4, 3.5 and 2.7. Upgrade if you are using 2.6

  • New usage documentation

0.1.0 (2015-08-20)

  • First release.

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

mciutil-0.7.1.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

mciutil-0.7.1-py2.py3-none-any.whl (20.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mciutil-0.7.1.tar.gz.

File metadata

  • Download URL: mciutil-0.7.1.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.4

File hashes

Hashes for mciutil-0.7.1.tar.gz
Algorithm Hash digest
SHA256 8e2d7d126005243ebc36d9661f20fe109bd52b60c76fc72ac328f910c1028042
MD5 3b1a51abb16ec040da9aaa0e7a07ad0a
BLAKE2b-256 86507ed1d7470122b94bbd7b2ee7b2f41be62604c93a65a2de03f2b2265043ae

See more details on using hashes here.

File details

Details for the file mciutil-0.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mciutil-0.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.4

File hashes

Hashes for mciutil-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 98dfe943853d898fa84ef20749f3e30fd2b0a6c6c61acd452bbbfbfebb44e190
MD5 61f51fd972acb1d4e0d6c1ca075f5df7
BLAKE2b-256 c7bd0c920e528e6149d64164276fc5e1a66730ac00a14679b16788a24814e53e

See more details on using hashes here.

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