py37-tzlocal-1.5.1.tgz


Advertisement

Description

py37-tzlocal - Python tzinfo object for the local timezone

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py37-tzlocal-1.5.1.tgz
Package name py37-tzlocal
Package version 1.5.1
Package release -
Package architecture i386
Package type tgz
Category python time
Homepage https://pypi.python.org/pypi/tzlocal
License mit
Maintainer -
Download size 21.45 KB
Installed size 112.33 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
name.
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.

Alternatives

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

Requires

Name Value
py37-pytz -
py37-setuptools >= 0.8
python37 >= 3.7.0

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py37-tzlocal-1.5.1.tgz
Source Package py37-tzlocal

Install Howto

Install py37-tzlocal tgz package:

# pkg_add py37-tzlocal

See Also

Package Description
py37-u2f-0.1.4.tgz U2F host library for interacting with a U2F device
py37-ujson-1.35.tgz Ultra fast JSON encoder and decoder for Python
py37-ukpostcodeparser-1.1.2.tgz UK Postcode parser
py37-uncertainties-3.1.1.tgz Transparent calculations with uncertainties on the quantities involved
py37-uncompyle6-3.3.4.tgz Python cross-version byte-code decompiler
py37-unicodecsv-0.14.1.tgz Drop-in replacement for Python's csv module with unicode support
py37-unicorn-1.0.1.tgz Python bindings for unicorn
py37-unittest-mixins-1.6.tgz Helpful mixins for unittest classes
py37-unittest2-1.1.0.tgz New features in unittest backported to Python 2.4+
py37-unittest2pytest-0.3.tgz Tool to rewrite Python unittest into pytest test cases
py37-uritemplate-3.0.0.tgz Python implementation of RFC6570, URI Template
py37-urllib3-1.25.3.tgz HTTP library with thread-safe connection pooling
py37-urwid-2.0.1.tgz Curses-based Python user interface library
py37-uvloop-0.12.2.tgz Fast implementation of asyncio event loop on top of libuv
py37-uwsgi-2.0.18nb1.tgz Feature-rich WSGI server
Advertisement
Advertisement