Skip to main content

Python time expressions parser

https://img.shields.io/pypi/v/pytimeparser.svg https://img.shields.io/travis/ouahibelhanchi/pytimeparser.svg Documentation Status

Basic Python module to parse time expressions.

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.

Metadata

Release files for pytimeparser 0.2.0

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

Source distribution (sdist)

Source distribution for pytimeparser 0.2.0
File Size Uploaded Provenance Actions
pytimeparser-0.2.0.tar.gz 16.3 kB Without provenance Details for pytimeparser-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytimeparser 0.2.0
File Interpreter ABI Platform Actions
pytimeparser-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for pytimeparser-0.2.0-py2.py3-none-any.whl

Total release size: 21.9 kB

Release files / pytimeparser-0.2.0.tar.gz

Download URL pytimeparser-0.2.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1636bbb896931b5928b909d9ad2397d847e23e33c34d5e919cef3b526b0db56c
BLAKE2b-256 checksum
How to use checksums
4f9101e1716e8c27b4602c2d2cbdc0ab2ce7201f4ff29baf7fd2ae5e4efd653d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytimeparser-0.2.0-py2.py3-none-any.whl

Download URL pytimeparser-0.2.0-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a21563866ed19d65ec76e84bc42c595e2c180e3bea0bb5b7f7f40a7ec8b8d32a
BLAKE2b-256 checksum
How to use checksums
b63795b44af6802a569da90bc02f8ce7470dc64c1f22b61a067e74666d79c558
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytimeparser 0.2.0

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.2.0 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