Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-egenix-mxdatetime
etiona  ]
[ 原始碼: egenix-mx-base  ]

套件: python-egenix-mxdatetime (3.2.9-1)

date and time handling routines for Python

mxDateTime is a Python extension package that provides three new objects, DateTime, DateTimeDelta and RelativeDateTime, which let you store and handle date/time values in a much more natural way than by using ticks (seconds since 1970-01-01 00:00:00 UTC), the representation used by Python's time module).

You can add, subtract and even multiply instances, pickle and copy them and convert the results to strings, COM dates, ticks and some other more esoteric values. In addition, there are several convenient constructors and formatters at hand to greatly simplify dealing with dates and times in real-world applications.

In addition to providing an easy-to-use Python interface the package also exports a comfortable C API interface for other extensions to build upon. This is especially interesting for database applications which often have to deal with date/time values (the mxODBC package is one example of an extension using this interface).

mxDateTime can convert between various different date/time storage formats, including COM dates, TJD, MJD, JDN, tuples and, probably most important, strings.

The date/time parser included in mxDateTime is one of the most flexible such parser available for Python. It is constantly being improved to make parsing date/time strings as easy as possible. At the same time, it offers a fully customizable interface which allows selecting valid date/time formats from a range of predefined categories.

There are also special parser and formatter modules for ARPA and ISO date/time formats, which are handy if you work a lot with Internet standards.

其他與 python-egenix-mxdatetime 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • dep: python (<< 2.8)
    interactive high-level object-oriented language (default version)
    dep: python (>= 2.7)
  • dep: python-egenix-mxtools
    collection of additional builtins for Python

下載 python-egenix-mxdatetime

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
i386 67.6 kB313 kB [文件列表]