Sample CLI
gway clock minus
Signature
(*, seconds=0, utc=False) -> 'datetime'
Docstring
Return current datetime plus given seconds.
Signature
(*, utc=False) -> 'datetime'
Docstring
Return the current datetime object.
Sample CLI
gway clock plus
Signature
(*, seconds=0, utc=False) -> 'datetime'
Docstring
Return current datetime plus given seconds.
Sample CLI
gway clock timestamp
Signature
(*, utc=False) -> str
Docstring
Return the current timestamp in ISO-8601 format.
Sample CLI
gway clock to-download
Docstring
Prompt: Create a python function that takes a file size such as 100 MB or 1.76 GB
(pick a wide array of units) and then calculates the possible time to download
it within 4 ranges. You choose the ranges logarithmically. Then, perform a quick
check against google to let the user know what their current range is.
Sample CLI
gway ocpp.evcs simulate-cp
Signature
(cp_idx, host, ws_port, rfid, cp_path, duration, session_count)
Docstring
Simulate a single CP session (possibly many times if session_count>1).