py27-pytimeparse-1.1.5.txz


Advertisement

Description

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

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename py27-pytimeparse-1.1.5.txz
Package name py27-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 10.81 KB
Installed size 78.71 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
py27-pytimeparse-1.1.5.txz 1.1.5 i386 FreeBSD Ports Quarterly
py27-pytimeparse-1.1.5.txz 1.1.5 amd64 FreeBSD Ports Quarterly
py27-pytimeparse-1.1.5.txz 1.1.5 i386 FreeBSD Ports Latest
py27-pytimeparse - - -

Requires

Name Value
py27-setuptools = 41.0.0
python27 = 2.7.16_1

Download

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

Install Howto

Install py27-pytimeparse txz package:

# pkg install py27-pytimeparse

See Also

Package Description
py27-pytools-2018.5_2.txz Collection of tools for Python
py27-pytrie-0.3.1.txz Pure Python implementation of the trie data structure
py27-pytsk-20190507_1.txz Python bindings for the Sleuthkit
py27-pytvmaze-2.0.8.txz Python interface to the TV Maze API
py27-pytz-2019.2,1.txz World Timezone Definitions for Python
py27-pyudev-0.21.0.txz Pure Python libudev binding
py27-pyupgrade-1.20.0.txz Tool to automatically upgrade Python syntax for newer versions
py27-pyutil-3.3.0.txz Collection of mature utilities for Python programmers
py27-pyvalid-0.9.txz Python validation tool
py27-pyvirtualdisplay-0.2.4.txz Python wrapper for Xvfb, Xephyr and Xvnc
py27-pyvisa-1.10.1.txz Python VISA bindings for GPIB, RS232, TCPIP and USB instruments
py27-pyvisa-py-0.3.1.txz PyVISA backend in pure Python
py27-pywapi-0.3.8.txz Python wrapper around different weather APIs
py27-pywatchman-4.9.0_1.txz Watchman client for Python
py27-pywdns-0.9.0.txz Python wrapper for dns/wdns
Advertisement
Advertisement