julian


Namejulian JSON
Version 0.14 PyPI version JSON
download
home_pagehttps://github.com/dannyzed/julian
SummarySimple library for converting between Julian calendar dates and datetime objects
upload_time2016-03-26 19:02:06
maintainerNone
docs_urlNone
authorDaniel Zawada
requires_pythonNone
licenseUNKNOWN
keywords julian calendar datetime
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            |Build Status|

julian
======

julian is a simple Python library for converting between Julian dates
and Python datetime objects.

Examples
--------

.. code:: python

    import julian
    import datetime

    mjd = 54372.78
    dt = julian.from_jd(mjd, fmt='mjd')
    print(dt)

::

    2007-09-29 18:43:11.999982

.. code:: python

    jd = julian.to_jd(dt + datetime.timedelta(hours=12), fmt='jd')
    print(jd)

::

    2454373.78

Installation
------------

julian is tested on python versions >= 3.2

::

    pip install julian

.. |Build Status| image:: https://travis-ci.org/dannyzed/julian.svg?branch=master
   :target: https://travis-ci.org/dannyzed/julian
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dannyzed/julian",
    "name": "julian",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "julian,calendar,datetime",
    "author": "Daniel Zawada",
    "author_email": "zawadadaniel@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/40/3454dc78fea47fb634eb82f28473bab7ca376f4c68cd6e889edf67d10b51/julian-0.14.zip",
    "platform": "UNKNOWN",
    "description": "|Build Status|\r\n\r\njulian\r\n======\r\n\r\njulian is a simple Python library for converting between Julian dates\r\nand Python datetime objects.\r\n\r\nExamples\r\n--------\r\n\r\n.. code:: python\r\n\r\n    import julian\r\n    import datetime\r\n\r\n    mjd = 54372.78\r\n    dt = julian.from_jd(mjd, fmt='mjd')\r\n    print(dt)\r\n\r\n::\r\n\r\n    2007-09-29 18:43:11.999982\r\n\r\n.. code:: python\r\n\r\n    jd = julian.to_jd(dt + datetime.timedelta(hours=12), fmt='jd')\r\n    print(jd)\r\n\r\n::\r\n\r\n    2454373.78\r\n\r\nInstallation\r\n------------\r\n\r\njulian is tested on python versions >= 3.2\r\n\r\n::\r\n\r\n    pip install julian\r\n\r\n.. |Build Status| image:: https://travis-ci.org/dannyzed/julian.svg?branch=master\r\n   :target: https://travis-ci.org/dannyzed/julian",
    "bugtrack_url": null,
    "license": "UNKNOWN",
    "summary": "Simple library for converting between Julian calendar dates and datetime objects",
    "version": "0.14",
    "project_urls": {
        "Download": "https://github.com/dannyzed/julian/tarball/0.14",
        "Homepage": "https://github.com/dannyzed/julian"
    },
    "split_keywords": [
        "julian",
        "calendar",
        "datetime"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4403454dc78fea47fb634eb82f28473bab7ca376f4c68cd6e889edf67d10b51",
                "md5": "1dc2e5f3ff2ffc9c727ca48ff0a21afc",
                "sha256": "deee4090faad584c1875d97e72808198f802a9d2dc38a70fe2a8f790ea5dbd0a"
            },
            "downloads": -1,
            "filename": "julian-0.14.zip",
            "has_sig": false,
            "md5_digest": "1dc2e5f3ff2ffc9c727ca48ff0a21afc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2808,
            "upload_time": "2016-03-26T19:02:06",
            "upload_time_iso_8601": "2016-03-26T19:02:06.470802Z",
            "url": "https://files.pythonhosted.org/packages/e4/40/3454dc78fea47fb634eb82f28473bab7ca376f4c68cd6e889edf67d10b51/julian-0.14.zip",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-03-26 19:02:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dannyzed",
    "github_project": "julian",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "julian"
}
        
Elapsed time: 0.27488s