Skip to main content

MasterCard file utilities

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.

Metadata

Release files for mciutil 0.7.1

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

Source distribution (sdist)

Source distribution for mciutil 0.7.1
File Size Uploaded
mciutil-0.7.1.tar.gz 49.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mciutil 0.7.1
File Interpreter ABI Platform
mciutil-0.7.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 70.0 kB

Release files / mciutil-0.7.1.tar.gz

Download URL mciutil-0.7.1.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8e2d7d126005243ebc36d9661f20fe109bd52b60c76fc72ac328f910c1028042
BLAKE2b-256 checksum
How to use checksums
86507ed1d7470122b94bbd7b2ee7b2f41be62604c93a65a2de03f2b2265043ae
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mciutil-0.7.1-py2.py3-none-any.whl

Download URL mciutil-0.7.1-py2.py3-none-any.whl
Size 20.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
98dfe943853d898fa84ef20749f3e30fd2b0a6c6c61acd452bbbfbfebb44e190
BLAKE2b-256 checksum
How to use checksums
c7bd0c920e528e6149d64164276fc5e1a66730ac00a14679b16788a24814e53e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.6.0

2 release files

0.5.0

3 release files

0.4.9

3 release files

0.4.8

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

0.4.2

2 release files

0.4.1

2 release files

0.4.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