TimeConvert


NameTimeConvert JSON
Version 3.0.13 PyPI version JSON
download
home_pagehttps://github.com/xxx-convert/TimeConvert
SummaryTime Convert for Humans™
upload_time2023-01-03 09:08:53
maintainer
docs_urlNone
authorHackathon
requires_python>=3.5
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TimeConvert
TimeConvert is a simple time convert script(library) for Python, built for human beings.

[![Gitter](https://badges.gitter.im/Brightcells/TimeConvert.svg)](https://gitter.im/Brightcells/TimeConvert?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)

# Installation
```shell
pip install TimeConvert
```

# Usage
```python
from TimeConvert import TimeConvert as tc

tc.utc_timestamp()
```

# Comparison
| Function Points | TimeConvert | Other |
| ---- | ---- | ---- |
| TimeStamp | tc.local_timestamp(ms=True) | time.time() |
| ISOFormat | tc.local_isostring() | datetime.datetime.now().isoformat() |


# Variable
```python
# Default Asia/Shanghai & %Y-%m-%d %H:%M:%S
from TimeConvert import TIME_ZONE, TIME_FORMAT

# Deassign TIME_ZONE & TIME_FORMAT
tc.__init__(timezone='Asia/Shanghai', format='%Y-%m-%d %H:%M:%S')
```

# Reference
* isoweek.py - https://github.com/gisle/isoweek
* month.py - https://github.com/kstark/months



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xxx-convert/TimeConvert",
    "name": "TimeConvert",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "",
    "author": "Hackathon",
    "author_email": "kimi.huang@brightcells.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/3e/6daa9585a1fa17c25d854e4c6bd2ae53b2a075c081416e39d80ff29957ca/TimeConvert-3.0.13.tar.gz",
    "platform": null,
    "description": "# TimeConvert\nTimeConvert is a simple time convert script(library) for Python, built for human beings.\n\n[![Gitter](https://badges.gitter.im/Brightcells/TimeConvert.svg)](https://gitter.im/Brightcells/TimeConvert?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)\n\n# Installation\n```shell\npip install TimeConvert\n```\n\n# Usage\n```python\nfrom TimeConvert import TimeConvert as tc\n\ntc.utc_timestamp()\n```\n\n# Comparison\n| Function Points | TimeConvert | Other |\n| ---- | ---- | ---- |\n| TimeStamp | tc.local_timestamp(ms=True) | time.time() |\n| ISOFormat | tc.local_isostring() | datetime.datetime.now().isoformat() |\n\n\n# Variable\n```python\n# Default Asia/Shanghai & %Y-%m-%d %H:%M:%S\nfrom TimeConvert import TIME_ZONE, TIME_FORMAT\n\n# Deassign TIME_ZONE & TIME_FORMAT\ntc.__init__(timezone='Asia/Shanghai', format='%Y-%m-%d %H:%M:%S')\n```\n\n# Reference\n* isoweek.py - https://github.com/gisle/isoweek\n* month.py - https://github.com/kstark/months\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Time Convert for Humans\u2122",
    "version": "3.0.13",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a1b17a8ec28c57b695ce910221a48dbe2b4ac145981f6e97c45d1edc441532d",
                "md5": "a018fed899ea3ecdb7390c74d8113dee",
                "sha256": "9fa7f2eb43c17b8636171c98a8f599d9308b003395322f11cd4cdaba68cdc89a"
            },
            "downloads": -1,
            "filename": "TimeConvert-3.0.13-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a018fed899ea3ecdb7390c74d8113dee",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.5",
            "size": 19534,
            "upload_time": "2023-01-03T09:08:51",
            "upload_time_iso_8601": "2023-01-03T09:08:51.123796Z",
            "url": "https://files.pythonhosted.org/packages/4a/1b/17a8ec28c57b695ce910221a48dbe2b4ac145981f6e97c45d1edc441532d/TimeConvert-3.0.13-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae3e6daa9585a1fa17c25d854e4c6bd2ae53b2a075c081416e39d80ff29957ca",
                "md5": "1a82f07c9e51270287e07191b96dbeb4",
                "sha256": "1f4ca99a7e88afe6e19d2d7578078555288055e362f0d170a1e35a8dadf38f03"
            },
            "downloads": -1,
            "filename": "TimeConvert-3.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "1a82f07c9e51270287e07191b96dbeb4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 18398,
            "upload_time": "2023-01-03T09:08:53",
            "upload_time_iso_8601": "2023-01-03T09:08:53.371461Z",
            "url": "https://files.pythonhosted.org/packages/ae/3e/6daa9585a1fa17c25d854e4c6bd2ae53b2a075c081416e39d80ff29957ca/TimeConvert-3.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-03 09:08:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "xxx-convert",
    "github_project": "TimeConvert",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "timeconvert"
}
        
Elapsed time: 0.25339s