py3-timelib-0.3.0p1
short wrapper around PHP's timelib module
Back to search · Project homepage
Description
timelib is a short wrapper around a bundled copy of PHP's internal
timelib module.
>>> import time, timelib
>>> timelib.strtodatetime('today'.encode('utf-8'))
datetime.datetime(2022, 10, 4, 0, 0)
>>> timelib.strtodatetime('next friday'.encode('utf-8'))
datetime.datetime(2022, 10, 7, 0, 0)
>>> time.ctime(timelib.strtotime("29 feb 2008 -108 years".encode('utf-8')))
'Thu Mar 1 00:00:00 1900'
Package information
- Ports path
- devel/py-timelib
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/cython
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
Used by (4 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.