Télécharger le paquet source egenix-mx-base :
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.
|
|
|
| Architecture | Version | Taille du paquet | Espace occupé une fois installé | Fichiers |
|---|---|---|---|---|
| alpha | 3.1.3-1 | 657,1 ko | 1100 ko | [liste des fichiers] |
| amd64 | 3.1.3-1 | 652,1 ko | 1076 ko | [liste des fichiers] |
| armel | 3.1.3-1 | 652,3 ko | 1068 ko | [liste des fichiers] |
| avr32 (portage non officiel) | 3.1.3-1 | 653,2 ko | 1044 ko | [liste des fichiers] |
| hppa | 3.1.3-1 | 658,8 ko | 1084 ko | [liste des fichiers] |
| hurd-i386 | 3.1.3-1 | 647,7 ko | 1052 ko | [liste des fichiers] |
| i386 | 3.1.3-1 | 646,7 ko | 1052 ko | [liste des fichiers] |
| ia64 | 3.1.3-1 | 676,0 ko | 1208 ko | [liste des fichiers] |
| kfreebsd-amd64 | 3.1.3-1 | 652,1 ko | 980 ko | [liste des fichiers] |
| kfreebsd-i386 | 3.1.3-1 | 647,7 ko | 962 ko | [liste des fichiers] |
| m68k (portage non officiel) | 3.1.2-1 | 644,9 ko | 1064 ko | [liste des fichiers] |
| mips | 3.1.3-1 | 651,5 ko | 1084 ko | [liste des fichiers] |
| mipsel | 3.1.3-1 | 650,7 ko | 1084 ko | [liste des fichiers] |
| powerpc | 3.1.3-1 | 651,3 ko | 1080 ko | [liste des fichiers] |
| s390 | 3.1.3-1 | 650,5 ko | 1068 ko | [liste des fichiers] |
| sparc | 3.1.3-1 | 650,7 ko | 1076 ko | [liste des fichiers] |