{ "info": { "author": "Cuong Manh Le", "author_email": "cuong.manhle.vn@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "dtim\n====\n\ndtim -- Python DateTime IMprovement\n\n.. image:: https://badge.fury.io/py/dtim.svg\n :target: https://badge.fury.io/py/dtim\n.. image:: https://travis-ci.org/cuonglm/dtim.svg?branch=master\n :target: https://travis-ci.org/cuonglm/dtim\n\nInstallation\n============\n\n.. code:: sh\n\n pip install dtim\n\nWhy dtim\n========\n\nPython standard datetime.datetime is awesome, but lack some of common\nmethods like computing timestamps, checking naive, aware datetime\neasily.\n\ndtim comes in for simplification.\n\nNOTE\n====\n\nI wrote `dtim` before I know maya_\n\nYou should use it, it's great.\n\n.. _maya: https://github.com/kennethreitz/maya\n\nUsage\n=====\n\n.. code:: python\n\n from dtim import DateTime\n\n\n dt = DateTime.now()\n\n # Number of seconds since epoch\n print dt.epoch()\n\n # Check datetime is naive\n print dt.is_naive()\n\n # Check datetime is aware\n print dt.is_aware()\n\nOutput:\n\n.. code:: sh\n\n 1465591177.280863\n True\n False\n\nAuthor\n======\n\nCuong Manh Le cuong.manhle.vn@gmail.com\n\nLicense\n=======\n\nSee `LICENSE `__", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cuonglm/dtim", "keywords": "datetime", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dtim", "package_url": "https://pypi.org/project/dtim/", "platform": "", "project_url": "https://pypi.org/project/dtim/", "project_urls": { "Homepage": "https://github.com/cuonglm/dtim" }, "release_url": "https://pypi.org/project/dtim/0.0.2.1/", "requires_dist": null, "requires_python": "", "summary": "datetime improvement for standard datetime.datetime", "version": "0.0.2.1" }, "last_serial": 5081904, "releases": { "0.0.2": [], "0.0.2.0": [ { "comment_text": "", "digests": { "md5": "01bfd08c805e847fc2188aa05c4d5fad", "sha256": "3777b8faf8ef0b5868f70e12c0e5b0e4d8c968f89c2ddb7d3ab3cdafbc0e489d" }, "downloads": -1, "filename": "dtim-0.0.2.0.tar.gz", "has_sig": false, "md5_digest": "01bfd08c805e847fc2188aa05c4d5fad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3038, "upload_time": "2016-06-11T04:34:09", "url": "https://files.pythonhosted.org/packages/2b/24/d8048d17f02b1c28c8c29311326ed2d74c4b4fc140715be3bc5ec0926b54/dtim-0.0.2.0.tar.gz" } ], "0.0.2.1": [ { "comment_text": "", "digests": { "md5": "0936697fcc804c6968c4826c45bed1a8", "sha256": "ccf24a6421cb3553c6c45a78c0a15502723404dfda5bc5a13841ca33c90e848a" }, "downloads": -1, "filename": "dtim-0.0.2.1.tar.gz", "has_sig": false, "md5_digest": "0936697fcc804c6968c4826c45bed1a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3068, "upload_time": "2019-04-03T02:50:27", "url": "https://files.pythonhosted.org/packages/db/3a/43ec72c3fce071e7e4870e75e4bb5aa946fd034dfeea6913dc3f641dde54/dtim-0.0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0936697fcc804c6968c4826c45bed1a8", "sha256": "ccf24a6421cb3553c6c45a78c0a15502723404dfda5bc5a13841ca33c90e848a" }, "downloads": -1, "filename": "dtim-0.0.2.1.tar.gz", "has_sig": false, "md5_digest": "0936697fcc804c6968c4826c45bed1a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3068, "upload_time": "2019-04-03T02:50:27", "url": "https://files.pythonhosted.org/packages/db/3a/43ec72c3fce071e7e4870e75e4bb5aa946fd034dfeea6913dc3f641dde54/dtim-0.0.2.1.tar.gz" } ] }