Skip to main content

A script to query Last Mile Solutions prepaid card values

Project description


A python script to retrieve balances for last mile solutions electric car charging prepaid card (this includes Entega prepaid cards)


pip install lms-prepaid


lms-prepaid uses poetry


lms-prepaid -c AB-123456-X

See also: lms-prepaid --help

Poetry setup

  • Install poetry: pip install poetry (see the poetry homepage for alternatives)
  • Install lms-prepaid: poetry install
  • Run: poetry run lms-prepaid --help

Environment variables

The script will use the following environment variables:

  • LMS_PREPAID_DATABASE for the path to the sqlite database
    • defaults to lms-prepaid.sqlite int the CWD
  • LMS_PREPAID_CARD for the card number
  • LMS_PREPAID_GOTIFY_URL for the gotify notification server
  • LMS_PREPAID_GOTIFY_TOKEN for the gotify app token
  • LMS_PREPAID_GOTIFY_PRIO for the gotify notification priority

Docker usage

  • Build the docker image:
    • docker build -t lms-prepaid .
  • Launch the image with with set environment variables:
    • docker run -e LMS_PREPAID_CARD=AB-CDE-123456-X lms-prepaid

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lms-prepaid, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size lms_prepaid-0.1.1-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size lms-prepaid-0.1.1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page