Metadata-Version: 1.1
Name: python-cards
Version: 1.3
Summary: Set of classes for validating, identifying and formatting do credit cards and debit cards.
Home-page: https://github.com/mrlucascardoso/pycards
Author: Lucas Cardoso
Author-email: mr.lucascardoso@gmail.com
License: MIT License
Description: # Pycards
        
        [![Build Status](https://travis-ci.org/MrLucasCardoso/pycards.svg?branch=master)](https://travis-ci.org/MrLucasCardoso/pycards)  [![Code Health](https://landscape.io/github/MrLucasCardoso/pycards/master/landscape.svg?style=flat)](https://landscape.io/github/MrLucasCardoso/pycards/master) [![Coverage Status](https://coveralls.io/repos/github/MrLucasCardoso/pycards/badge.svg?branch=master)](https://coveralls.io/github/MrLucasCardoso/pycards?branch=master)
        
        Set of classes for validating, identifying and formatting do credit cards and debit cards.
        
        ```shell
        $ pip install python-cards
        ```
        
        #### Example
        
        ```python
        from pycards import CreditCard
        
        card = CreditCard(number='375371850275506',
                          cardholder='Charles Smith',
                          expire_month='3',
                          expire_year='2017',
                          code=2887)
        
        if card.is_valid:
        
            print(card.brand)         # Amex
            print(card.cardholder)    # Charles Smith
            print(card.number)        # 375371850275506
            print('Expires: {} ({})'  # Expires: 03/17 (2017-03-01)
                  .format(card.expires_string, card.expires))
            print('{}: {}'            # CVV: 2887
                  .format(card.code_name, card.code))
            if card.is_expired:
                print('EXPIRED')      # EXPIRED
        ```
        
        **Note:** Debit cards not avaliable yet.
        
        ### Supported Cards
        
         * Visa -> Visa
         * American Expiress -> Amex
         * Mastercard -> Master
         * Discover -> Discover
         * Diners Club -> Diners 
         * JCB (Japan Credit Bureau) -> JCB
         * Aura -> Aura
         * ELO -> Elo
        
Keywords: creditcard
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
