etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ 源代码: egenix-mx-base  ]

软件包: python-egenix-mxdatetime (3.1.0-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 1.1.1970 0: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.

标签: Software Development: Python Development, 链接库, Implemented in: Python, Role: Shared Library, Purpose: Time and Clock

其它与 python-egenix-mxdatetime 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.7-1) [除 alpha, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6.1-udeb
  • dep: python (<< 2.6)
    一种交互式、面向对象的高级语言 (缺省版本)
    dep: python (>= 2.4)
  • dep: python-central (>= 0.6.7)
    Python 软件包的注册和编译工具
  • dep: python-egenix-mxtools
    collection of additional builtins for Python

下载 python-egenix-mxdatetime

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
alpha 655.7 kB1100 kB [文件列表]
amd64 651.1 kB1076 kB [文件列表]
arm 646.7 kB892 kB [文件列表]
armel 650.7 kB1068 kB [文件列表]
hppa 657.0 kB1084 kB [文件列表]
i386 647.7 kB960 kB [文件列表]
ia64 674.7 kB1204 kB [文件列表]
mips 650.6 kB1084 kB [文件列表]
mipsel 650.4 kB1084 kB [文件列表]
powerpc 654.5 kB1088 kB [文件列表]
s390 650.8 kB1068 kB [文件列表]
sparc 649.2 kB1076 kB [文件列表]