Skip to main content
Help us improve Python packaging – donate today!

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 https://github.com/xjw0914/bank-card.git
$ cd bank-card
$ python setup.py 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'https://apimg.alipay.com/combo.png?d=cashier&t=CEB', 'card_type_name': u'\u4fe1\u7528\u5361', 'validated': True, 'bank': u'CEB'}

### License

Apache-2.0 (Here)

Release history Release notifications

This version
History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

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 Mar 4, 2017
bank_card-1.0.5.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None Mar 4, 2017

Supported by

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