Basic Python module to parse time expressions.
Project description
Python time expressions parser
Basic Python module to parse time expressions.
Free software: MIT license
Documentation: https://pytimeparser.readthedocs.io.
Usage
To use Python time expressions parser in a project:
import pytimeparser output_timedelta = pytimeparser.parse('3 days 5:12:43.123') print(output_timedelta.total_seconds())
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2018-06-11)
Raise ValueError in case no time expression recognized.
0.1.0 (2018-04-02)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytimeparser-0.2.0.tar.gz
(16.3 kB
view details)
Built Distribution
File details
Details for the file pytimeparser-0.2.0.tar.gz
.
File metadata
- Download URL: pytimeparser-0.2.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1636bbb896931b5928b909d9ad2397d847e23e33c34d5e919cef3b526b0db56c |
|
MD5 | 924244cc67f7acf93238318e8883bd8d |
|
BLAKE2b-256 | 4f9101e1716e8c27b4602c2d2cbdc0ab2ce7201f4ff29baf7fd2ae5e4efd653d |
File details
Details for the file pytimeparser-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytimeparser-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21563866ed19d65ec76e84bc42c595e2c180e3bea0bb5b7f7f40a7ec8b8d32a |
|
MD5 | 3e068eab153572260808ddf0ef8bbb41 |
|
BLAKE2b-256 | b63795b44af6802a569da90bc02f8ce7470dc64c1f22b61a067e74666d79c558 |