py37-pendulum-2.0.4.tgz


Advertisement

Description

py37-pendulum - Human-friendly date and time handling

Property Value
Distribution NetBSD 7.1
Repository NetBSD i386
Package filename py37-pendulum-2.0.4.tgz
Package name py37-pendulum
Package version 2.0.4
Package release -
Package architecture i386
Package type tgz
Category python time
Homepage https://github.com/sdispater/pendulum
License mit
Maintainer -
Download size 125.36 KB
Installed size 830.59 KB
Native datetime instances are enough for basic cases but when you face
more complex use-cases they often show limitations and are not so
intuitive to work with. Pendulum provides a cleaner and more easy to use
API while still relying on the standard library. So it's still datetime
but better.
Unlike other datetime libraries for Python, Pendulum is a drop-in
replacement for the standard datetime class (it inherits from it), so,
basically, you can replace all your datetime instances by Pendulum
instances in you code (exceptions exist for libraries that check the type
of the objects by using the type function like sqlite3 or PyMySQL for
instance).
It also removes the notion of naive datetimes: each Pendulum instance is
timezone-aware and by default in UTC for ease of use.
Pendulum also improves the standard timedelta class by providing more
intuitive methods and properties.

Alternatives

Package Version Architecture Repository
py37-pendulum-2.0.4.tgz 2.0.4 amd64 NetBSD
py37-pendulum - - -

Requires

Name Value
py37-dateutil >= 2.6.0
py37-tzdata >= 2018.3
python37 >= 3.7.0

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py37-pendulum-2.0.4.tgz
Source Package py37-pendulum

Install Howto

Install py37-pendulum tgz package:

# pkg_add py37-pendulum

See Also

Package Description
py37-pep8-1.7.1.tgz Python style guide checker (obsolete, use py-codestyle)
py37-pexpect-4.7.0.tgz Pure Python Expect-like module
py37-pgnotify-0.1nb3.tgz Python interface to PostgreSQL LISTEN/NOTIFY
py37-phonenumbers-8.10.12.tgz Library for formatting, storing and validating phone numbers
py37-pickleshare-0.7.5.tgz Tiny shelve-like database with concurrency support
py37-piexif-1.1.2.tgz Exif manipulation with pure python script
py37-pip-19.1.1.tgz Installs Python packages as an easy_install replacement
py37-pkgconfig-1.5.1.tgz Python wrapper for pkg-config
py37-pkginfo-1.5.0.1.tgz Query metadatdata from sdists / bdists / installed packages
py37-pluggy-0.12.0.tgz Plugin and hook calling mechanisms for python
py37-ply-3.8.tgz Lex an yacc parsing tools for Python
py37-polib-1.1.0.tgz Python library to parse and manage gettext catalogs
py37-policyd-spf-2.0.2.tgz Python based policy daemon for Postfix SPF checking
py37-portend-2.3.tgz TCP port monitoring utilities
py37-postgresql-5.1.tgz Python interface to PostgreSQL
Advertisement
Advertisement