etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Bron: egenix-mx-base  ]

Pakket: python-egenix-mxdatetime (3.1.2-5)

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.

Tags: Softwareontwikkeling: Ontwikkelen in Python, Bibliotheken, Implemented in: Python, Role: Shared Library, Purpose: Time and Clock

Andere aan python-egenix-mxdatetime gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.2.5) [amd64]
    GNU C Bibliotheek: Gedeelde bibliotheken
    Ook een virtueel pakket geboden door: libc6-udeb
    dep: libc6 (>= 2.3.6-6~) [i386]
    dep: libc6 (>= 2.4) [armel, mips, mipsel, powerpc, s390]
    dep: libc6 (>= 2.5) [hppa]
    dep: libc6 (>= 2.6) [sparc]
  • dep: libc6.1 (>= 2.2) [ia64]
    GNU C Bibliotheek: Gedeelde bibliotheken
    Ook een virtueel pakket geboden door: libc6.1-udeb
  • dep: python (<< 2.6)
    An interactive high-level object-oriented language (default version)
    dep: python (>= 2.4)
  • dep: python-central (>= 0.6.11)
    registreer en bouw hulpprogramma voor Python pakketten
  • dep: python-egenix-mxtools
    collection of additional builtins for Python

python-egenix-mxdatetime downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 651,2 kB1076 kB [overzicht]
armel 651,1 kB1068 kB [overzicht]
hppa 657,6 kB1084 kB [overzicht]
i386 647,5 kB1052 kB [overzicht]
ia64 674,9 kB1204 kB [overzicht]
mips 650,7 kB1084 kB [overzicht]
mipsel 650,5 kB1084 kB [overzicht]
powerpc 654,6 kB1092 kB [overzicht]
s390 650,9 kB1068 kB [overzicht]
sparc 649,3 kB1076 kB [overzicht]