python fund_Python fund-my-watcard包_程序模块 - PyPI - Python中文网

为我的watcard提供资金

68747470733a2f2f7472617669732d63692e6f72672f78696e677765697469616e2f66756e642d6d792d776174636172642e7376673f6272616e63683d6d617374657268747470733a2f2f696d672e736869656c64732e696f2f707970692f762f66756e642d6d792d776174636172642e73766768747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f66756e642d6d792d776174636172642e737667

这个工具可以帮助您轻松地向您的watcard中添加资金。我写这个工具是因为我太懒了,每次都不能用手做。

安装pip3 install fund-my-watcard

用法teachertian@v1040-wn-rt-c-83-249 ~/PycharmProjects/fundmywatcard: watcard

usage: watcard [-h] [-c | -f FUND | -v | -e | -d | -r]

Fund my WatCard: A tool that add funds to your WatCard easily.

optional arguments:

-h, --help show this help message and exit

-c, --config generate the config file

-f FUND, --fund FUND the amount to add into the WatCard

-v, --version show the version of fund-my-watcard

-e, --encrypt encrypt the config file with user defined password

-d, --decrypt decrypt the config file so you can edit it

-r, --reset reset the config file

融资前的一个重要步骤是填写配置文件.watcard_config,该文件生成并存储在用户目录下。键入watcard --config初始化并编辑配置文件。

.watcard配置的示例:{"userName":"WatIAM username","password":"WatIAM username","ordName":"Name on the credit card","phoneNumber":"Phone number","address1":"Home address 1","address2":"Home address 2 (Blank if no address2)","ordPostalCode":"Postal code","ordCity":"City","ordEmailAddress":"Email address","paymentMethod":"Payment method ('CC' for 'Credit Card')","trnCardOwner":"Card owner","trnCardType":"Card type ('VI' for 'Visa', 'MC' for 'Master Card', see more card types below)","trnCardNumber":"Card number","trnExpMonth":"Expiry month","trnExpYear":"Expiry year","trnCardCvd":"Card CVD (3 digit number on the back of the card)","encrypted":"False"}

填充.watcard配置的示例:{"userName":"s123zhang","password":"1234567","ordName":"San Zhang","phoneNumber":"123 456 7890","address1":"123 Queen Street West","address2":"","ordPostalCode":"A1B2C3","ordCity":"Waterloo","ordEmailAddress":"zhangsan@gmail.com","paymentMethod":"CC","trnCardOwner":"San Zhang","trnCardType":"MC","trnCardNumber":"1234567890123456","trnExpMonth":"01","trnExpYear":"25","trnCardCvd":"123","encrypted":"False"}

付款方式应为cc(信用卡)。不支持interac online。

信用卡类型可以是mc(万事达卡)、vi(Visa卡)、pv(Visa借记卡)、md(借记万事达卡)或am(美国运通)。

填写完配置文件后,请尝试watcard --fund 10向您的帐户中添加10美元。下一次,不需要编辑配置文件(除非您想更改某些信息),只需使用watcard --fund轻松地为您的watcard提供资金,干杯!

Docker图像

我们还为我的WatCard提供Docker图像:

从Docker Hub中提取图像:docker pull faushine/fund-my-watcard:0.2.1

创建并编辑.watcard_config(文件夹docker中有一个.watcard_config模板,您可以直接编辑它)。

运行容器并将配置装载到容器:docker run -it -v /absolute/path/of/.watcard_config:/root/.watcard_config faushine/fund-my-watcard:0.2.1

贡献

请安装dev-requirements.txt,而不是requirements.txt。之后,运行dev-init.sh安装预提交钩子以强制执行pep8样式检查。

计划

查看kanban board查看我们的未来计划。

欢迎加入QQ群-->: 979659372

9ddc589a9bae9dd81334056da3504a2c.png

推荐PyPI第三方库

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值