<commit_before>PayPal-Python
=============

This package implements Python's Website Payments Pro in Python. This currently
includes Direct Payments (Credit card payments without a PayPal Account) and
PayPal Express Checkout (Payment via a PayPal account).

This module is best used in conjunction with the 
[official PayPal Documentation](https://www.x.com/community/ppx/documentation#wpp).

*NOTE: This module is not created by, endorsed by, or in any way affiliated
with PayPal*

Requirements
------------

* Python 2.6 or 2.7 (But would be easy to patch for 2.5 and below)

Installation
------------
    
Through pip:
    pip install paypal
or easy_install:
    easy_install paypal
or download the source, un-tar/un-zip it, cd into paypal-python, and:
    python setup.py install
    

Quick Start
-----------

To run test suite:
    
    python tests/runner.py

The meat is in paypal.interface. The docs are in the docstrings and tests.

* Create a paypal.interface.PayPalInterface object
* Pass it configuration kwargs (See tests.interface_factory.get_interface_obj
  for a good example of how this works).
* That interface is how you access PayPal. Take a look at the currently
  implemented methods in paypal.interface.
  <commit_msg>Period.<commit_after>PayPal-Python
=============

This package implements Python's Website Payments Pro in Python. This currently
includes Direct Payments (Credit card payments without a PayPal Account) and
PayPal Express Checkout (Payment via a PayPal account).

This module is best used in conjunction with the 
[official PayPal Documentation](https://www.x.com/community/ppx/documentation#wpp).

*NOTE: This module is not created by, endorsed by, or in any way affiliated
with PayPal.*

Requirements
------------

* Python 2.6 or 2.7 (But would be easy to patch for 2.5 and below)

Installation
------------
    
Through pip:
    pip install paypal
or easy_install:
    easy_install paypal
or download the source, un-tar/un-zip it, cd into paypal-python, and:
    python setup.py install

Quick Start
-----------

To run test suite:
    
    python tests/runner.py

The meat is in paypal.interface. The docs are in the docstrings and tests.

* Create a paypal.interface.PayPalInterface object
* Pass it configuration kwargs (See tests.interface_factory.get_interface_obj
  for a good example of how this works).
* That interface is how you access PayPal. Take a look at the currently
  implemented methods in paypal.interface.
  
{'fraction_non_alphanumeric': 0.09296685529506872, 'fraction_numerical': 0.004850444624090542, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3449382', 'n_tokens_mistral': 703, 'n_tokens_neox': 662, 'n_words': 306}