Metrocard-Topup
Tops up your Metrocard with a single script
Usage
-
Clone the repo
-
Install requirements from
requirements.txt -
Install
geckodriverfrom Mozilla -
Create a file inside
src/calledcredentials.py
> cat src/credentials.py
#!/usr/bin/env python3
# Metrocard credentials
# Your metrocard number in string format
metrocard_number = ""
# Your metrocard password in string format
metrocard_password = ""
# Credit card credentials
# Your credit card number in string format
credit_card_number = ""
# Your credit card name in string format
credit_card_name = ""
# Your credit card expiry month in int format
credit_card_expiry_month =
# Your credit card expiry year in string format
credit_card_expiry_year = ""
# Your credit card cvc in string format
credit_card_cvc = ""
# Email credentials
email_username = ""
email_password = ""
Disclaimer
You are responsible for keeping your credentials.py safe
Metadata
Release files for metrocard-topup 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metrocard_topup-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / metrocard_topup-0.1-py3-none-any.whl
| Download URL | metrocard_topup-0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5b68980aabfdc164d7b911a2ca065fafb580fc68598608e3b8163616cbbf4f8
|
|
BLAKE2b-256 checksum How to use checksums |
804aec1bb386f26b3fd4bbea501c8c405aafaa7c31f96ac47bdcbf16e1f72615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3
|