Skip to main content

Get bank card info according to bank card number!

Project description

Get bank card info according to bank card number!

### Installation

bank-card is hosted on PYPI and can be installed as such:

$ pip install bank-card

Alternatively, you can also get the latest source code from GitHub and install it manually:

$ git clone
$ cd bank-card
$ python install

For update:

$ pip install bank-card --upgrade

### Basic Usage

In [1]: from bank_card import BankCard

In [2]: c = BankCard(6225700000000000)

In [3]: c.bank_name
Out[3]: u'\u4e2d\u56fd\u5149\u5927\u94f6\u884c'

In [4]: print c.bank_name

In [5]: print c.to_dict()
{'bank_name': u'\u4e2d\u56fd\u5149\u5927\u94f6\u884c', 'card_type': u'CC', 'bank_image': u'', 'card_type_name': u'\u4fe1\u7528\u5361', 'validated': True, 'bank': u'CEB'}

### License

Apache-2.0 (Here)

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bank_card-1.0.5-py3-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel py3
bank_card-1.0.5.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None

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