Skip to main content

获取中国的银行信息

Project description

可以获得国内银行卡的一些信息。

Install

pip install bankinfo

实例

from bankinfo.validator import BankInfoValidator
bank.validate('6217000130008255555')
{
 'bank': 'CCB', # 银行名称
 'cardType': 'DC', # 信用卡 储蓄卡
 'key': '6217000130008255555',
 'messages': [],
 'stat': 'ok',
 'validated': True
 }

或者

bankinfo 6217000130008255555

Project details


Download files

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

Source Distribution

bankinfo-1.0.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bankinfo-1.0.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file bankinfo-1.0.3.tar.gz.

File metadata

  • Download URL: bankinfo-1.0.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/21.6.0

File hashes

Hashes for bankinfo-1.0.3.tar.gz
Algorithm Hash digest
SHA256 57b5c2201b9876f04132bd4d2aaa189036a94f9f577665116070e843fe83bd8b
MD5 0060ef539d1291f435613cb9eb3d0e99
BLAKE2b-256 7ed468545f0f5db8eaa99a951a5dc8f09a2987366899996a6865b43310d4d304

See more details on using hashes here.

File details

Details for the file bankinfo-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: bankinfo-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/21.6.0

File hashes

Hashes for bankinfo-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 02610e611ee0ded036bd6851157989bfca10f0c9fa4c3059defd3aa0d7282e77
MD5 1489d8ced4d46afb76479cb7bb8a81a7
BLAKE2b-256 1c1c48e0b100df3cc7d04654d85b0b23d40537d54c5d1e0a23cd430a4c87aaf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page