Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for bank_card, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size bank_card-1.0.5-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bank_card-1.0.5.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page