diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0b7b4ff --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2013 Vincent Catalano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/authorize/__init__.py b/py-authorize/__init__.py similarity index 100% rename from authorize/__init__.py rename to py-authorize/__init__.py diff --git a/authorize/address.py b/py-authorize/address.py similarity index 100% rename from authorize/address.py rename to py-authorize/address.py diff --git a/authorize/apis/__init__.py b/py-authorize/apis/__init__.py similarity index 100% rename from authorize/apis/__init__.py rename to py-authorize/apis/__init__.py diff --git a/authorize/apis/address_api.py b/py-authorize/apis/address_api.py similarity index 100% rename from authorize/apis/address_api.py rename to py-authorize/apis/address_api.py diff --git a/authorize/apis/authorize_api.py b/py-authorize/apis/authorize_api.py similarity index 100% rename from authorize/apis/authorize_api.py rename to py-authorize/apis/authorize_api.py diff --git a/authorize/apis/bank_account_api.py b/py-authorize/apis/bank_account_api.py similarity index 100% rename from authorize/apis/bank_account_api.py rename to py-authorize/apis/bank_account_api.py diff --git a/authorize/apis/base_api.py b/py-authorize/apis/base_api.py similarity index 100% rename from authorize/apis/base_api.py rename to py-authorize/apis/base_api.py diff --git a/authorize/apis/batch_api.py b/py-authorize/apis/batch_api.py similarity index 100% rename from authorize/apis/batch_api.py rename to py-authorize/apis/batch_api.py diff --git a/authorize/apis/credit_card_api.py b/py-authorize/apis/credit_card_api.py similarity index 100% rename from authorize/apis/credit_card_api.py rename to py-authorize/apis/credit_card_api.py diff --git a/authorize/apis/customer_api.py b/py-authorize/apis/customer_api.py similarity index 100% rename from authorize/apis/customer_api.py rename to py-authorize/apis/customer_api.py diff --git a/authorize/apis/payment_profile_api.py b/py-authorize/apis/payment_profile_api.py similarity index 100% rename from authorize/apis/payment_profile_api.py rename to py-authorize/apis/payment_profile_api.py diff --git a/authorize/apis/recurring_api.py b/py-authorize/apis/recurring_api.py similarity index 100% rename from authorize/apis/recurring_api.py rename to py-authorize/apis/recurring_api.py diff --git a/authorize/apis/transaction_api.py b/py-authorize/apis/transaction_api.py similarity index 100% rename from authorize/apis/transaction_api.py rename to py-authorize/apis/transaction_api.py diff --git a/authorize/bank_account.py b/py-authorize/bank_account.py similarity index 100% rename from authorize/bank_account.py rename to py-authorize/bank_account.py diff --git a/authorize/batch.py b/py-authorize/batch.py similarity index 100% rename from authorize/batch.py rename to py-authorize/batch.py diff --git a/authorize/configuration.py b/py-authorize/configuration.py similarity index 100% rename from authorize/configuration.py rename to py-authorize/configuration.py diff --git a/authorize/credit_card.py b/py-authorize/credit_card.py similarity index 100% rename from authorize/credit_card.py rename to py-authorize/credit_card.py diff --git a/authorize/customer.py b/py-authorize/customer.py similarity index 100% rename from authorize/customer.py rename to py-authorize/customer.py diff --git a/authorize/environment.py b/py-authorize/environment.py similarity index 100% rename from authorize/environment.py rename to py-authorize/environment.py diff --git a/authorize/exceptions.py b/py-authorize/exceptions.py similarity index 100% rename from authorize/exceptions.py rename to py-authorize/exceptions.py diff --git a/authorize/recurring.py b/py-authorize/recurring.py similarity index 100% rename from authorize/recurring.py rename to py-authorize/recurring.py diff --git a/authorize/response_parser.py b/py-authorize/response_parser.py similarity index 100% rename from authorize/response_parser.py rename to py-authorize/response_parser.py diff --git a/authorize/schemas.py b/py-authorize/schemas.py similarity index 100% rename from authorize/schemas.py rename to py-authorize/schemas.py diff --git a/authorize/transaction.py b/py-authorize/transaction.py similarity index 100% rename from authorize/transaction.py rename to py-authorize/transaction.py diff --git a/authorize/xml_data.py b/py-authorize/xml_data.py similarity index 100% rename from authorize/xml_data.py rename to py-authorize/xml_data.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3a7efe5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +colander>=1.0 +unittest2==0.5.1 +sphinx==1.1.3 \ No newline at end of file diff --git a/authorize/tests/__init__.py b/tests/__init__.py similarity index 100% rename from authorize/tests/__init__.py rename to tests/__init__.py diff --git a/authorize/tests/test_address_api.py b/tests/test_address_api.py similarity index 100% rename from authorize/tests/test_address_api.py rename to tests/test_address_api.py diff --git a/authorize/tests/test_bank_account_api.py b/tests/test_bank_account_api.py similarity index 100% rename from authorize/tests/test_bank_account_api.py rename to tests/test_bank_account_api.py diff --git a/authorize/tests/test_batch_api.py b/tests/test_batch_api.py similarity index 100% rename from authorize/tests/test_batch_api.py rename to tests/test_batch_api.py diff --git a/authorize/tests/test_credit_card_api.py b/tests/test_credit_card_api.py similarity index 100% rename from authorize/tests/test_credit_card_api.py rename to tests/test_credit_card_api.py diff --git a/authorize/tests/test_customer_api.py b/tests/test_customer_api.py similarity index 100% rename from authorize/tests/test_customer_api.py rename to tests/test_customer_api.py diff --git a/authorize/tests/test_live_address.py b/tests/test_live_address.py similarity index 100% rename from authorize/tests/test_live_address.py rename to tests/test_live_address.py diff --git a/authorize/tests/test_live_bank_account.py b/tests/test_live_bank_account.py similarity index 100% rename from authorize/tests/test_live_bank_account.py rename to tests/test_live_bank_account.py diff --git a/authorize/tests/test_live_batch.py b/tests/test_live_batch.py similarity index 100% rename from authorize/tests/test_live_batch.py rename to tests/test_live_batch.py diff --git a/authorize/tests/test_live_credit_card.py b/tests/test_live_credit_card.py similarity index 100% rename from authorize/tests/test_live_credit_card.py rename to tests/test_live_credit_card.py diff --git a/authorize/tests/test_live_customer.py b/tests/test_live_customer.py similarity index 100% rename from authorize/tests/test_live_customer.py rename to tests/test_live_customer.py diff --git a/authorize/tests/test_live_recurring.py b/tests/test_live_recurring.py similarity index 100% rename from authorize/tests/test_live_recurring.py rename to tests/test_live_recurring.py diff --git a/authorize/tests/test_live_transaction.py b/tests/test_live_transaction.py similarity index 100% rename from authorize/tests/test_live_transaction.py rename to tests/test_live_transaction.py diff --git a/authorize/tests/test_recurring_api.py b/tests/test_recurring_api.py similarity index 100% rename from authorize/tests/test_recurring_api.py rename to tests/test_recurring_api.py diff --git a/authorize/tests/test_schemas.py b/tests/test_schemas.py similarity index 100% rename from authorize/tests/test_schemas.py rename to tests/test_schemas.py diff --git a/authorize/tests/test_transaction_api.py b/tests/test_transaction_api.py similarity index 100% rename from authorize/tests/test_transaction_api.py rename to tests/test_transaction_api.py diff --git a/authorize/tests/test_xml_data.py b/tests/test_xml_data.py similarity index 100% rename from authorize/tests/test_xml_data.py rename to tests/test_xml_data.py