Skip to main content

Metrocard-Topup

Tops up your Metrocard with a single script

Usage

  • Clone the repo

  • Install requirements from requirements.txt

  • Install geckodriver from Mozilla

  • Create a file inside src/ called credentials.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)

Table of built distributions (wheels) for metrocard-topup 0.1
File Interpreter ABI Platform Actions
metrocard_topup-0.1-py3-none-any.whl Python 3 none any Details for metrocard_topup-0.1-py3-none-any.whl

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

Security for metrocard-topup 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page