py27-tzlocal - Python tzinfo object for the local timezone

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py27-tzlocal-1.5.1.tgz
Package name py27-tzlocal
Package version 1.5.1
Package release -
Package architecture i386
Package type tgz
Category python time
License mit
Maintainer -
Download size 21.82 KB
Installed size 117.77 KB
This Python module returns a tzinfo object with the local timezone
information under Unix and Win-32. It requires pytz, and returns
pytz tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is
no way to get the local timezone information, unless you know the
zoneinfo name, and under several Linux distros that's hard or
impossible to figure out.
Also, with Windows different timezone system using pytz isn't of
much use unless you separately configure the zoneinfo timezone
With tzlocal you only need to call get_localzone() and you will
get a tzinfo object with the local time zone info. On some Unices
you will still not get to know what the timezone name is, but you
don't need that when you have the tzinfo file. However, if the
timezone name is readily available it will be used.


Package Version Architecture Repository
py27-tzlocal-1.5.1.tgz 1.5.1 amd64 NetBSD
py27-tzlocal - - -


Name Value
py27-pytz -
py27-setuptools >= 0.8
python27 >= 2.7.1nb2


Type URL
Binary Package py27-tzlocal-1.5.1.tgz
Source Package py27-tzlocal

Install Howto

Install py27-tzlocal tgz package:

# pkg_add py27-tzlocal

See Also

Package Description
py27-u2f-0.1.4.tgz U2F host library for interacting with a U2F device
py27-ujson-1.35.tgz Ultra fast JSON encoder and decoder for Python
py27-ukpostcodeparser-1.1.2.tgz UK Postcode parser
py27-uliweb-0.5.tgz Easy python web framework
py27-uncompyle6-3.2.6.tgz Python cross-version byte-code decompiler
py27-unicodecsv-0.14.1.tgz Drop-in replacement for Python's csv module with unicode support
py27-unicorn-1.0.1.tgz Python bindings for unicorn
py27-unit-1.4.1nb3.tgz Unit testing framework for python
py27-unitgui-1.4.1nb3.tgz Unit testing framework for python tk
py27-unittest-mixins-1.6.tgz Helpful mixins for unittest classes
py27-unittest2-1.1.0.tgz New features in unittest backported to Python 2.4+
py27-unittest2pytest-0.3.tgz Tool to rewrite Python unittest into pytest test cases
py27-uritemplate-3.0.0.tgz Python implementation of RFC6570, URI Template
py27-urllib2-kerberos-0.1.6.tgz Kerberos over HTTP Negotiate/SPNEGO support for urllib2
py27-urllib3-1.24.1.tgz HTTP library with thread-safe connection pooling