Skip to main content

lms-prepaid

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

Installation

pip install lms-prepaid

Development

lms-prepaid uses poetry

Usage

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

Metadata

Release files for lms-prepaid 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lms-prepaid 0.1.1
File Size Uploaded Provenance Actions
lms-prepaid-0.1.1.tar.gz 4.0 kB Without provenance Details for lms-prepaid-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lms-prepaid 0.1.1
File Interpreter ABI Platform Actions
lms_prepaid-0.1.1-py3-none-any.whl Python 3 none any Details for lms_prepaid-0.1.1-py3-none-any.whl

Total release size: 8.6 kB

Release files / lms-prepaid-0.1.1.tar.gz

Download URL lms-prepaid-0.1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b5aa0227bde5eb1baa7aa26da1aec3bc45ecba1c17c93563ee147759df4f3936
BLAKE2b-256 checksum
How to use checksums
9fa4ce75ef2f57b47c341dad2d6f273cc2dc8ac6c4d37c4a06ac7783e9f9e458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.4 Windows/10

Release files / lms_prepaid-0.1.1-py3-none-any.whl

Download URL lms_prepaid-0.1.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae4280349e15dddec3601f145b2e2757cb6b211359e03d2bdd74ca4ecad7f749
BLAKE2b-256 checksum
How to use checksums
67ac2df7ae0d10d066c1137d2a33d8d266e791c3f499b9e2d936d5661c4408b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.4 Windows/10

Security for lms-prepaid 0.1.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.1 This release

2 release files 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