{ "info": { "author": "Itai Shirav", "author_email": "itai@platonix.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "PayPal Reporter\n===============\n\nA python library to generate reports about activity in a PayPal account.\nCurrently supports listing transactions from the previous month.\n\nI was looking for a way to get scheduled monthly summaries from PayPal, but could not find an existing solution.\nSo I created this project, which retrieves transaction information via PayPal's NVP API.\n\n*NOTE: This module is not created by, endorsed by, or in any way affiliated with PayPal.*\n\nInstallation\n------------\n\nTo install paypal_reporter::\n\n pip install paypal_reporter\n\n\nUsage\n-----\n\nTo get a printout of the transactions from the previous month, first create a json file containing your PayPal account's credentials::\n\n {\n \"USER\": \"...\",\n \"PWD\": \"...\",\n \"SIGNATURE\": \"...\"\n }\n\nThen run::\n\n python -m paypal_reporter.transactions \n\n\nLimitations\n-----------\n\nPayPal's API returns a maximum of 100 transactions. Currently this library does not handle pagination, therefore\nonly 100 transactions are retrieved.\n\n\nDependencies\n------------\n\n- `requests `_\n- `tabulate `_\n\n\nAPI\n---\n\nThe following methods are defined in ``paypal_reporter.transactions`` and can be used to create your own reports.\n\nget_transactions(credentials, start_datetime, end_datetime)\n Gets the list of transactions from PayPal in the given date range. ``credentials`` should be a dictionary containing\n ``USER``, ``PWD`` and ``SIGNATURE``. Returns a list of dicts, sorted by ascending timestamp. In case\n of a problem the method raises ``paypal_reporter.transactions.PayPalError``.\n\nprint_transactions(txns, format='simple', columns=DEFAULT_COLUMNS)\n Given a list of transaction dicts, this method formats them using the ``tabulate`` library and prints then to\n stdout. ``format`` could be any format supported by ``tabulate``, such as plain / simple / html / tsv. ``columns``\n is a list of column names to take from the transaction dicts. The default columns are TIMESTAMP, TRANSACTIONID, \n STATUS, TYPE, NAME, AMT, FEEAMT, NETAMT, and CURRENCYCODE.\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ishirav/paypal-reporter", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "paypal_reporter", "package_url": "https://pypi.org/project/paypal_reporter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/paypal_reporter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ishirav/paypal-reporter" }, "release_url": "https://pypi.org/project/paypal_reporter/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "A library to generate reports about activity in a PayPal account", "version": "0.1.3" }, "last_serial": 2154337, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "97564c69a8c53e1d38e632f75dd9a011", "sha256": "a11b80223a7c82aefc38f4040bc35816b1c8d73bceaa4610e01f64e91b637561" }, "downloads": -1, "filename": "paypal_reporter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "97564c69a8c53e1d38e632f75dd9a011", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3934, "upload_time": "2016-04-29T10:11:41", "url": "https://files.pythonhosted.org/packages/6f/01/1d315ec3db5bb026a984356be9ee5a8d3a6f423334b830413b597151b471/paypal_reporter-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1d4a8c1266160d0de88966ebed8aad17", "sha256": "f33c2cd3dcc64d874d93807491067de20aa56b71ba7832a76efa738f26de44f2" }, "downloads": -1, "filename": "paypal_reporter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1d4a8c1266160d0de88966ebed8aad17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3959, "upload_time": "2016-06-07T07:01:47", "url": "https://files.pythonhosted.org/packages/87/00/2febcda68f3cb27a2c67a6345e97a14ef0145a997200168682515af131ee/paypal_reporter-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1d4a8c1266160d0de88966ebed8aad17", "sha256": "f33c2cd3dcc64d874d93807491067de20aa56b71ba7832a76efa738f26de44f2" }, "downloads": -1, "filename": "paypal_reporter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1d4a8c1266160d0de88966ebed8aad17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3959, "upload_time": "2016-06-07T07:01:47", "url": "https://files.pythonhosted.org/packages/87/00/2febcda68f3cb27a2c67a6345e97a14ef0145a997200168682515af131ee/paypal_reporter-0.1.3.tar.gz" } ] }