semvec/pypi-packages huggingface dataset:
lms-prepaid 0.1.1
A script to query Last Mile Solutions prepaid card values
License: MIT
Requires Python: >=3.7,<4.0

# 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](https://python-poetry.org/)

## 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`
tritise 0.1.1
A small python library to handle trivial time series in an SQLite database.
License: MIT
Requires Python: >=3.7,<4.0

# tritise

A small python library to handle trivial time series in an SQLite database.

## Installation

`pip install tritise`

## Example

```python
from tritise import Tritise
t = Tritise('test.sqlite')
t.add(1.1)
t.add(2)
t.add(3.0)
print(t.all())
print(t.last().value)

from dateutil.parser import parse
t.add(-1, tag='historic', timestamp=parse('1.1.2000'))
t.add(5, tag='historic', timestamp=parse('15.3.2001'))
t.add(200, tag='historic', timestamp=parse('21.9.2002'))

t.all('historic')
t.range(start_date = parse('1.1.2001'), end_date = parse('31.12.2001'), tag = 'historic')
```

## Command line tool

Tritise ships a command line tool (`tritise`) to inspect the created databases.

Run `tritise --help` for more information.

### CLI Example

`tritise dump -d test.sqlite`