{ "info": { "author": "Mohamed Cherkaoui", "author_email": "chermed@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Dtools Package\n==============\n\n**Dtools** package provide a wrapper object around relativedelta to manage date and datetime strings\n\nInstallation :\n==============\n\n\n.. code-block:: shell\n\n pip install dtools\n\nExamples :\n==========\n\n**Example 1:**\n\n.. code-block:: python\n\n >>> from dtools import Date\n >>> Date('2017-06-04').relativedelta(days=2)\n '2017-06-06'\n >>> type(Date('2017-06-04').relativedelta(days=2))\n \n\n\n**Example 2:**\n\n.. code-block:: python\n\n >>> from dtools import Date\n >>> Date('2017-06-04').relativedelta(month=2, day=3)\n '2017-02-03'\n >>> Date('2017-06-04').relativedelta(last_day=True)\n '2017-06-30'\n >>> Date('2017-06-04').relativedelta(months=4, last_day=True)\n '2017-10-31'\n\n**Example 3:**\n\n.. code-block:: python\n\n >>> from dtools import Date\n >>> Date('2017-06-04').relativedelta(hour=12)\n >>> '2017-06-04'\n >>> Date('2017-06-04').relativedelta(hour=12, rtype='datetime')\n >>> '2017-06-04 12:00:00'\n\n**Example 4:**\n\n.. code-block:: python\n\n >>> from dtools import Date\n >>> Date('2017-06-04 04:30:00').relativedelta(days=4, hour=12)\n >>> '2017-06-08 12:30:00'\n >>> Date('2017-06-04 04:30:00').relativedelta(days=4, hour=12, rtype='date')\n >>> '2017-06-08'\n\n\nLicence\n=======\n\nThis software is made available under the LGPL v3 license.\n\nBug Tracker\n===========\n\nPlease, feel free to report bugs or suggestions in the `Bug Tracker `_!\n\nCredits:\n========\n\nMohamed Cherkaoui \n\n\n\nNews\n====\n\n2.0.0\n-----\n\n*Release date: 04-Jun-2017*\n\n* First stable version", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chermed/dtools", "keywords": "dtools", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "dtools", "package_url": "https://pypi.org/project/dtools/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dtools/", "project_urls": { "Homepage": "https://github.com/chermed/dtools" }, "release_url": "https://pypi.org/project/dtools/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Wrapper object around relativedelta to manage date and datetime strings", "version": "2.0.0" }, "last_serial": 2933345, "releases": { "2.0.0": [] }, "urls": [] }