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.
[![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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
binlist-0.1.1.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file binlist-0.1.1.tar.gz
.
File metadata
- Download URL: binlist-0.1.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c928d1408d58f77f7140d8818375c1551c80c24dae8bfb1933f480372c89a2 |
|
MD5 | 13d28f42b66cf07638abda0be799207f |
|
BLAKE2b-256 | 7e15a6099d8c889c33db2dde863ceb66ea2a04ede14a5e98c77e6b42838c6541 |
File details
Details for the file binlist-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: binlist-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee32e73aa85604c59450e6b2fbf29c6954bf88868a0a4bf2005b384aed0af56c |
|
MD5 | f39cb1be68744d29dc95990621e75569 |
|
BLAKE2b-256 | ed6eaa1027a71d658ecb529d8001b14da6aa4613a6388ee48aa06f9c7bcf4f53 |