Skip to content

vampolo/datetimeng

Repository files navigation

Datetimeng

The aim of this project is to enhance the datetime module to add nanosecond granularity.

The project is in beta quality.

The goal of this library is to:

  • have a datetime like module with nanosecond support
  • datetime retrocompatibility
  • be fast

The library has basically the same api of the datetime module but class names have been sanitized to camel cased so you have:

  • datetimeng.Date
  • datetimeng.DateTime
  • datetimeng.Time
  • datetimeng.TimeDelta
  • datetimeng.TzInfo

The basic interface of datetime module has been keep.

The base code comes from cpython commit 63184:afdb53323065 which is a python implementation of the datetime module.

The reasons that lead this work are described in issue #15443

Other useful link is at issue #5516

Credits

About

Python datetime module that supports nanoseconds

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages