Metadata-Version: 1.0
Name: dtim
Version: 0.0.2.1
Summary: datetime improvement for standard datetime.datetime
Home-page: https://github.com/cuonglm/dtim
Author: Cuong Manh Le
Author-email: cuong.manhle.vn@gmail.com
License: BSD
Description: dtim
        ====
        
        dtim -- Python DateTime IMprovement
        
        .. image:: https://badge.fury.io/py/dtim.svg
            :target: https://badge.fury.io/py/dtim
        .. image:: https://travis-ci.org/cuonglm/dtim.svg?branch=master
            :target: https://travis-ci.org/cuonglm/dtim
        
        Installation
        ============
        
        .. code:: sh
        
            pip install dtim
        
        Why dtim
        ========
        
        Python standard datetime.datetime is awesome, but lack some of common
        methods like computing timestamps, checking naive, aware datetime
        easily.
        
        dtim comes in for simplification.
        
        NOTE
        ====
        
        I wrote `dtim` before I know maya_
        
        You should use it, it's great.
        
        .. _maya: https://github.com/kennethreitz/maya
        
        Usage
        =====
        
        .. code:: python
        
            from dtim import DateTime
        
        
            dt = DateTime.now()
        
            # Number of seconds since epoch
            print dt.epoch()
        
            # Check datetime is naive
            print dt.is_naive()
        
            # Check datetime is aware
            print dt.is_aware()
        
        Output:
        
        .. code:: sh
        
            1465591177.280863
            True
            False
        
        Author
        ======
        
        Cuong Manh Le cuong.manhle.vn@gmail.com
        
        License
        =======
        
        See `LICENSE <https://github.com/cuonglm/dtim/blob/master/LICENSE>`__
        
Keywords: datetime
Platform: UNKNOWN
