py36-pytimeparse-1.1.5.txz


Advertisement

Description

py36-pytimeparse - Small Python module to parse various kinds of time expressions

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename py36-pytimeparse-1.1.5.txz
Package name py36-pytimeparse
Package version 1.1.5
Package release -
Package architecture amd64
Package type txz
Category devel python
Homepage https://github.com/wroberts/pytimeparse
License MIT
Maintainer dvl@FreeBSD.org
Download size 11.36 KB
Installed size 68.78 KB
The single function pytimeparse.timeparse.timeparse, defined in the library,
(also available as pytimeparse.parse) parses time expressions like the following:
32m
2h32m
3d2h32m
1w3d2h32m
...
It returns the time as a number of seconds (an integer value if possible, otherwise a floating-point number):
>>> from pytimeparse import parse
>>> parse('1.2 minutes')
72
WWW: https://github.com/wroberts/pytimeparse

Alternatives

Package Version Architecture Repository
py36-pytimeparse-1.1.5.txz 1.1.5 i386 FreeBSD Ports Quarterly
py36-pytimeparse-1.1.5.txz 1.1.5 amd64 FreeBSD Ports Quarterly
py36-pytimeparse-1.1.5.txz 1.1.5 i386 FreeBSD Ports Latest
py36-pytimeparse - - -

Requires

Name Value
py36-setuptools = 41.0.0
python36 = 3.6.8_2

Download

Type URL
Mirror pkg.freebsd.org
Binary Package py36-pytimeparse-1.1.5.txz
Source Package devel/py-pytimeparse

Install Howto

Install py36-pytimeparse txz package:

# pkg install py36-pytimeparse

See Also

Package Description
py36-pytools-2018.5_2.txz Collection of tools for Python
py36-pytoport-0.4.1.txz Generate FreeBSD ports from Python modules on PyPI
py36-pytradfri-6.3.1.txz Python IKEA Tradfri API controller
py36-pytrie-0.3.1.txz Pure Python implementation of the trie data structure
py36-pytsk-20190507_1.txz Python bindings for the Sleuthkit
py36-pytvmaze-2.0.8.txz Python interface to the TV Maze API
py36-pytz-2019.2,1.txz World Timezone Definitions for Python
py36-pyudev-0.21.0.txz Pure Python libudev binding
py36-pyupgrade-1.24.1.txz Tool to automatically upgrade Python syntax for newer versions
py36-pyvirtualdisplay-0.2.4.txz Python wrapper for Xvfb, Xephyr and Xvnc
py36-pyvisa-1.10.1.txz Python VISA bindings for GPIB, RS232, TCPIP and USB instruments
py36-pyvisa-py-0.3.1.txz PyVISA backend in pure Python
py36-pywapi-0.3.8.txz Python wrapper around different weather APIs
py36-pywatchman-4.9.0_1.txz Watchman client for Python
py36-pyweblib-1.3.13.txz Yet another web programming framework for Python
Advertisement
Advertisement