FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py-pytimeparse Small Python module to parse various kinds of time expressions
1.1.5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 04 Sep 2015 17:18:28
Also Listed In: python
License: MIT
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
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/py-pytimeparse/ && make install clean
To add the package: pkg install py27-pytimeparse

PKGNAME: py27-pytimeparse

distinfo:

SHA256 (pytimeparse-1.1.5.tar.gz) = 9addbd29ae638e610a78a3cb50371f2091938de89c1ab61fa9cde7556a18b207
SIZE (pytimeparse-1.1.5.tar.gz) = 9245


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools27>0 : devel/py-setuptools27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-setuptools27>0 : devel/py-setuptools27
  2. python2.7 : lang/python27

This port is required by:

for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/p/pytimeparse/
  2. https://pypi.python.org/packages/source/p/pytimeparse/

Number of commits found: 2

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
28 Oct 2016 16:00:45
Original commit files touched by this commit  1.1.5
Revision:424861
danfe search for other commits by this committer
- Remove trailing dot in COMMENT and/or reword it accordingly
- Prefer standard option descriptions, and trim one long line
04 Sep 2015 17:18:21
Original commit files touched by this commit  1.1.5
Revision:396120
dvl search for other commits by this committer
Add devel/pytimespare, a small Python module for small Python module to parse
various kinds of time expressions.

Approved by: wg (mentor)

Number of commits found: 2

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
curlOct 23
mariadb100-server*Oct 23
mariadb101-server*Oct 23
mariadb102-server*Oct 23
mariadb55-server*Oct 23
mysql55-server*Oct 23
mysql56-server*Oct 23
mysql57-server*Oct 23
percona55-server*Oct 23
percona56-server*Oct 23
percona57-server*Oct 23
irssiOct 22
chromiumOct 21
arjOct 19
cactiOct 19

26 vulnerabilities affecting 111 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31618
Broken 153
Deprecated 79
Ignore 423
Forbidden 0
Restricted 176
No CDROM 78
Vulnerable 58
Expired 16
Set to expire 72
Interactive 0
new 24 hours 2
new 48 hours3
new 7 days24
new fortnight52
new month267

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.