devel/py-strict-rfc3339 0.7_1 MidnightBSD
Strict, simple, lightweight RFC3339 functions
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- gpl3
- Categories
- devel, python
Description
Simple and lightweight python module to validate, parse and generate RFC3339 time strings. It was initially created as a part of habitat in response to difficulty using other libraries.
It can convert UNIX timestamps to and from RFC3339, either producing strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset. It has minimal dependencies (none beyond those that come with Python) and avoids the error-prone act of dealing with timezones as much as possible.
Besides that, it's designed to be strict and stick closely to RFC3339, with a couple of very small caveats. It's also fully unit tested.
In the other systems
The newest version among them is 0.7, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
| FreeBSD | devel/py-strict-rfc3339 | 0.7_1 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-strict-rfc3339 | 0.7_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}strict-rfc3339
From mports:
cd /usr/mports/devel/py-strict-rfc3339 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}strict-rfc3339>0:devel/py-strict-rfc3339
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| strict-rfc3339-0.7.tar.gz | 17552 | 5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277 |
Master sites 1
- PYPI