smarttime


Namesmarttime JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/samafzali11/smarttime
SummaryThe Ultimate Multilingual Time Engine for Python
upload_time2025-07-09 19:41:40
maintainerNone
docs_urlNone
authorSam Afzali
requires_python>=3.7
licenseCC BY-NC-ND 4.0
keywords time parsing conversion formatting iso8601 durations persian english
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Smart Time ⏳
**The Most Advanced Multilingual Time Engine for Python**

Smart Time is a robust, multilingual, and high-level Python library for converting, parsing, formatting, and analyzing time durations — built for modern applications, automation systems, and high-performance time manipulation.

> 🚀 Built with love and precision by [Sam Afzali](https://github.com/samafzali11)

---

## 💡 Why Smart Time?

While most time libraries are limited to seconds and ISO strings, **Smart Time** offers a unique and powerful system:

- 🌍 Supports both **English** and **Persian** units (e.g., `3 ساعت و 15 دقیقه`, `2h 5m`)
- 📐 Converts between multiple time units with high precision
- 📊 Parses text durations, explains them, and creates readable formats
- ⏳ Fully supports ISO 8601 durations like `P1DT2H3M4S`
- ⏱ Built-in benchmarking `Timer` class
- 🕒 Business day calculations
- ✅ No external dependencies required (optional support for `pandas` and `pytz`)

---

## 📦 Installation

```bash
pip install smarttime

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/samafzali11/smarttime",
    "name": "smarttime",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "time parsing conversion formatting iso8601 durations persian english",
    "author": "Sam Afzali",
    "author_email": "samafzalicode@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/85/b9/3e2607c586715ef7fc9866bfc9574fcb39ff588b2177f89b1f086831d451/smarttime-1.0.0.tar.gz",
    "platform": null,
    "description": "# Smart Time \u23f3\r\n**The Most Advanced Multilingual Time Engine for Python**\r\n\r\nSmart Time is a robust, multilingual, and high-level Python library for converting, parsing, formatting, and analyzing time durations \u2014 built for modern applications, automation systems, and high-performance time manipulation.\r\n\r\n> \ud83d\ude80 Built with love and precision by [Sam Afzali](https://github.com/samafzali11)\r\n\r\n---\r\n\r\n## \ud83d\udca1 Why Smart Time?\r\n\r\nWhile most time libraries are limited to seconds and ISO strings, **Smart Time** offers a unique and powerful system:\r\n\r\n- \ud83c\udf0d Supports both **English** and **Persian** units (e.g., `3 \u0633\u0627\u0639\u062a \u0648 15 \u062f\u0642\u06cc\u0642\u0647`, `2h 5m`)\r\n- \ud83d\udcd0 Converts between multiple time units with high precision\r\n- \ud83d\udcca Parses text durations, explains them, and creates readable formats\r\n- \u23f3 Fully supports ISO 8601 durations like `P1DT2H3M4S`\r\n- \u23f1 Built-in benchmarking `Timer` class\r\n- \ud83d\udd52 Business day calculations\r\n- \u2705 No external dependencies required (optional support for `pandas` and `pytz`)\r\n\r\n---\r\n\r\n## \ud83d\udce6 Installation\r\n\r\n```bash\r\npip install smarttime\r\n",
    "bugtrack_url": null,
    "license": "CC BY-NC-ND 4.0",
    "summary": "The Ultimate Multilingual Time Engine for Python",
    "version": "1.0.0",
    "project_urls": {
        "Documentation": "https://github.com/samafzali11/smarttime",
        "Homepage": "https://github.com/samafzali11/smarttime",
        "Source": "https://github.com/samafzali/smarttime"
    },
    "split_keywords": [
        "time",
        "parsing",
        "conversion",
        "formatting",
        "iso8601",
        "durations",
        "persian",
        "english"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9352ebd22f9b0b6e30df03eecbbf0d5a1a751724f0042efa1527c788d69b4d4c",
                "md5": "b5db8014be892ed3b2793455c7bb1d8d",
                "sha256": "6f1244033c71ca2cdd236e5cc1bd7c70957e2a32471826e241514db33eab963f"
            },
            "downloads": -1,
            "filename": "smarttime-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b5db8014be892ed3b2793455c7bb1d8d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6252,
            "upload_time": "2025-07-09T19:41:37",
            "upload_time_iso_8601": "2025-07-09T19:41:37.915397Z",
            "url": "https://files.pythonhosted.org/packages/93/52/ebd22f9b0b6e30df03eecbbf0d5a1a751724f0042efa1527c788d69b4d4c/smarttime-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "85b93e2607c586715ef7fc9866bfc9574fcb39ff588b2177f89b1f086831d451",
                "md5": "4d256e95b79f305077e0bf00209107b7",
                "sha256": "a8cb128e6183b1a5ffe5c172c5f8d2ddfa9dd98bc198534fc38d18480910f17c"
            },
            "downloads": -1,
            "filename": "smarttime-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4d256e95b79f305077e0bf00209107b7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5635,
            "upload_time": "2025-07-09T19:41:40",
            "upload_time_iso_8601": "2025-07-09T19:41:40.924705Z",
            "url": "https://files.pythonhosted.org/packages/85/b9/3e2607c586715ef7fc9866bfc9574fcb39ff588b2177f89b1f086831d451/smarttime-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-09 19:41:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "samafzali11",
    "github_project": "smarttime",
    "github_not_found": true,
    "lcname": "smarttime"
}
        
Elapsed time: 0.82005s