{ "info": { "author": "Kyle", "author_email": "kairu_madigan@yahoo.co.jp", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Other Audience", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: Chinese (Simplified)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# txffpAssistant\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Django.svg) ![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/Django.svg)\n\n\u4e3a\u89e3\u51b3\u53cd\u4eba\u7c7b\u8bbe\u8ba1\u7684\u4e00\u6b3e\u7968\u6839\u52a9\u624b\uff0c\u9002\u7528\u4e8e[\u7968\u6839\u7f51](https://txffp.com/)(pss.txffp.com)\u3002\n\n\u53ef\u6267\u884c\u53d1\u7968\u4e0b\u8f7d\u3001\u81ea\u52a8\u5408\u5e76\u3001\u67e5\u770b\u53d1\u7968\u4fe1\u606f\u7b49\u3002\n\n\u6b22\u8fce\u5927\u5bb6\u52a0\u5165\u672c\u9879\u76ee\u4ea4\u6d41\u7fa4\uff1a863896565\uff0c\u4f60\u53ef\u4ee5\u63d0\u4f9b\u5b9d\u8d35\u7684\u610f\u89c1\u6216\u53c2\u4e0e\u65b0\u529f\u80fd\u7684\u6d4b\u8bd5\u7b49\u3002\n\n\n## \u4f9d\u8d56\n\u672c\u9879\u76ee\u57fa\u4e8epython3\u5f00\u53d1\uff0c\u9700\u8981\u5b89\u88c5python3.4\u53ca\u4ee5\u4e0a\u7248\u672c\u3002\n\n\n## \u5b89\u88c5\n\u4f7f\u7528pip\u5b89\u88c5\uff1a\n\n```\n$ pip install --upgrade txffpAssistant\n```\n\n\u865a\u62df\u73af\u5883\u4e0b\u5b89\u88c5([virtualenvwrapper](http://virtualenvwrapper.readthedocs.io/en/latest/))\uff1a\n\n```\n$ mkvirtualenv txffp_assistant\n$ workon txffp_assistant\n$ pip install --upgrade txffpAssistant\n```\n\n![pip install txffpAssistant](docs/media/img/pip-install-txffpAssistant.gif \"install txffpAssistant\")\n\n\n**\u5378\u8f7d:**\n\n```shell\n$ pip uninstall txffpAssistant\n```\n\n## \u4f7f\u7528\n\u67e5\u770bETC\u5361\u4fe1\u606f\uff1a\n\n```\n$ txffp etc --auth user:password\n```\n\n\u67e5\u770b2018\u5e745\u6708\u4efd\uff0cetcid\u4e3axxx\u7684\u5f00\u7968\u8bb0\u5f55\u4fe1\u606f\uff1a\n\n```\n$ txffp record --month 201805 --id xxx --auth user:password\n```\n\n\u4e0b\u8f7d2018\u5e745\u6708\u4efd\u7684\u5168\u90e8\u53d1\u7968\u5e76\u5408\u5e76\uff1a\n\n```\n$ txffp inv-dl --merge --month 201805 --auth user:password --all -o ./\n```\n\n\n## \u53c2\u6570\n\u901a\u7528\u53ef\u9009\u53c2\u6570\uff1a\n\n```\n$ txffp -h\n\noptional arguments:\n -h, --help show this help message and exit\n -d, --debug debug\u6a21\u5f0f\n -s, --simple \u7cbe\u7b80\u6a21\u5f0f\n -v, --version \u67e5\u770b\u5f53\u524d\u7248\u672c\u5e76\u9000\u51fa\n --sleep SLEEP_TIME \u8bf7\u6c42\u95f4\u9694\u7761\u7720\u65f6\u95f4(s),\u9ed8\u8ba4\u5173\u95ed\u3002(\u63a8\u8350\u4f7f\u7528)\n```\n\u203b \u5f3a\u70c8\u63a8\u8350\u4f7f\u7528``--sleep``\u53c2\u6570\uff0c\u8fd9\u6837\u4e0d\u4ec5\u80fd\u51cf\u5c11\u89e6\u53d1\u53cd\u722c\u866b\uff0c\u8fd8\u80fd\u51cf\u8f7b\u5bf9\u670d\u52a1\u5668\u7684\u538b\u529b\u3002\n\u203b \u63a8\u8350``--sleep``\u53c2\u6570\u503c\uff1a3-5\u3002\u56e0\u4e3a\u662f\u53d6\u8303\u56f4\u968f\u673a\u503c\uff0c\u6240\u4ee5\u5e76\u4e0d\u662f\u6bcf\u6b21\u90fd\u7761\u7720\u6307\u5b9a\u503c\u3002\n\n\u7ecf\u8fc7\u5b9e\u9a8c\u53d1\u73b0\uff0c\u5f53\u4ee5\u8f83\u9ad8\u9891\u7387\u8fdb\u884c\u8bf7\u6c42\u65f6\u4f1a\u89e6\u53d1\u53cd\u722c\u866b\uff0c\u5bfc\u81f4\u65e0\u6cd5\u6a21\u62df\u767b\u9646\u3002\u56e0\u4e3a\u8fd9\u79cd\u60c5\u51b5\u5e76\u4e0d\u5e38\u89c1\uff0c\u6240\u4ee5\u6211\u76ee\u524d\u4e5f\u4e0d\u6253\u7b97\u5bf9\u6b64\u505a\u5904\u7406\u3002\n\n``etc``\u547d\u4ee4\u53c2\u6570\uff1a\n\n```\n$ txffp etc -h\n\noptional arguments:\n -h, --help show this help message and exit\n --type {personal,company,all}\n etc\u5361\u7c7b\u578b\uff0c\u9ed8\u8ba4\uff1aall\n --auth AUTH \u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u683c\u5f0f\uff1auser:password\n```\n\n``record``\u547d\u4ee4\u53c2\u6570\uff1a\n\n```\n$ txffp record -h\n\noptional arguments:\n -h, --help show this help message and exit\n --etcid ETC_ID ETC\u5361ID\n --month MONTH \u5f00\u7968\u5e74\u6708\uff0c\u4f8b\u5982: 201805\n --type {personal,company}\n etc\u5361\u7c7b\u578b\uff0c\u9ed8\u8ba4\uff1acompany\n --auth AUTH \u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u683c\u5f0f\uff1auser:password\n```\n\n``inv-dl``\u547d\u4ee4\u53c2\u6570\uff1a\n\n```\n$ txffp inv-dl -h\n\noptional arguments:\n -h, --help show this help message and exit\n --month MONTH \u5f00\u7968\u5e74\u6708\uff0c\u4f8b\u5982: 201805\n --type {personal,company,all}\n etc\u5361\u7c7b\u578b\uff0c\u9ed8\u8ba4\uff1acompany\n --merge MERGE \u81ea\u52a8\u5408\u5e76\n --auth AUTH \u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u683c\u5f0f\uff1auser:password\n --all DL_ALL \u4e0b\u8f7d\u5168\u90e8\u53d1\u7968\n --etcid ETC_ID ETC\u5361ID\n -o OUTPUT, --output OUTPUT\n \u4fdd\u5b58\u4f4d\u7f6e, \u9ed8\u8ba4\uff1a\u5f53\u524d\u76ee\u5f55\u7684txffp\u76ee\u5f55\u4e0b\n```\n\n``apply``\u53c2\u6570\u547d\u4ee4\uff1a\n\n```\noptional arguments:\n -h, --help show this help message and exit\n --auth AUTH \u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u683c\u5f0f\uff1auser:password\n --month MONTH \u5f00\u7968\u5e74\u6708\uff0c\u4f8b: 201805\n --email EMAIL \u53d1\u7968\u63a5\u6536\u90ae\u7bb1\n --all APPLY_ALL \u5168\u90e8ETC\u5361\u5f00\u7968\uff08\u9ed8\u8ba4\uff09\n --etcid APPLY_ETC_ID \u6307\u5b9aETC\u5361\uff08\u9700\u8981etcid\uff09\n```\n\n![help info](docs/media/img/txffp-usage.gif \"help message\")\n\n\n## pdf\u5408\u5e76\u8bf4\u660e\n\u5f00\u542f\u5408\u5e76\u529f\u80fd\u540e\uff0c\u81ea\u52a8\u5c06\u5df2\u4e0b\u8f7d\u5b8c\u6210\u7684zip\u6587\u4ef6\u5185\u7684pdf\u6587\u4ef6\u8fdb\u884c\u5408\u5e76\uff0c\u5e76\u5b58\u653e\u4e8e\u4e0b\u8f7d\u76ee\u5f55\u4e0b\u7684merge\u6587\u4ef6\u5939\u4e0b\u7684\u540c\u540d\u6587\u4ef6\u5939\u5185\u3002\n\u53d1\u7968\u6587\u4ef6\u5c06\u4f1a\u5408\u5e76\u5230invoice.pdf\uff0cpdf\u53d1\u7968\u8bb0\u5f55\u5c06\u4f1a\u5408\u5e76\u5230invoiceDetail.pdf\u3002\n\n**\u76ee\u5f55\u793a\u4f8b\uff1a**\n\n```\ndownload/\n\u251c\u2500\u2500 invoice-xxxxx-example.zip\n\u2514\u2500\u2500 merged\n \u2514\u2500\u2500 invoice-xxxxx-example\n \u251c\u2500\u2500 invoice.pdf\n \u2514\u2500\u2500 invoiceDetail.pdf\n```\n\n\n## \u53cd\u9988\n\u5982\u679c\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u51fa\u73b0bug\u7b49\uff0c\u8bf7\u5230 [https://github.com/Kairu-Madigan/txffpAssistant](https://github.com/Kairu-Madigan/txffpAssistant) \u53d1\u8d77Issue\u3002\n\n\n## \u7248\u6743\n\u8be5\u9879\u76ee\u6839\u636eGNU\u8bb8\u53ef\u8bc1\u6388\u6743\uff0c\u8be6\u7ec6\u4fe1\u606f\u8bf7\u67e5\u770b[LICENSE](LICENSE)\u6587\u4ef6\u3002\n\n\n## \u8d5e\u52a9\n\u5982\u679c\u60a8\u89c9\u5f97 txffpAssistant \u5bf9\u4f60\u6709\u5e2e\u52a9\uff0c\u6b22\u8fce\u7ed9\u4e88\u6211\u4e00\u5b9a\u7684\u6350\u52a9\u6765\u7ef4\u6301\u9879\u76ee\u7684\u957f\u671f\u53d1\u5c55\u3002\n\n**\u652f\u4ed8\u5b9d\u626b\u7801\u6350\u8d60**\n\n![](docs/media/img/donate-alipay.png)\n\n**\u5fae\u4fe1\u626b\u7801\u6350\u8d60**\n\n![](docs/media/img/donate-wechat.png)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Kairu-Madigan/txffpAssistant", "keywords": "", "license": "GNU", "maintainer": "", "maintainer_email": "", "name": "txffpAssistant", "package_url": "https://pypi.org/project/txffpAssistant/", "platform": "any", "project_url": "https://pypi.org/project/txffpAssistant/", "project_urls": { "Homepage": "https://github.com/Kairu-Madigan/txffpAssistant" }, "release_url": "https://pypi.org/project/txffpAssistant/1.1.0/", "requires_dist": [ "lxml (>=4.2.3)", "requests (>=2.19.1)", "PyPDF2 (>=1.26.0)", "filetype (>=1.0.1)", "prettytable (>=0.7.2)", "python-dateutil (==2.7.3)" ], "requires_python": ">=3.4", "summary": "\u4e3a\u89e3\u51b3\u67d0\u7968\u6839\u7f51\u53cd\u4eba\u7c7b\u8bbe\u8ba1\u7684\u4e00\u6b3e\u52a9\u624b\u5de5\u5177", "version": "1.1.0" }, "last_serial": 4304629, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "f0a3f3091f25f30f128d5c1454c6f369", "sha256": "75fe94b1ac076062077eeda2b686c912592423b4652bdd559b69894aaf150e0a" }, "downloads": -1, "filename": "txffpAssistant-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f0a3f3091f25f30f128d5c1454c6f369", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17429, "upload_time": "2018-08-01T05:03:31", "url": "https://files.pythonhosted.org/packages/3e/6d/740de7dcf4d02a8e1e069e857a51a95029e99cf209d096c02fab719c4cc7/txffpAssistant-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c013bf48b70aebc6135329ef1159ce2", "sha256": "fcbc5f1380e4a87a783be2b9ad42d63f08f91db28288712259f00e2e93df9939" }, "downloads": -1, "filename": "txffpAssistant-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0c013bf48b70aebc6135329ef1159ce2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 27109, "upload_time": "2018-08-01T05:03:33", "url": "https://files.pythonhosted.org/packages/8c/57/9795e17732b6c13f729df9c5707358502b7ec10d7877da2f527adc895f37/txffpAssistant-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "41bdb452fe4126e105943bb41049f418", "sha256": "c193968704a5ee65cd6481a3668ace77b7fa90604bf3fd25d7a23cfdeb02176e" }, "downloads": -1, "filename": "txffpAssistant-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "41bdb452fe4126e105943bb41049f418", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17490, "upload_time": "2018-08-01T05:34:06", "url": "https://files.pythonhosted.org/packages/bd/d6/6578ae0ea614d0f9204f18a6394fbf56e01caba760a162cd59a53ad12298/txffpAssistant-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "70b60f628f720b4bbe098a84e90fd07b", "sha256": "0e09d2824541c50613628d4854b080e0e3ba676c06efc4f69b22ffd45475dcad" }, "downloads": -1, "filename": "txffpAssistant-1.0.2.tar.gz", "has_sig": false, "md5_digest": "70b60f628f720b4bbe098a84e90fd07b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 27216, "upload_time": "2018-08-01T05:34:08", "url": "https://files.pythonhosted.org/packages/d7/ca/d3854611de09728484179d30d51c46fd1ae1f0be9c372cb9b625cf9597d3/txffpAssistant-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "9a5c5121fe77490b0573f953e2681d98", "sha256": "ba0fdc8c9ef70ba41104f677fdbd54a3997672f24b59ed18b413636efd467d0c" }, "downloads": -1, "filename": "txffpAssistant-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9a5c5121fe77490b0573f953e2681d98", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 18723, "upload_time": "2018-08-07T12:05:53", "url": "https://files.pythonhosted.org/packages/a9/b9/d9d0e1ed429be40e2f4035f6d62e5ba8d88623bb3466ed286f9be83efa85/txffpAssistant-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff1171a5832a5a83d2301769879451af", "sha256": "353f6e3400ee3b85cbbc0a6b2b4f1780f96a8a82127c134c276544e121084f5c" }, "downloads": -1, "filename": "txffpAssistant-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ff1171a5832a5a83d2301769879451af", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 28596, "upload_time": "2018-08-07T12:05:55", "url": "https://files.pythonhosted.org/packages/ae/45/4dd3141534f187e43920ed5b8e0f7343be55b1c0eedb020aa677f28a38d3/txffpAssistant-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "431dadbc6cee1a802d79fdea5c0884be", "sha256": "05e175b8d13fb818fe6334be767df437c77f97cc35689b084e9029818aa9c562" }, "downloads": -1, "filename": "txffpAssistant-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "431dadbc6cee1a802d79fdea5c0884be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 19441, "upload_time": "2018-09-21T12:01:30", "url": "https://files.pythonhosted.org/packages/d1/57/4b046e03d192712fa5c6c535cfc4b21b018943d2082a90c93bb437736491/txffpAssistant-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c3f5ae7d3adb22fb2fce961b0d3bfeb", "sha256": "d2aa2e673e2dcd5a8cbb99fad89b9454a46e1fccd753d0341434864c1d0db992" }, "downloads": -1, "filename": "txffpAssistant-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4c3f5ae7d3adb22fb2fce961b0d3bfeb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 29033, "upload_time": "2018-09-21T12:01:32", "url": "https://files.pythonhosted.org/packages/e2/24/44c6c269af1eb45f02108083d21cbbbf7d34e6232299ae50f80dec3e5d3c/txffpAssistant-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "44f311e492dcc68f989ecfc85f20431f", "sha256": "069db7250803c02762b66229f7ea76dbcdc5adf9bec56af9115501dabc118627" }, "downloads": -1, "filename": "txffpAssistant-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "44f311e492dcc68f989ecfc85f20431f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 21817, "upload_time": "2018-09-24T12:49:16", "url": "https://files.pythonhosted.org/packages/0e/bf/770da43cab2c078402bcc8c1b5de3a44dd502418cfaf37e2cf9cc99037a5/txffpAssistant-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7d4204852fce7e353c481ddda66ea98", "sha256": "3b68b8e5741f4e9541b7b33a0d98a0e6876c9bad5b6071c4028ec21f81dd7097" }, "downloads": -1, "filename": "txffpAssistant-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c7d4204852fce7e353c481ddda66ea98", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 31762, "upload_time": "2018-09-24T12:49:18", "url": "https://files.pythonhosted.org/packages/b6/9e/ff840bb887e7ef0342e667fda07792cff871a6304a72bb909a3e87508401/txffpAssistant-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44f311e492dcc68f989ecfc85f20431f", "sha256": "069db7250803c02762b66229f7ea76dbcdc5adf9bec56af9115501dabc118627" }, "downloads": -1, "filename": "txffpAssistant-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "44f311e492dcc68f989ecfc85f20431f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 21817, "upload_time": "2018-09-24T12:49:16", "url": "https://files.pythonhosted.org/packages/0e/bf/770da43cab2c078402bcc8c1b5de3a44dd502418cfaf37e2cf9cc99037a5/txffpAssistant-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7d4204852fce7e353c481ddda66ea98", "sha256": "3b68b8e5741f4e9541b7b33a0d98a0e6876c9bad5b6071c4028ec21f81dd7097" }, "downloads": -1, "filename": "txffpAssistant-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c7d4204852fce7e353c481ddda66ea98", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 31762, "upload_time": "2018-09-24T12:49:18", "url": "https://files.pythonhosted.org/packages/b6/9e/ff840bb887e7ef0342e667fda07792cff871a6304a72bb909a3e87508401/txffpAssistant-1.1.0.tar.gz" } ] }