Delorean


NameDelorean JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/myusuf3/delorean
Summarylibrary for manipulating datetimes with ease and clarity
upload_time2018-02-07 21:11:54
maintainer
docs_urlNone
authorMahdi Yusuf
requires_python
licenseMIT license
keywords
VCS
bugtrack_url
requirements babel humanize python-dateutil pytz six tzlocal
Travis-CI
coveralls test coverage No coveralls.
            

.. image:: http://delorean.readthedocs.org/en/latest/_static/delorean.png

Delorean: Time Travel Made Easy
===============================

`Delorean` is a library for clearing up the inconvenient truths that arise dealing with datetimes in Python. Understanding that timing is a delicate enough of a problem `delorean` hopes to provide a cleaner less troublesome solution to shifting, manipulating, and generating `datetimes`.

Delorean stands on the shoulders of giants `pytz <http://pytz.sourceforge.net/>`_ and `dateutil <http://labix.org/python-dateutil>`_

`Delorean` will provide natural language improvements for manipulating time, as well as datetime abstractions for ease of use. The overall goal is to improve datetime manipulations, with a little bit of software and philosophy.

Pretty much make you a badass time traveller.

Getting Started
^^^^^^^^^^^^^^^

Here is the world without a flux capacitor at your side:

.. code-block:: python

    from datetime import datetime
    import pytz

    est = pytz.timezone('US/Eastern')
    d = datetime.now(pytz.utc)
    d = est.normalize(d.astimezone(est))
    return d

Now lets warm up the `delorean`:

.. code-block:: python

    from delorean import Delorean

    d = Delorean()
    d = d.shift('US/Eastern')
    return d

Look at you looking all fly. This was just a test drive: check out out what else
`delorean` can help with in the `documentation <http://delorean.readthedocs.org/en/latest/>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/myusuf3/delorean",
    "name": "Delorean",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mahdi Yusuf",
    "author_email": "yusuf.mahdi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/76/40/5e8d179a0311236b2e83aa1c80b0b363700035ad6639858c75ef5be975e6/Delorean-1.0.0.tar.gz",
    "platform": "",
    "description": "\n\n.. image:: http://delorean.readthedocs.org/en/latest/_static/delorean.png\n\nDelorean: Time Travel Made Easy\n===============================\n\n`Delorean` is a library for clearing up the inconvenient truths that arise dealing with datetimes in Python. Understanding that timing is a delicate enough of a problem `delorean` hopes to provide a cleaner less troublesome solution to shifting, manipulating, and generating `datetimes`.\n\nDelorean stands on the shoulders of giants `pytz <http://pytz.sourceforge.net/>`_ and `dateutil <http://labix.org/python-dateutil>`_\n\n`Delorean` will provide natural language improvements for manipulating time, as well as datetime abstractions for ease of use. The overall goal is to improve datetime manipulations, with a little bit of software and philosophy.\n\nPretty much make you a badass time traveller.\n\nGetting Started\n^^^^^^^^^^^^^^^\n\nHere is the world without a flux capacitor at your side:\n\n.. code-block:: python\n\n    from datetime import datetime\n    import pytz\n\n    est = pytz.timezone('US/Eastern')\n    d = datetime.now(pytz.utc)\n    d = est.normalize(d.astimezone(est))\n    return d\n\nNow lets warm up the `delorean`:\n\n.. code-block:: python\n\n    from delorean import Delorean\n\n    d = Delorean()\n    d = d.shift('US/Eastern')\n    return d\n\nLook at you looking all fly. This was just a test drive: check out out what else\n`delorean` can help with in the `documentation <http://delorean.readthedocs.org/en/latest/>`_.\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "library for manipulating datetimes with ease and clarity",
    "version": "1.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "58243e6c963a446e27d54da107530fd0",
                "sha256": "fe67786e12338523848bec5588a658c4d425e12d53eb51cfef870bec8f576134"
            },
            "downloads": -1,
            "filename": "Delorean-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "58243e6c963a446e27d54da107530fd0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 18988,
            "upload_time": "2018-02-07T21:11:54",
            "upload_time_iso_8601": "2018-02-07T21:11:54.105633Z",
            "url": "https://files.pythonhosted.org/packages/76/40/5e8d179a0311236b2e83aa1c80b0b363700035ad6639858c75ef5be975e6/Delorean-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-02-07 21:11:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "myusuf3",
    "github_project": "delorean",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "babel",
            "specs": [
                [
                    "==",
                    "2.10.3"
                ]
            ]
        },
        {
            "name": "humanize",
            "specs": [
                [
                    "==",
                    "4.2.2"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "==",
                    "2.8.2"
                ]
            ]
        },
        {
            "name": "pytz",
            "specs": [
                [
                    "==",
                    "2022.1"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.11.0"
                ]
            ]
        },
        {
            "name": "tzlocal",
            "specs": [
                [
                    "==",
                    "4.2"
                ]
            ]
        }
    ],
    "lcname": "delorean"
}
        
Elapsed time: 0.04587s