{ "info": { "author": "xingweitian, faushine, KevinLu", "author_email": "xingweitian@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# fund-my-watcard\n\n[![Build Status](https://travis-ci.org/xingweitian/fund-my-watcard.svg?branch=master)](https://travis-ci.org/xingweitian/fund-my-watcard)\n[![PyPI](https://img.shields.io/pypi/v/fund-my-watcard.svg)](https://pypi.org/project/fund-my-watcard)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fund-my-watcard.svg)](https://pypi.org/project/fund-my-watcard)\n\nThis tool helps you add funds to your WatCard easily. I wrote this tool because I am too lazy to do it by hand everytime.\n\n## Installation\n\n```bash\npip3 install fund-my-watcard\n```\n\n## Usage\n\n```\nteachertian@v1040-wn-rt-c-83-249 ~/PycharmProjects/fundmywatcard: watcard\nusage: watcard [-h] [-c | -f FUND | -v | -e | -d | -r]\n\nFund my WatCard: A tool that add funds to your WatCard easily.\n\noptional arguments:\n -h, --help show this help message and exit\n -c, --config generate the config file\n -f FUND, --fund FUND the amount to add into the WatCard\n -v, --version show the version of fund-my-watcard\n -e, --encrypt encrypt the config file with user defined password\n -d, --decrypt decrypt the config file so you can edit it\n -r, --reset reset the config file\n -t, --transactions review the previous transactions\n```\n\nOne important step before funding is to fill the config file **.watcard_config**, which is generated and stored under the user directory. Type `watcard --config` to initialize and edit the config file.\n\nAn example of **.watcard_config**:\n\n```json\n{\n \"userName\": \"WatIAM username\",\n \"password\": \"WatIAM username\",\n \"ordName\": \"Name on the credit card\",\n \"phoneNumber\": \"Phone number\",\n \"address1\": \"Home address 1\",\n \"address2\": \"Home address 2 (Blank if no address2)\",\n \"ordPostalCode\": \"Postal code\",\n \"ordCity\": \"City\",\n \"ordCountry\": \"Country (Canada by default)\",\n \"ordProvince\": \"Province (Ontario by default)\",\n \"ordEmailAddress\": \"Email address\",\n \"paymentMethod\": \"Payment method ('CC' for 'Credit Card')\",\n \"trnCardOwner\": \"Card owner\",\n \"trnCardType\": \"Card type ('VI' for 'Visa', 'MC' for 'Master Card', see more card types below)\",\n \"trnCardNumber\": \"Card number\",\n \"trnExpMonth\": \"Expiry month\",\n \"trnExpYear\": \"Expiry year\",\n \"trnCardCvd\": \"Card CVD (3 digit number on the back of the card)\",\n \"encrypted\": \"False\"\n}\n```\n\nAn example of filled **.watcard_config**:\n\n```json\n{\n \"userName\": \"s123zhang\",\n \"password\": \"1234567\",\n \"ordName\": \"San Zhang\",\n \"phoneNumber\": \"123 456 7890\",\n \"address1\": \"123 Queen Street West\",\n \"address2\": \"\",\n \"ordPostalCode\": \"A1B2C3\",\n \"ordCity\": \"Waterloo\",\n \"ordCountry\": \"Canada\",\n \"ordProvince\": \"Ontario\",\n \"ordEmailAddress\": \"zhangsan@gmail.com\",\n \"paymentMethod\": \"CC\",\n \"trnCardOwner\": \"San Zhang\",\n \"trnCardType\": \"MC\",\n \"trnCardNumber\": \"1234567890123456\",\n \"trnExpMonth\": \"01\",\n \"trnExpYear\": \"25\",\n \"trnCardCvd\": \"123\",\n \"encrypted\": \"False\"\n}\n```\n\nPayment Method should be **CC** (Credit Card). Do not support **Interac Online**.\n\nCard Type can be **MC** (Mastercard), **VI** (Visa), **PV** (VISA Debit), **MD** (Debit Mastercard) or **AM** (AMEX).\n\nAfter filling the config file, try `watcard --fund 10` to add 10 dollars to your account. At the next time, no need to edit config file (unless you want to change some information), just use `watcard --fund` to fund your watcard easily, cheers!\n\n## Docker Image\n\nWe also maintain a docker image for fund-my-watcard:\n\nhttps://hub.docker.com/r/faushine/fund-my-watcard\n\nPull image from docker-hub: \n\n```bash\n docker pull faushine/fund-my-watcard:0.3.1\n ```\n\nCreate and edit `.watcard_config` (There is a template of `.watcard_config` in the folder `docker`, you may want to edit it directly). \n\nRun container and mount configuration to the container:\n\n```bash\ndocker run -it -v /absolute/path/of/.watcard_config:/root/.watcard_config faushine/fund-my-watcard:0.3.1\n```\n\n\n## Contributing\n\nPlease install `dev-requirements.txt` instead of `requirements.txt`. After that, run `dev-init.sh` to install the pre-commit hook to force PEP8 style checking.\n\n## Plan\n\nCheck [kanban board](https://github.com/xingweitian/fund-my-watcard/projects) to see our future plan.\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/xingweitian/fund-my-watcard", "keywords": "WatCard", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "fund-my-watcard", "package_url": "https://pypi.org/project/fund-my-watcard/", "platform": "", "project_url": "https://pypi.org/project/fund-my-watcard/", "project_urls": { "Homepage": "https://github.com/xingweitian/fund-my-watcard" }, "release_url": "https://pypi.org/project/fund-my-watcard/0.4.1/", "requires_dist": [ "splinter (==0.11.0)", "webdriver-manager (==1.8.2)", "cryptography (==2.7)", "prettytable (==0.7.2)", "colorlog (==4.0.2)" ], "requires_python": ">=3.5", "summary": "A tool to fund WatCard in an easy way", "version": "0.4.1" }, "last_serial": 5859862, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "3cd8c20d4ee776856e43c12aaedaefdf", "sha256": "2f436bf4c0d92e553c69efcfa564c91f75987959ed0e75bc0b203a4473ed06ad" }, "downloads": -1, "filename": "fund_my_watcard-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3cd8c20d4ee776856e43c12aaedaefdf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16644, "upload_time": "2019-06-25T14:42:49", "url": "https://files.pythonhosted.org/packages/1a/7a/0c32eaf6343382a6b972f859bd3a2a755179c30a9cbc4b18076f0c973489/fund_my_watcard-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62a687d2c85a20e2e8a57c50e662f522", "sha256": "a7216b9c5be9e00a14af5b821f30919f0e689397388f7d06d312cbbec52fc8d1" }, "downloads": -1, "filename": "fund-my-watcard-0.2.0.tar.gz", "has_sig": false, "md5_digest": "62a687d2c85a20e2e8a57c50e662f522", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 4392, "upload_time": "2019-06-25T14:42:50", "url": "https://files.pythonhosted.org/packages/47/36/8e2d930b3bb6f5974f0e25d226ebf5ee8af58f907073eca9e64be8fbcdc1/fund-my-watcard-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "52b64b56102faba888d9fe87401f0978", "sha256": "1143ff0748285ba367ec230a4d9927f7d47398f8129eca55638eaaaca1766caa" }, "downloads": -1, "filename": "fund_my_watcard-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "52b64b56102faba888d9fe87401f0978", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 17141, "upload_time": "2019-07-04T18:29:27", "url": "https://files.pythonhosted.org/packages/8e/73/2b980972120e5f233542f8355a9c22eddbdd5ae94a209a6820893cb1396f/fund_my_watcard-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c187122a879cf32017b14684f33bcb1e", "sha256": "59228d6d343d7a0fab58c8f766500460fcaf16404510925aa4b4f8282542ec04" }, "downloads": -1, "filename": "fund-my-watcard-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c187122a879cf32017b14684f33bcb1e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 4657, "upload_time": "2019-07-04T18:29:28", "url": "https://files.pythonhosted.org/packages/33/9a/d6be0189228f320db07eddd48312e507b3e68bf6458c0698e3366577feae/fund-my-watcard-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "335585bee048c3e1946338c208770cb0", "sha256": "4e3e9818ea81e4d2eb4352855bb2857c0b79dbe35f53ddb54af6cc3f8ddddb5c" }, "downloads": -1, "filename": "fund_my_watcard-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "335585bee048c3e1946338c208770cb0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 18692, "upload_time": "2019-08-12T20:07:09", "url": "https://files.pythonhosted.org/packages/25/98/2303327228ee08abfa8010e472714b8b4377de5205be74625b43b8797535/fund_my_watcard-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "18d23e43e7e8f3efd4f69e421886d73f", "sha256": "65236749c91f7defc4a9e8a1f759a083fef82f7e32f9117724052f9bfd74f53e" }, "downloads": -1, "filename": "fund-my-watcard-0.3.0.tar.gz", "has_sig": false, "md5_digest": "18d23e43e7e8f3efd4f69e421886d73f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 6136, "upload_time": "2019-08-12T20:07:11", "url": "https://files.pythonhosted.org/packages/f9/a4/f0445c0f0e86c8c028bb4f064cf83b5706adde5c70a29694813edcb83415/fund-my-watcard-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "6f9532f01eebab9db00d9463ee0cce3c", "sha256": "ffe844514386482eed16cf94ee94878675ffc4cad372fd8ffc5fab72559931cf" }, "downloads": -1, "filename": "fund_my_watcard-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6f9532f01eebab9db00d9463ee0cce3c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 21298, "upload_time": "2019-08-17T03:09:00", "url": "https://files.pythonhosted.org/packages/21/58/90765168057cda57b51b54c9965bf0cf7b3c5127c34b77793455af6c98c8/fund_my_watcard-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a228dfa31fa53926a51a160f71548bf", "sha256": "7f0956c22aa21e03afd0fb66efed333011d5e8b71a1aa0de825a5f35fb17286f" }, "downloads": -1, "filename": "fund-my-watcard-0.3.1.tar.gz", "has_sig": false, "md5_digest": "6a228dfa31fa53926a51a160f71548bf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 7137, "upload_time": "2019-08-17T03:09:01", "url": "https://files.pythonhosted.org/packages/21/44/3e1c48f87dfef1c69d665c6be6cb8f762af9b12393c2dde3a72b7ead181a/fund-my-watcard-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "fefc31caa0a0cec43ae71a74334a4ca3", "sha256": "1a99f3762462cec92547544f0ab1874de812e33f8a92b0b08c20716f56483f23" }, "downloads": -1, "filename": "fund_my_watcard-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fefc31caa0a0cec43ae71a74334a4ca3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 22549, "upload_time": "2019-09-17T02:47:40", "url": "https://files.pythonhosted.org/packages/20/fd/0d1c9bee018770801571ed7f205bc8ceff8baffa2b3ab47459f7bac631ae/fund_my_watcard-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "066a117187703d2e47f3194e2ae7fa1c", "sha256": "158e2be115d9512527ff98ee7c8278b9e0a2e74d413c8ca7ff7e726e90b64f54" }, "downloads": -1, "filename": "fund-my-watcard-0.4.0.tar.gz", "has_sig": false, "md5_digest": "066a117187703d2e47f3194e2ae7fa1c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 7967, "upload_time": "2019-09-17T02:47:41", "url": "https://files.pythonhosted.org/packages/de/02/6841af212438200c306f29260f44eb0f0240106455de14c1618c1e7b5323/fund-my-watcard-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "1a3152951c87b0554643b9b1eedb6d39", "sha256": "0cb6ca74d5d9c7aac186f611b17a937b67255a78791d1e297683bbb4bac746bf" }, "downloads": -1, "filename": "fund_my_watcard-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1a3152951c87b0554643b9b1eedb6d39", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 22767, "upload_time": "2019-09-20T02:34:35", "url": "https://files.pythonhosted.org/packages/2c/f6/0ba7bf10eb0f812952363533f524f07f6d44e04b049e5ae8acffe0541d11/fund_my_watcard-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1c55272525834e101d3c8c4a61caea4", "sha256": "0e502a8ec55c9c132886e192fb1f682bacbaecd1bd60c0b480b9a645db07633b" }, "downloads": -1, "filename": "fund-my-watcard-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d1c55272525834e101d3c8c4a61caea4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8166, "upload_time": "2019-09-20T02:34:37", "url": "https://files.pythonhosted.org/packages/12/a8/08fecf67e4e80aa43036bfae56cebcbc6890d53a1183f0542d111f399b75/fund-my-watcard-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a3152951c87b0554643b9b1eedb6d39", "sha256": "0cb6ca74d5d9c7aac186f611b17a937b67255a78791d1e297683bbb4bac746bf" }, "downloads": -1, "filename": "fund_my_watcard-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1a3152951c87b0554643b9b1eedb6d39", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 22767, "upload_time": "2019-09-20T02:34:35", "url": "https://files.pythonhosted.org/packages/2c/f6/0ba7bf10eb0f812952363533f524f07f6d44e04b049e5ae8acffe0541d11/fund_my_watcard-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1c55272525834e101d3c8c4a61caea4", "sha256": "0e502a8ec55c9c132886e192fb1f682bacbaecd1bd60c0b480b9a645db07633b" }, "downloads": -1, "filename": "fund-my-watcard-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d1c55272525834e101d3c8c4a61caea4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8166, "upload_time": "2019-09-20T02:34:37", "url": "https://files.pythonhosted.org/packages/12/a8/08fecf67e4e80aa43036bfae56cebcbc6890d53a1183f0542d111f399b75/fund-my-watcard-0.4.1.tar.gz" } ] }