Skip to main content
# 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.


Metadata

Release files for binlist 0.1.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 binlist 0.1.1
File Size Uploaded
binlist-0.1.1.tar.gz 11.9 kB Details

Built distribution (wheel)

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

Total release size: 21.6 kB

Release files / binlist-0.1.1.tar.gz

Download URL binlist-0.1.1.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c4c928d1408d58f77f7140d8818375c1551c80c24dae8bfb1933f480372c89a2
BLAKE2b-256 checksum
How to use checksums
7e15a6099d8c889c33db2dde863ceb66ea2a04ede14a5e98c77e6b42838c6541
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / binlist-0.1.1-py2.py3-none-any.whl

Download URL binlist-0.1.1-py2.py3-none-any.whl
Size 9.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ee32e73aa85604c59450e6b2fbf29c6954bf88868a0a4bf2005b384aed0af56c
BLAKE2b-256 checksum
How to use checksums
ed6eaa1027a71d658ecb529d8001b14da6aa4613a6388ee48aa06f9c7bcf4f53
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

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