diff --git a/.gitignore b/.gitignore index cd6ee51..3a63ea6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,11 @@ bin +build include lib .env .DS_Store .mm +.monarchmoney.egg-info .vscode *.pyc __pycache__ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..19b215b --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +builddist: + python setup.py check + python setup.py sdist + python setup.py bdist_wheel --universal + +install: + pip install . + +twine: + twine upload dist/monarchmoney* + +uninstall: + pip uninstall monarchmoney + +clean: + rm -fR build dist monarchmoney.egg-info monarchmoney/__pycache__ \ No newline at end of file diff --git a/README.md b/README.md index 671405c..8ab5eae 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,9 @@ Clone this repository from Git `git clone https://github.com/hammem/monarchmoney.git` -## From Tarball - -Download it from GitHub - -`curl -OJL https://github.com/hammem/monarchmoney/tarball/master` - -and then install it: - -`python setup.py install` +## Via `pip` +`pip install monarchmoney` # Instantiate & Login There are two ways to use this library: interactive and non-interactive. @@ -53,7 +46,8 @@ mm.multi_factor_authenticate(email, password, multi_factor_code) As of writing this README, the following methods are supported: -- `get_accounts` - all the accounts linked to Monarch Money +- `get_accounts` - all the accounts linked to Monarch Money +- `get_account_holdings` - all of the securities in a brokerage or similar type of account - `get_subscription_details` - the Monarch Money account's status (e.g. paid or trial) - `get_transactions` - transaction data, defaults to returning the last 100 transactions; can also be searched by date range - `get_transaction_categories` all of the categories configured in the account diff --git a/monarchmoney/__init__.py b/monarchmoney/__init__.py index 1764c4e..fc2a658 100644 --- a/monarchmoney/__init__.py +++ b/monarchmoney/__init__.py @@ -1 +1,10 @@ +""" +monarchmoney + +A Python API for interacting with MonarchMoney. +""" + from .monarchmoney import LoginFailedException, MonarchMoneyEndpoints, MonarchMoney, RequireMFAException + +__version__ = "0.1.0" +__author__ = "hammem" \ No newline at end of file diff --git a/setup.py b/setup.py index 5fb648f..b64b863 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="monarchmoney", - version="1.0", + version="0.1.0", description="Monarch Money API for Python", long_description=open("README.md", "r").read(), long_description_content_type="text/markdown", @@ -17,10 +17,17 @@ author="hammem", author_email="hammem@users.noreply.github.com", license="MIT", - classifiers=[], keywords="monarch money, financial, money, personal finance", install_requires=install_requires, + packages=['monarchmoney'], include_package_data=True, zip_safe=False, platforms="any", + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: Financial and Insurance Industry', + 'License :: OSI Approved :: MIT License', + 'Topic :: Office/Business :: Financial', + ], )