{ "info": { "author": "Shay Palachy", "author_email": "shaypal5@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "utilitime\n#########\n|PyPI-Status| |PyPI-Versions| |Build-Status| |Codecov| |LICENCE|\n\nA small pure-python package for utility decorators.\n\n.. code-block:: python\n\n from utilitime.datetime import datetime_to_dateint\n from utilitime.dateint import shift_dateint, today_int, dateint_range\n\n start_dateint = datetime_to_dateint(some_dt_obj)\n day_after_tomorrow = shift_dateint(today_int, 2)\n dateints_to_process = dateint_range(start_dateint, day_after_tomorrow)\n\n.. contents::\n\n.. section-numbering::\n\n\nInstallation\n============\n\nInstall ``utilitime`` with:\n\n.. code-block:: bash\n\n pip install utilitime\n\n\nComponents\n==========\n\nThe package is composed of several sub-components, each dedicated to functions dealing with mainly one type of time representation.\n\ndateint\n-------\n\nThe dateint format uses integer objects to decipt a specific calendaric day; e.g. ``20161225``. This components deals with converintg and transforming objects of this type.\n\ndatetime\n--------\n\nUtilitu methods for standard ``dateime.dateime`` objects.\n\ntime\n----\n\nUtilitu methods for standard ``dateime.time`` objects.\n\ntimestamp\n---------\n\nThe timestamp format uses integer objects to decipt a specific moment in time by seconds (or sometimes milliseconds) since the epoc;h e.g. ``1506984924``. This components deals with converintg and transforming objects of this type.\n\nweekday\n-------\n\nUtility methods for ordered lists of weekday names.\n\nTimeInterval\n------------\n\nDefines a type corresponding to a time interval between two specific points in time (and not their difference, like ``datetime.timedelta``).\n\n\nContributing\n============\n\nPackage author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help. Contributions are very welcomed.\n\nInstalling for development\n--------------------------\n\nClone:\n\n.. code-block:: bash\n\n git clone git@github.com:shaypal5/utilitime.git\n\n\nInstall in development mode with test dependencies:\n\n.. code-block:: bash\n\n cd utilitime\n pip install -e \".[test]\"\n\n\nRunning the tests\n-----------------\n\nTo run the tests, use:\n\n.. code-block:: bash\n\n python -m pytest --cov=utilitime\n\n\nAdding documentation\n--------------------\n\nThis project is documented using the `numpy docstring conventions`_, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings (in my personal opinion, of course). When documenting code you add to this project, please follow `these conventions`_.\n\n.. _`numpy docstring conventions`: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt\n.. _`these conventions`: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt\n\n\nCredits\n=======\nCreated by Shay Palachy (shay.palachy@gmail.com).\n\n.. |PyPI-Status| image:: https://img.shields.io/pypi/v/utilitime.svg\n :target: https://pypi.python.org/pypi/utilitime\n\n.. |PyPI-Versions| image:: https://img.shields.io/pypi/pyversions/utilitime.svg\n :target: https://pypi.python.org/pypi/utilitime\n\n.. |Build-Status| image:: https://travis-ci.org/shaypal5/utilitime.svg?branch=master\n :target: https://travis-ci.org/shaypal5/utilitime\n\n.. |LICENCE| image:: https://img.shields.io/pypi/l/utilitime.svg\n :target: https://pypi.python.org/pypi/utilitime\n\n.. |Codecov| image:: https://codecov.io/github/shaypal5/utilitime/coverage.svg?branch=master\n :target: https://codecov.io/github/shaypal5/utilitime?branch=master\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shaypal5/utilitime", "keywords": "python decorator decorators", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "utilitime", "package_url": "https://pypi.org/project/utilitime/", "platform": "any", "project_url": "https://pypi.org/project/utilitime/", "project_urls": { "Homepage": "https://github.com/shaypal5/utilitime" }, "release_url": "https://pypi.org/project/utilitime/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A small pure-python package for time-related utility functions.", "version": "0.0.3" }, "last_serial": 3413261, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3ec36eca1901994160b2ca56f74957f4", "sha256": "e0b39d7d56e6d74505d4aebec12226496bf0f4f168f35328b6b687e0ce5d0068" }, "downloads": -1, "filename": "utilitime-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3ec36eca1901994160b2ca56f74957f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19975, "upload_time": "2017-10-02T23:04:15", "url": "https://files.pythonhosted.org/packages/4c/5d/8e39da0d4bb064053159a296559ed0417afcb23b9db8f18ad6db13ddd41f/utilitime-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d20db4f56bec6400bd37d9b19054de93", "sha256": "fe47681538dfa2328332edf6284e2103daadc8e5bc8cdee97321626183ec5618" }, "downloads": -1, "filename": "utilitime-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d20db4f56bec6400bd37d9b19054de93", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 13973, "upload_time": "2017-12-13T13:41:36", "url": "https://files.pythonhosted.org/packages/98/3c/d91245e9489abadee1b34f9947ec2011b877843ecd5aebf949c8da4f828e/utilitime-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0dfd8050c0302cb296878cc54b540fc", "sha256": "872181bdb6585570c5684b62d325853ffd07f274153b82dcbcd8fe6f44dd2bbe" }, "downloads": -1, "filename": "utilitime-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c0dfd8050c0302cb296878cc54b540fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25584, "upload_time": "2017-12-13T13:41:34", "url": "https://files.pythonhosted.org/packages/46/fd/67823945cb39b330b9aa99d5958ecb511d53af654694bfd90504450f6451/utilitime-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d20db4f56bec6400bd37d9b19054de93", "sha256": "fe47681538dfa2328332edf6284e2103daadc8e5bc8cdee97321626183ec5618" }, "downloads": -1, "filename": "utilitime-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d20db4f56bec6400bd37d9b19054de93", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 13973, "upload_time": "2017-12-13T13:41:36", "url": "https://files.pythonhosted.org/packages/98/3c/d91245e9489abadee1b34f9947ec2011b877843ecd5aebf949c8da4f828e/utilitime-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0dfd8050c0302cb296878cc54b540fc", "sha256": "872181bdb6585570c5684b62d325853ffd07f274153b82dcbcd8fe6f44dd2bbe" }, "downloads": -1, "filename": "utilitime-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c0dfd8050c0302cb296878cc54b540fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25584, "upload_time": "2017-12-13T13:41:34", "url": "https://files.pythonhosted.org/packages/46/fd/67823945cb39b330b9aa99d5958ecb511d53af654694bfd90504450f6451/utilitime-0.0.3.tar.gz" } ] }