Metadata-Version: 2.4
Name: smarttime
Version: 1.0.0
Summary: The Ultimate Multilingual Time Engine for Python
Home-page: https://github.com/samafzali11/smarttime
Author: Sam Afzali
Author-email: samafzalicode@gmail.com
License: CC BY-NC-ND 4.0
Project-URL: Documentation, https://github.com/samafzali11/smarttime
Project-URL: Source, https://github.com/samafzali/smarttime
Keywords: time parsing conversion formatting iso8601 durations persian english
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pytz>=2020.0
Requires-Dist: pandas>=1.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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
