durtodateandtime-0.1
توضیحات
Convert duration to an understandable human representation.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | durtodateandtime-0.1 |
| نام | durtodateandtime |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Carlos A. Planchón |
| ایمیل نویسنده | bubbledoloresuruguay2@gmail.com |
| آدرس صفحه اصلی | https://github.com/carlosplanchon/durtodateandtime |
| آدرس اینترنتی | https://pypi.org/project/durtodateandtime/ |
| مجوز | GPL3 |
# durtodateandtime
*Python3 Module to convert from duration to date and time.*
## Installation
### Install with pip
```
pip3 install -U durtodateandtime
```
## Usage
```
In [1]: import durtodateandtime
In [2]: durtodateandtime.duration_to_date_and_time(86401)
Out[2]: '1 day, 00:00:01'
In [3]: durtodateandtime.duration_to_int_days(86401)
Out[3]: 1
In [4]: durtodateandtime.duration_to_time(86401)
Out[4]: '00:00:01'
```
نحوه نصب
نصب پکیج whl durtodateandtime-0.1:
pip install durtodateandtime-0.1.whl
نصب پکیج tar.gz durtodateandtime-0.1:
pip install durtodateandtime-0.1.tar.gz