Skip to main content

Python module for credit card BIN/IIN lookup.

Project description

# Python BINlist
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/86eb561a4ca74b038b058bc12e8e0409)](https://www.codacy.com/app/PatDuJour/python-binlist?utm_source=github.com&utm_medium=referral&utm_content=PatDuJour/python-binlist&utm_campaign=Badge_Grade)

The Python BIN-list library provides convinent PCI compliant methods to lookup credit card BIN/IIN to help you
understand your credit card charges by enriching your customer's card data while maintaing (outside of) PCI compliance.
It includes a pre-defined set of classes that represents Card Issuing Networks(American Express, Visa, etc.) with the most up-to-date
pulished IIN rules.


## Installation
BINlist is distributed on PyPI. The best way to install it is with pip:

`pip install binlist`

If you want to contribute and need access to the source code, then install from source with:

`python setup.py install`

## Requirements
* Python 2.7+ or Python 3.4+

## Usage
```
from binlist import BIN

# lookup card number's issuing network
BIN("5454").lookup()
```

## Development
Show help message:

`make help`

Run tests the default Python

`make test`

Run all tests on all supported Python versions:

`make test-all`

Run linter(flake8) with

`make lint`



=======
History
=======

0.1.0 (2019-02-25)
------------------

* First release on PyPI.


Project details


Release history Release notifications

Download files

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

Files for binlist, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size binlist-0.1.1-py2.py3-none-any.whl (9.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size binlist-0.1.1.tar.gz (11.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page