{ "info": { "author": "micolous", "author_email": "micolous+git@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Office/Business :: Financial", "Topic :: Utilities" ], "description": "\n**************\n`tpg_invoice`_\n**************\n\nExtracts tax invoices from the `TPG`_ Cyberstore (My Account) at the command\nline.\n\nThis is useful for automatically grabbing tax invoices.\n\nThis has only been tested with a fixed broadband service. It has not been\ntested with other products (eg: mobile, dial-up).\n\n*This is software is not written or endorsed by* `TPG`_.\n\nInstalling\n==========\n\nThe easiest way to install ``tpg_invoice`` is::\n\n\t$ pip3 install tpg_invoice\n\nManual installation\n-------------------\n\n\n``tpg_invoice`` requires the following::\n\n* Python 3 (tested on 3.6)\n* BeautifulSoup4\n* requests\n\nIn Debian based distributions, install these packages::\n\n\tapt install python3 python3-requests python3-bs4\n\nThen run::\n\n\t./setup.py install\n\nAuthentication\n==============\n\n``tpg_invoice`` supports authentication with a username and password, or a\npre-existing session cookie. One of the mechanisms must be specified.\n\nAuthenticating with a username and password\n-------------------------------------------\n\nUsage::\n\n\t$ tpg_invoice -s ~/.config/tpg.secrets\n\n``tpg.secrets`` is a text file, with two lines:\n\n#. TPG username.\n#. Account password.\n\nAn example secrets file is given below, where the username is ``exampleuser``\nand their password is ``correcthorsebatterystaple``::\n\n\texampleuser\n\tcorrecthorsebatterystaple\n\nMake sure to keep this file only readable by the user which ``tpg_invoice`` runs\nas.\n\nRate limits apply to the login form, even when login was successful.\n\nAuthenticating with a session cookie\n------------------------------------\n\nUsage::\n\n\t$ tpg_invoice -S 5wxbc9p2wjhvgssfl0b7nevgfou\n\nThis uses an existing ``TPGSESS`` cookie to make requests to TPG.\n\nUsage\n=====\n\nGet invoice list: ``tpg_invoice list``\n--------------------------------------\n\nUsage::\n\n\t$ tpg_invoice -s tpg.secrets list\n\tInvoice list:\n\n\tI178018865: raised 2018-01-01, $59.99\n\tI184856374: raised 2018-02-01, $59.99\n\t[...]\n\nGet specific invoice(s): ``tpg_invoice get I...``\n-------------------------------------------------\n\nReturns a specific invoice as HTML::\n\n\t$ tpg_invoice -s tpg.secrets get I178018865\n\t
Tax Invoice Display
TPG Internet Pty Ltd ABN 15 068 383 737
65 Waterloo Rd, MACQUARIE PARK, NSW, 2113
\n\t[...]\n\nMultiple invoice IDs may be specified at the command line. They will be shown separated by a blank line::\n\n\t$ tpg_invoice -s tpg.secrets get I178018865 I184856374\n\t
Tax Invoice Display
TPG Internet Pty Ltd ABN 15 068 383 737
65 Waterloo Rd, MACQUARIE PARK, NSW, 2113
\n\t[...]\n\n\t
Tax Invoice Display
TPG Internet Pty Ltd ABN 15 068 383 737
65 Waterloo Rd, MACQUARIE PARK, NSW, 2113
\n\t[...]\n\nGet the latest invoice: ``tpg_invoice get --latest``\n----------------------------------------------------\n\nReturns the latest, non-$0 invoice as HTML::\n\n\t$ tpg_invoice -s tpg.secrets get --latest\n\t
Tax Invoice Display
TPG Internet Pty Ltd ABN 15 068 383 737
65 Waterloo Rd, MACQUARIE PARK, NSW, 2113
\n\t[...]\n\n\n.. _TPG: https://www.tpg.com.au/\n.. _tpg_invoice: https://github.com/micolous/tpg_invoice\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/micolous/tpg_invoice", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "tpg-invoice", "package_url": "https://pypi.org/project/tpg-invoice/", "platform": "", "project_url": "https://pypi.org/project/tpg-invoice/", "project_urls": { "Homepage": "https://github.com/micolous/tpg_invoice" }, "release_url": "https://pypi.org/project/tpg-invoice/0.1.3/", "requires_dist": [ "beautifulsoup4", "requests" ], "requires_python": "", "summary": "Extracts invoices from the TPG website.", "version": "0.1.3" }, "last_serial": 3611183, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "ce8351f1f1a0af04f019ddf5fa57c545", "sha256": "277bfc309ed8cc331a5ee3a8ed65333aa9383d774a6d406e3bab253f2b167387" }, "downloads": -1, "filename": "tpg_invoice-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce8351f1f1a0af04f019ddf5fa57c545", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8365, "upload_time": "2018-02-24T03:48:18", "url": "https://files.pythonhosted.org/packages/4b/cf/6fc00a10874bc3a77a75808629329cf33da66b0babb40fe735cf5872bca9/tpg_invoice-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4db794932a0e1f16527770740ea538b0", "sha256": "4d9b46d69cb9d4bcdcb7ed77298dc1aac9bc81a9ae1e7b676de41e4b3998ad82" }, "downloads": -1, "filename": "tpg_invoice-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4db794932a0e1f16527770740ea538b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6763, "upload_time": "2018-02-24T03:48:20", "url": "https://files.pythonhosted.org/packages/6d/d0/6e72c38a7872bc8a309ed2fa9262586bddff04750709657f1785c8f4457e/tpg_invoice-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ce8351f1f1a0af04f019ddf5fa57c545", "sha256": "277bfc309ed8cc331a5ee3a8ed65333aa9383d774a6d406e3bab253f2b167387" }, "downloads": -1, "filename": "tpg_invoice-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce8351f1f1a0af04f019ddf5fa57c545", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8365, "upload_time": "2018-02-24T03:48:18", "url": "https://files.pythonhosted.org/packages/4b/cf/6fc00a10874bc3a77a75808629329cf33da66b0babb40fe735cf5872bca9/tpg_invoice-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4db794932a0e1f16527770740ea538b0", "sha256": "4d9b46d69cb9d4bcdcb7ed77298dc1aac9bc81a9ae1e7b676de41e4b3998ad82" }, "downloads": -1, "filename": "tpg_invoice-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4db794932a0e1f16527770740ea538b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6763, "upload_time": "2018-02-24T03:48:20", "url": "https://files.pythonhosted.org/packages/6d/d0/6e72c38a7872bc8a309ed2fa9262586bddff04750709657f1785c8f4457e/tpg_invoice-0.1.3.tar.gz" } ] }