Baltor Get started

Library / Code module

timeparse from pytimeparse

timeparse

timeparse from pytimeparse: Parse a time expression, returning it as a number of seconds. If possible, the return value will be an `int`; if this is not possible, the return will be a `float`. One tested Python function, copied with the code it needs.

Files, names only

  • ATTRIBUTION.md 1.4 KB
  • LICENSE 1.0 KB
  • README.md 2.0 KB
  • UPSTREAM-LICENSE 1.1 KB
  • pytimeparse_timeparse.py 5.7 KB
  • test_pytimeparse_timeparse.py 445 bytes

Full files in your harness.

What it takes and gives

Function
timeparse
Project
pytimeparse
Module
pytimeparse_timeparse.py

Details

Kind
Code module
Licence
MIT
Declared effects
runs commands
Source
github.com/wroberts/pytimeparse/pytimeparse/timeparse.py
Size
6 files, 11.7 KB
Identity
library.supply.function_extracts.5c3fd6aa6ac9052d7ff6f1b0.67977ac62c62df61
Version
67977ac62c62df61d593d7b76aae5ac4efc1ec8a231a1898060c22295266a7fd

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Where it is shown

Related components

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.