-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up the project for PyPi deployment on pip.
Updated README Created LICENSE
- Loading branch information
Showing
21 changed files
with
830 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
requests>=2.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/usr/bin/env python | ||
|
||
"""The setup script.""" | ||
from setuptools import setup, find_packages | ||
|
||
with open('README.md') as readme_file: | ||
readme = readme_file.read() | ||
|
||
|
||
def requirements(): | ||
"""Build the requirements list for this project""" | ||
requirements_list = [] | ||
|
||
with open('requirements.txt') as requirements: | ||
for install in requirements: | ||
requirements_list.append(install.strip()) | ||
|
||
return requirements_list | ||
|
||
|
||
requirements = requirements() | ||
|
||
setup( | ||
name='venmo-api', | ||
version='0.1.0', | ||
author="Mark Mohades", | ||
author_email='mohades@umd.edu', | ||
license="GNU General Public License v3", | ||
url='https://github.com/mmohades/venmo', | ||
keywords='Python Venmo API wrapper', | ||
description="A simple Python wrapper for the Venmo API", | ||
long_description=readme, | ||
long_description_content_type="text/markdown", | ||
packages=find_packages(), | ||
install_requires=requirements, | ||
python_requires='>=3.6', | ||
include_package_data=True, | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Operating System :: OS Independent', | ||
'Natural Language :: English', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Internet', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from .models.exception import * | ||
|
||
from .utils import (string_to_timestamp, get_phone_model_from_json, random_device_id, deserialize, wrap_callback, | ||
warn, confirm) | ||
from .utils.api_client import ApiClient | ||
|
||
from .models.json_schema import JSONSchema | ||
from .models.user import User | ||
from .models.transaction import Transaction | ||
from .models.payment_method import PaymentMethod, PaymentRole, PaymentPrivacy | ||
|
||
from .apis.auth_api import AuthenticationApi | ||
from .apis.payment_api import PaymentApi | ||
from .apis.user_api import UserApi | ||
|
||
from .venmo import Client | ||
|
||
|
||
__all__ = ["AuthenticationFailedError", "InvalidArgumentError", "InvalidHttpMethodError", "ArgumentMissingError", | ||
"JSONDecodeError", "ResourceNotFoundError", "HttpCodeError", "NoPaymentMethodFoundError", | ||
"string_to_timestamp", "get_phone_model_from_json", "random_device_id", "deserialize", "wrap_callback", | ||
"warn", "confirm", | ||
"JSONSchema", "User", "Transaction", "PaymentMethod", "PaymentRole", "PaymentPrivacy", | ||
"ApiClient", "AuthenticationApi", "UserApi", "PaymentApi", | ||
"Client" | ||
] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters