utctime


Nameutctime JSON
Version 0.1.2a0 PyPI version JSON
download
home_page
SummaryA simple and type-safe way of working with UTC datetimes and ISO 8601 strings.
upload_time2023-05-16 12:49:19
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2023 Daniel Mayo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords utc datetime iso iso8601 time utility util
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            UTC Time v0.1.2-alpha
---------------------

This is a tiny utility to simplify the everyday pain of working with UTC datetimes
and ISO 8601 strings in Python.

Motivation
----------

1. **Easy**: create UTC datetimes without thinking about it.

2. **Type-safe**: don't accidentally mix and match UTC with non-UTC or naive datetimes.

3. **ISO 8601**: convert to and from ISO 8601 datetimes with ease (and use `Z` as the timezone instead of `+00:00`).

4. **Safe Format**: don't accidentally convert to anything else.

5. **Flexible Parsing**: parses various ISO 8601 formats - with/without microseconds and/or with `Z` or `+HH:MM` timezones.

6. **No Dependencies**. we don't need to pull in `pytz` just for UTC.

7. **Interoperate**: with regular `datetime` objects where necessary.

8. **Familiar**: similar names and conventions to working with `datetime`.


Checkout the docs link below for more information.

:Install: `PyPi <https://pypi.org/project/utctime>`_
:Docs:    `Read The Docs <https://utctime.readthedocs.io>`_
:License: `MIT <https://github.com/dmayo3/utctime/blob/main/LICENSE>`_
:Source:  `GitHub <https://github.com/dmayo3/utctime>`_
:Issues:  `GitHub Issues <https://github.com/dmayo3/utctime/issues>`_

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "utctime",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "utc,datetime,iso,iso8601,time,utility,util",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/ce/1c/94ae3d16f089dc82de27fc8aba961c766bb013e99e763d4e412668720f45/utctime-0.1.2a0.tar.gz",
    "platform": null,
    "description": "UTC Time v0.1.2-alpha\n---------------------\n\nThis is a tiny utility to simplify the everyday pain of working with UTC datetimes\nand ISO 8601 strings in Python.\n\nMotivation\n----------\n\n1. **Easy**: create UTC datetimes without thinking about it.\n\n2. **Type-safe**: don't accidentally mix and match UTC with non-UTC or naive datetimes.\n\n3. **ISO 8601**: convert to and from ISO 8601 datetimes with ease (and use `Z` as the timezone instead of `+00:00`).\n\n4. **Safe Format**: don't accidentally convert to anything else.\n\n5. **Flexible Parsing**: parses various ISO 8601 formats - with/without microseconds and/or with `Z` or `+HH:MM` timezones.\n\n6. **No Dependencies**. we don't need to pull in `pytz` just for UTC.\n\n7. **Interoperate**: with regular `datetime` objects where necessary.\n\n8. **Familiar**: similar names and conventions to working with `datetime`.\n\n\nCheckout the docs link below for more information.\n\n:Install: `PyPi <https://pypi.org/project/utctime>`_\n:Docs:    `Read The Docs <https://utctime.readthedocs.io>`_\n:License: `MIT <https://github.com/dmayo3/utctime/blob/main/LICENSE>`_\n:Source:  `GitHub <https://github.com/dmayo3/utctime>`_\n:Issues:  `GitHub Issues <https://github.com/dmayo3/utctime/issues>`_\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Daniel Mayo  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A simple and type-safe way of working with UTC datetimes and ISO 8601 strings.",
    "version": "0.1.2a0",
    "project_urls": {
        "Documentation": "https://utctime.readthedocs.io",
        "Source": "https://github.com/dmayo3/utctime"
    },
    "split_keywords": [
        "utc",
        "datetime",
        "iso",
        "iso8601",
        "time",
        "utility",
        "util"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97c1548643f3de90ab06c9748d3dc0a75ba49c4c1b324df770a64cf658600485",
                "md5": "9b523f7ac7a8e93184d81d0ca5f58f8a",
                "sha256": "9dc0c735f40eff821d72f0439a3b64448f191f921f0fbfbe79ff8e4debe7e797"
            },
            "downloads": -1,
            "filename": "utctime-0.1.2a0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9b523f7ac7a8e93184d81d0ca5f58f8a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5900,
            "upload_time": "2023-05-16T12:49:17",
            "upload_time_iso_8601": "2023-05-16T12:49:17.688675Z",
            "url": "https://files.pythonhosted.org/packages/97/c1/548643f3de90ab06c9748d3dc0a75ba49c4c1b324df770a64cf658600485/utctime-0.1.2a0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce1c94ae3d16f089dc82de27fc8aba961c766bb013e99e763d4e412668720f45",
                "md5": "56bef57ad756b336b622b69a239f20da",
                "sha256": "66cbf6a1be5b1d91ddb7d146e636daec0d75d519aa78324e088990efa66e1fea"
            },
            "downloads": -1,
            "filename": "utctime-0.1.2a0.tar.gz",
            "has_sig": false,
            "md5_digest": "56bef57ad756b336b622b69a239f20da",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7357,
            "upload_time": "2023-05-16T12:49:19",
            "upload_time_iso_8601": "2023-05-16T12:49:19.994313Z",
            "url": "https://files.pythonhosted.org/packages/ce/1c/94ae3d16f089dc82de27fc8aba961c766bb013e99e763d4e412668720f45/utctime-0.1.2a0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-16 12:49:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dmayo3",
    "github_project": "utctime",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "utctime"
}
        
Elapsed time: 0.06545s